Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006283/0.006283, allocations: 101.7 kB / 15.73 MB, free: 5.492 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.406/1.406, allocations: 222.9 MB / 239.4 MB, free: 4.516 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.002176/0.002176, allocations: 192.5 kB / 289.7 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4516/0.4516, allocations: 78.53 MB / 418.4 MB, free: 3.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 79.88 kB / 0.5536 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.34, allocations: 68.17 MB / 0.6202 GB, free: 9.488 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.005941/0.346, allocations: 6.434 MB / 0.6265 GB, free: 3.637 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003609/0.3496, allocations: 1.861 MB / 0.6283 GB, free: 1.773 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006756/0.3503, allocations: 12 kB / 0.6283 GB, free: 1.762 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004927/0.3508, allocations: 229.9 kB / 0.6285 GB, free: 1.535 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.3523, allocations: 0.715 MB / 0.6292 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.3534, allocations: 0.6086 MB / 0.6298 GB, free: 224 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001405/0.3548, allocations: 1.417 MB / 0.6312 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000459/0.3553, allocations: 332.3 kB / 0.6315 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006818/0.3559, allocations: 0.5835 MB / 0.6321 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007543/0.3567, allocations: 0.7349 MB / 0.6328 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.3569, allocations: 108 kB / 0.6329 GB, free: 13.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004546/0.3573, allocations: 243.8 kB / 0.6332 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.3576, allocations: 274.8 kB / 0.6334 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005025/0.3581, allocations: 0.6252 MB / 0.634 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.3596, allocations: 1.523 MB / 0.6355 GB, free: 10.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3596, allocations: 0 / 0.6355 GB, free: 10.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.3596, allocations: 4 kB / 0.6355 GB, free: 10.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.346e-05/0.3597, allocations: 3.938 kB / 0.6355 GB, free: 10.36 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007589/0.3673, allocations: 2.561 MB / 0.638 GB, free: 7.742 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.3673, allocations: 8.031 kB / 0.638 GB, free: 7.734 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004869/0.3722, allocations: 0.7749 MB / 0.6388 GB, free: 6.957 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.3738, allocations: 0.7763 MB / 0.6395 GB, free: 6.125 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003135/0.3741, allocations: 264.1 kB / 0.6398 GB, free: 5.832 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.3743, allocations: 80 kB / 0.6399 GB, free: 5.754 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002445/0.3768, allocations: 1.081 MB / 0.6409 GB, free: 4.668 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.3768, allocations: 3.938 kB / 0.6409 GB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.3769, allocations: 32 kB / 0.641 GB, free: 4.633 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.3769, allocations: 16 kB / 0.641 GB, free: 4.617 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002568/0.3795, allocations: 1.124 MB / 0.6421 GB, free: 3.488 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.00652/0.3861, allocations: 3.448 MB / 0.6454 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002168/0.3882, allocations: 1.423 MB / 0.6468 GB, free: 14.35 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001614/0.3899, allocations: 0.7774 MB / 0.6476 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.39, allocations: 20.97 kB / 0.6476 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.3901, allocations: 43.56 kB / 0.6477 GB, free: 13.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 3.086e-06/0.3901, allocations: 0 / 0.6477 GB, free: 13.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.02459/0.4147, allocations: 6.606 MB / 0.6541 GB, free: 6.855 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.4148, allocations: 64.41 kB / 0.6542 GB, free: 6.777 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.4162, allocations: 0.8923 MB / 0.655 GB, free: 5.867 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002323/0.4165, allocations: 49.7 kB / 0.6551 GB, free: 5.812 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004221/0.4169, allocations: 496.8 kB / 0.6556 GB, free: 5.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005086/0.4174, allocations: 350.9 kB / 0.6559 GB, free: 4.973 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005279/0.418, allocations: 202.8 kB / 0.6561 GB, free: 4.766 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4181, allocations: 345.9 kB / 0.6564 GB, free: 4.422 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.4197, allocations: 0.7248 MB / 0.6571 GB, free: 3.699 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.4214, allocations: 0.8501 MB / 0.658 GB, free: 2.816 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0178/0.4392, allocations: 4.826 MB / 0.6627 GB, free: 13.96 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.4393, allocations: 4 kB / 0.6627 GB, free: 13.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01289/0.4522, allocations: 4.265 MB / 0.6668 GB, free: 9.672 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/0.4523, allocations: 8 kB / 0.6668 GB, free: 9.664 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.4523, allocations: 7.938 kB / 0.6668 GB, free: 9.656 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005922/0.4582, allocations: 1.803 MB / 0.6686 GB, free: 7.848 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.4593, allocations: 211.6 kB / 0.6688 GB, free: 7.641 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02129/0.4806, allocations: 9.333 MB / 0.6779 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.4822, allocations: 167 kB / 0.6781 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/0.4824, allocations: 47.98 kB / 0.6781 GB, free: 13.95 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_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 (111): * Single equations (assignments): 110 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.000566/0.483, allocations: 247.6 kB / 0.6784 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/0.4833, allocations: 122.5 kB / 0.6785 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/0.4958, allocations: 4.022 MB / 0.6824 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/0.4958, allocations: 8 kB / 0.6824 GB, free: 9.531 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.4958, allocations: 0 / 0.6824 GB, free: 9.531 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.162e-05/0.4959, allocations: 3.984 kB / 0.6824 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/0.511, allocations: 5.606 MB / 0.6879 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.5111, allocations: 0 / 0.6879 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007326/0.5118, allocations: 131.8 kB / 0.688 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005717/0.5175, allocations: 1.749 MB / 0.6897 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000229/0.5178, allocations: 16 kB / 0.6897 GB, free: 1.887 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01813/0.5359, allocations: 8.072 MB / 0.6976 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.536, allocations: 0 / 0.6976 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01454/0.5505, allocations: 4.96 MB / 0.7025 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000435/0.551, allocations: 203.4 kB / 0.7027 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003826/0.5514, allocations: 19.94 kB / 0.7027 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.5527, allocations: 119.8 kB / 0.7028 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009228/0.5536, allocations: 212.7 kB / 0.703 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001625/0.5538, allocations: 27.98 kB / 0.703 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001041/0.5548, allocations: 0.5969 MB / 0.7036 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5548, allocations: 0 / 0.7036 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00172/0.5566, allocations: 447.4 kB / 0.704 GB, free: 3.051 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * 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.0003435/0.5569, allocations: 131.1 kB / 0.7042 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006847/0.5638, allocations: 2.5 MB / 0.7066 GB, free: 400 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/0.5638, allocations: 0 / 0.7066 GB, free: 400 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004605/0.5684, allocations: 1.597 MB / 0.7082 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008967/0.5693, allocations: 84.42 kB / 0.7082 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004164/0.5735, allocations: 2.003 MB / 0.7102 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007772/0.5743, allocations: 1.095 MB / 0.7113 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003849/0.5747, allocations: 90.77 kB / 0.7114 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.575, allocations: 71.42 kB / 0.7114 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of SimCode: time 7.32e-07/0.575, allocations: 3.938 kB / 0.7114 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of Templates: time 0.03862/0.6136, allocations: 23.9 MB / 0.7348 GB, free: 3.484 MB / 0.5294 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)