Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004847/0.004847, allocations: 103.7 kB / 15.74 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 239.4 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 188.5 kB / 289.7 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4851/0.4851, allocations: 78.53 MB / 418.4 MB, free: 3.102 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 80.09 kB / 0.5536 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3472, allocations: 68.18 MB / 0.6202 GB, free: 9.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005744/0.353, allocations: 6.372 MB / 0.6264 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004054/0.3571, allocations: 1.853 MB / 0.6282 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.3582, allocations: 8 kB / 0.6282 GB, free: 2.105 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008235/0.359, allocations: 225.9 kB / 0.6285 GB, free: 1.883 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002756/0.3618, allocations: 0.715 MB / 0.6292 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.3632, allocations: 0.6008 MB / 0.6297 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001818/0.365, allocations: 1.402 MB / 0.6311 GB, free: 15.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005535/0.3656, allocations: 328.3 kB / 0.6314 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008037/0.3664, allocations: 0.5834 MB / 0.632 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007083/0.3671, allocations: 0.7232 MB / 0.6327 GB, free: 13.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.3672, allocations: 100 kB / 0.6328 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004533/0.3677, allocations: 243.8 kB / 0.633 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002184/0.3679, allocations: 270.8 kB / 0.6333 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005513/0.3685, allocations: 0.6213 MB / 0.6339 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.3701, allocations: 1.512 MB / 0.6354 GB, free: 10.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3701, allocations: 4 kB / 0.6354 GB, free: 10.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3701, allocations: 0 / 0.6354 GB, free: 10.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.3701, allocations: 0 / 0.6354 GB, free: 10.79 MB / 446.1 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.007793/0.3779, allocations: 2.534 MB / 0.6378 GB, free: 8.191 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.378, allocations: 12.02 kB / 0.6379 GB, free: 8.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004906/0.3829, allocations: 0.7788 MB / 0.6386 GB, free: 7.398 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.3847, allocations: 0.7683 MB / 0.6394 GB, free: 6.574 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003445/0.385, allocations: 252.2 kB / 0.6396 GB, free: 6.293 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002733/0.3853, allocations: 80 kB / 0.6397 GB, free: 6.215 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002568/0.3879, allocations: 1.073 MB / 0.6407 GB, free: 5.137 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.388, allocations: 3.938 kB / 0.6407 GB, free: 5.133 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.263e-05/0.3881, allocations: 32 kB / 0.6408 GB, free: 5.102 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.3881, allocations: 20 kB / 0.6408 GB, free: 5.082 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002609/0.3907, allocations: 1.116 MB / 0.6419 GB, free: 3.961 MB / 446.1 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.006476/0.3972, allocations: 3.42 MB / 0.6452 GB, free: 396 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/0.3993, allocations: 1.407 MB / 0.6466 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/0.4009, allocations: 0.7851 MB / 0.6474 GB, free: 14.08 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/0.4011, allocations: 12.98 kB / 0.6474 GB, free: 14.06 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.4011, allocations: 47.5 kB / 0.6474 GB, free: 14.01 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 2.675e-06/0.4011, allocations: 0 / 0.6474 GB, free: 14.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.02493/0.4261, allocations: 6.746 MB / 0.654 GB, free: 7.227 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.4262, allocations: 68.34 kB / 0.6541 GB, free: 7.145 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.4276, allocations: 0.8838 MB / 0.6549 GB, free: 6.242 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001971/0.4279, allocations: 41.7 kB / 0.655 GB, free: 6.195 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004166/0.4283, allocations: 0.4928 MB / 0.6555 GB, free: 5.695 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004842/0.4288, allocations: 335.1 kB / 0.6558 GB, free: 5.363 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004846/0.4293, allocations: 198.8 kB / 0.656 GB, free: 5.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4294, allocations: 341.9 kB / 0.6563 GB, free: 4.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.431, allocations: 0.717 MB / 0.657 GB, free: 4.105 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/0.4327, allocations: 0.8384 MB / 0.6578 GB, free: 3.234 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0179/0.4506, allocations: 4.783 MB / 0.6625 GB, free: 14.41 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/0.4507, allocations: 0 / 0.6625 GB, free: 14.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01345/0.4642, allocations: 4.257 MB / 0.6666 GB, free: 10.14 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.4642, allocations: 8 kB / 0.6666 GB, free: 10.13 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.4643, allocations: 8 kB / 0.6667 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005975/0.4702, allocations: 1.862 MB / 0.6685 GB, free: 8.258 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.4713, allocations: 203.8 kB / 0.6687 GB, free: 8.059 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02097/0.4923, allocations: 9.08 MB / 0.6775 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/0.4943, allocations: 174.9 kB / 0.6777 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003781/0.4948, allocations: 39.98 kB / 0.6777 GB, free: 14.61 MB / 494.1 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.001015/0.4958, allocations: 247.1 kB / 0.678 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004919/0.4963, allocations: 118.5 kB / 0.6781 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/0.509, allocations: 3.998 MB / 0.682 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.509, allocations: 12 kB / 0.682 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.5091, allocations: 7.938 kB / 0.682 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.5091, allocations: 3.984 kB / 0.682 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/0.5233, allocations: 5.618 MB / 0.6875 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.5234, allocations: 4 kB / 0.6875 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007543/0.5241, allocations: 127.8 kB / 0.6876 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005396/0.5295, allocations: 1.738 MB / 0.6893 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001394/0.5297, allocations: 19.98 kB / 0.6893 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01782/0.5475, allocations: 8.068 MB / 0.6972 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5476, allocations: 7.922 kB / 0.6972 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0144/0.562, allocations: 4.968 MB / 0.7021 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003633/0.5624, allocations: 199.4 kB / 0.7023 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/0.5626, allocations: 28 kB / 0.7023 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.5637, allocations: 107.9 kB / 0.7024 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007165/0.5644, allocations: 216.7 kB / 0.7026 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-05/0.5645, allocations: 31.92 kB / 0.7026 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008691/0.5654, allocations: 0.5887 MB / 0.7032 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5654, allocations: 0 / 0.7032 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001365/0.5667, allocations: 435.5 kB / 0.7036 GB, free: 3.738 MB / 0.4981 GB 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.0002718/0.567, allocations: 127.1 kB / 0.7037 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006519/0.5735, allocations: 2.47 MB / 0.7062 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5736, allocations: 0 / 0.7062 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004446/0.578, allocations: 1.593 MB / 0.7077 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008207/0.5789, allocations: 84.42 kB / 0.7078 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.5828, allocations: 1.925 MB / 0.7097 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006871/0.5835, allocations: 1.084 MB / 0.7107 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003204/0.5838, allocations: 94.67 kB / 0.7108 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.584, allocations: 63.42 kB / 0.7109 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of SimCode: time 8.52e-07/0.5841, allocations: 0 / 0.7109 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.03689/0.621, allocations: 23.58 MB / 0.7339 GB, free: 4.629 MB / 0.5294 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)