Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001035, allocations: 174.6 kB / 16.1 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.3 MB / 240.1 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009841/0.0009841, allocations: 88.67 kB / 291.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5517/0.5517, allocations: 78.62 MB / 421 MB, free: 9.125 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004119, allocations: 8 kB / 0.4894 GB, free: 9.328 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3643, allocations: 69.35 MB / 0.5571 GB, free: 18.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.004982/0.3693, allocations: 6.243 MB / 0.5632 GB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003556/0.3729, allocations: 1.889 MB / 0.5651 GB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007368/0.3737, allocations: 16 kB / 0.5651 GB, free: 10.65 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004693/0.3741, allocations: 170.9 kB / 0.5653 GB, free: 10.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.3756, allocations: 0.6223 MB / 0.5659 GB, free: 9.859 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.3767, allocations: 0.5674 MB / 0.5664 GB, free: 9.301 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009749/0.3777, allocations: 1.32 MB / 0.5677 GB, free: 7.977 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003532/0.378, allocations: 297.2 kB / 0.568 GB, free: 7.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004579/0.3785, allocations: 0.517 MB / 0.5685 GB, free: 7.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004787/0.379, allocations: 0.6529 MB / 0.5691 GB, free: 6.504 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.784e-05/0.3791, allocations: 52 kB / 0.5692 GB, free: 6.453 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003673/0.3795, allocations: 183.9 kB / 0.5694 GB, free: 6.273 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.3796, allocations: 222.8 kB / 0.5696 GB, free: 6.055 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003337/0.38, allocations: 0.58 MB / 0.5701 GB, free: 5.465 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007012/0.3807, allocations: 1.093 MB / 0.5712 GB, free: 4.371 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3807, allocations: 0 / 0.5712 GB, free: 4.371 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3807, allocations: 4 kB / 0.5712 GB, free: 4.367 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.3807, allocations: 0 / 0.5712 GB, free: 4.367 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.006157/0.3869, allocations: 2.369 MB / 0.5735 GB, free: 1.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3869, allocations: 8.031 kB / 0.5735 GB, free: 1.938 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004468/0.3914, allocations: 0.7827 MB / 0.5743 GB, free: 1.152 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008954/0.3923, allocations: 0.7644 MB / 0.575 GB, free: 340 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002182/0.3925, allocations: 268.2 kB / 0.5753 GB, free: 32 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.3927, allocations: 80.05 kB / 0.5754 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002288/0.395, allocations: 1.167 MB / 0.5765 GB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.395, allocations: 3.938 kB / 0.5765 GB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.883e-05/0.3951, allocations: 32 kB / 0.5765 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.3952, allocations: 20 kB / 0.5766 GB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002608/0.3978, allocations: 1.234 MB / 0.5778 GB, free: 13.49 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005616/0.4034, allocations: 3.518 MB / 0.5812 GB, free: 9.816 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/0.4057, allocations: 1.498 MB / 0.5827 GB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001683/0.4074, allocations: 0.8711 MB / 0.5835 GB, free: 7.328 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.4075, allocations: 16.98 kB / 0.5835 GB, free: 7.309 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.4075, allocations: 43.56 kB / 0.5836 GB, free: 7.258 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 3.055e-06/0.4075, allocations: 0 / 0.5836 GB, free: 7.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=96): time 0.02683/0.4344, allocations: 8.371 MB / 0.5917 GB, free: 14.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.4345, allocations: 64.41 kB / 0.5918 GB, free: 14.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.4358, allocations: 0.8799 MB / 0.5927 GB, free: 13.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001727/0.436, allocations: 45.7 kB / 0.5927 GB, free: 13.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003859/0.4364, allocations: 0.4888 MB / 0.5932 GB, free: 13.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003563/0.4367, allocations: 343.1 kB / 0.5935 GB, free: 12.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.4369, allocations: 101.6 kB / 0.5936 GB, free: 12.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.437, allocations: 349.9 kB / 0.5939 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/0.4388, allocations: 0.8068 MB / 0.5947 GB, free: 11.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001821/0.4406, allocations: 0.94 MB / 0.5957 GB, free: 10.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01835/0.459, allocations: 5.337 MB / 0.6009 GB, free: 5.391 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.459, allocations: 0 / 0.6009 GB, free: 5.391 MB / 410.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01443/0.4735, allocations: 5.203 MB / 0.6059 GB, free: 176 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/0.4736, allocations: 12 kB / 0.606 GB, free: 164 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.4736, allocations: 3.984 kB / 0.606 GB, free: 160 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006421/0.48, allocations: 2.163 MB / 0.6081 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.4812, allocations: 223.7 kB / 0.6083 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02033/0.5015, allocations: 9.349 MB / 0.6174 GB, free: 4.277 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.503, allocations: 222.9 kB / 0.6176 GB, free: 4.059 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.59e-05/0.5031, allocations: 39.98 kB / 0.6177 GB, free: 4.02 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004715/0.5036, allocations: 241.6 kB / 0.6179 GB, free: 3.773 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.5038, allocations: 126.4 kB / 0.618 GB, free: 3.648 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/0.5173, allocations: 4.947 MB / 0.6229 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.5174, allocations: 8 kB / 0.6229 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5174, allocations: 3.938 kB / 0.6229 GB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.5174, allocations: 3.984 kB / 0.6229 GB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01554/0.5329, allocations: 6.563 MB / 0.6293 GB, free: 7.965 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.533, allocations: 0 / 0.6293 GB, free: 7.965 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007025/0.5337, allocations: 143.8 kB / 0.6294 GB, free: 7.824 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006063/0.5398, allocations: 2.054 MB / 0.6314 GB, free: 5.766 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.5399, allocations: 24 kB / 0.6314 GB, free: 5.742 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0175/0.5574, allocations: 8.23 MB / 0.6395 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.5574, allocations: 3.938 kB / 0.6395 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01608/0.5735, allocations: 5.993 MB / 0.6453 GB, free: 7.352 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004769/0.574, allocations: 199.4 kB / 0.6455 GB, free: 7.137 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.5742, allocations: 16 kB / 0.6455 GB, free: 7.121 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009891/0.5752, allocations: 159.9 kB / 0.6457 GB, free: 6.965 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007477/0.5759, allocations: 208.6 kB / 0.6459 GB, free: 6.758 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.129e-05/0.576, allocations: 32 kB / 0.6459 GB, free: 6.727 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007914/0.5768, allocations: 0.5887 MB / 0.6465 GB, free: 6.129 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.443e-06/0.5768, allocations: 0 / 0.6465 GB, free: 6.129 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001308/0.5781, allocations: 439.4 kB / 0.6469 GB, free: 5.699 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002835/0.5784, allocations: 127.1 kB / 0.647 GB, free: 5.562 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007015/0.5855, allocations: 2.769 MB / 0.6497 GB, free: 2.785 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.5855, allocations: 0 / 0.6497 GB, free: 2.785 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004789/0.5903, allocations: 1.795 MB / 0.6515 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008178/0.5911, allocations: 92.3 kB / 0.6516 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003982/0.5951, allocations: 2.435 MB / 0.654 GB, free: 14.41 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008625/0.596, allocations: 1.081 MB / 0.655 GB, free: 13.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003446/0.5964, allocations: 75.41 kB / 0.6551 GB, free: 13.23 MB / 474.7 MB Notification: Performance of SimCode: time 1.593e-06/0.5964, allocations: 3.938 kB / 0.6551 GB, free: 13.23 MB / 474.7 MB Notification: Performance of Templates: time 0.02804/0.6244, allocations: 19.77 MB / 0.6744 GB, free: 9.445 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)