Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001758/0.001758, allocations: 183 kB / 15.98 MB, free: 5.77 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.408/1.408, allocations: 222.9 MB / 239.7 MB, free: 10.99 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.0009605/0.0009605, allocations: 101.1 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4349/0.4349, allocations: 78.47 MB / 418.5 MB, free: 8.859 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 67.91 kB / 497.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2459, allocations: 68.13 MB / 0.5523 GB, free: 20.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.004982/0.2509, allocations: 6.711 MB / 0.5589 GB, free: 13.49 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003363/0.2543, allocations: 1.896 MB / 0.5607 GB, free: 11.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006249/0.2549, allocations: 12 kB / 0.5607 GB, free: 11.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000402/0.2554, allocations: 174.8 kB / 0.5609 GB, free: 11.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001314/0.2567, allocations: 0.637 MB / 0.5615 GB, free: 10.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.2577, allocations: 0.556 MB / 0.5621 GB, free: 10.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009056/0.2586, allocations: 1.355 MB / 0.5634 GB, free: 8.855 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00032/0.259, allocations: 295.3 kB / 0.5637 GB, free: 8.559 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004134/0.2594, allocations: 0.5444 MB / 0.5642 GB, free: 8.012 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004982/0.2599, allocations: 0.6881 MB / 0.5649 GB, free: 7.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.26, allocations: 64 kB / 0.5649 GB, free: 7.258 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003426/0.2604, allocations: 191.9 kB / 0.5651 GB, free: 7.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.2605, allocations: 246.8 kB / 0.5653 GB, free: 6.828 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003342/0.2608, allocations: 0.5861 MB / 0.5659 GB, free: 6.238 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008719/0.2617, allocations: 1.44 MB / 0.5673 GB, free: 4.793 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2617, allocations: 3.984 kB / 0.5673 GB, free: 4.789 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.2617, allocations: 7.938 kB / 0.5673 GB, free: 4.781 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.2618, allocations: 0 / 0.5673 GB, free: 4.781 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.007183/0.269, allocations: 2.532 MB / 0.5698 GB, free: 2.195 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.269, allocations: 16.02 kB / 0.5698 GB, free: 2.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00464/0.2737, allocations: 0.771 MB / 0.5706 GB, free: 1.406 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.2747, allocations: 0.776 MB / 0.5713 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002372/0.275, allocations: 256.2 kB / 0.5716 GB, free: 292 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.2751, allocations: 76 kB / 0.5717 GB, free: 216 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.2774, allocations: 1.069 MB / 0.5727 GB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.2775, allocations: 7.938 kB / 0.5727 GB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-05/0.2776, allocations: 28 kB / 0.5727 GB, free: 15.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.2776, allocations: 20 kB / 0.5727 GB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002557/0.2802, allocations: 1.117 MB / 0.5738 GB, free: 13.96 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.005836/0.286, allocations: 3.443 MB / 0.5772 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/0.2882, allocations: 1.409 MB / 0.5786 GB, free: 8.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.2899, allocations: 0.7812 MB / 0.5793 GB, free: 8.051 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.29, allocations: 16.98 kB / 0.5794 GB, free: 8.031 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.2901, allocations: 43.56 kB / 0.5794 GB, free: 7.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 3.276e-06/0.2901, allocations: 0 / 0.5794 GB, free: 7.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=96): time 0.02732/0.3174, allocations: 6.75 MB / 0.586 GB, free: 1.199 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.3175, allocations: 60.41 kB / 0.586 GB, free: 1.125 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.3186, allocations: 0.8838 MB / 0.5869 GB, free: 228 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001557/0.3187, allocations: 41.7 kB / 0.587 GB, free: 180 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/0.319, allocations: 0.4927 MB / 0.5874 GB, free: 15.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/0.3194, allocations: 343.1 kB / 0.5878 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003704/0.3197, allocations: 194.8 kB / 0.5879 GB, free: 15.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.3199, allocations: 349.9 kB / 0.5883 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/0.3215, allocations: 0.7053 MB / 0.589 GB, free: 14.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/0.3233, allocations: 0.8423 MB / 0.5898 GB, free: 13.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01886/0.3422, allocations: 4.779 MB / 0.5945 GB, free: 8.402 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.3422, allocations: 0 / 0.5945 GB, free: 8.402 MB / 410.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01406/0.3563, allocations: 4.265 MB / 0.5986 GB, free: 4.121 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.3563, allocations: 8 kB / 0.5986 GB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.3564, allocations: 4 kB / 0.5986 GB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006333/0.3627, allocations: 1.858 MB / 0.6004 GB, free: 2.246 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.3638, allocations: 211.7 kB / 0.6006 GB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01998/0.3838, allocations: 8.365 MB / 0.6088 GB, free: 9.539 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.3852, allocations: 167 kB / 0.609 GB, free: 9.375 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.3854, allocations: 43.98 kB / 0.609 GB, free: 9.332 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.0004418/0.3858, allocations: 238.9 kB / 0.6092 GB, free: 9.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.386, allocations: 122.4 kB / 0.6094 GB, free: 8.969 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/0.3995, allocations: 4.006 MB / 0.6133 GB, free: 4.941 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.3995, allocations: 11.98 kB / 0.6133 GB, free: 4.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3996, allocations: 0 / 0.6133 GB, free: 4.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-05/0.3996, allocations: 3.984 kB / 0.6133 GB, free: 4.926 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/0.4149, allocations: 5.621 MB / 0.6188 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.4149, allocations: 0 / 0.6188 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007546/0.4157, allocations: 127.8 kB / 0.6189 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006033/0.4217, allocations: 1.737 MB / 0.6206 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001651/0.4219, allocations: 19.98 kB / 0.6206 GB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01722/0.4392, allocations: 7.359 MB / 0.6278 GB, free: 5.777 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.4392, allocations: 7.938 kB / 0.6278 GB, free: 5.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09174/0.531, allocations: 32.4 MB / 0.6594 GB, free: 5.035 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002289/0.5312, allocations: 199.4 kB / 0.6596 GB, free: 4.82 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.5314, allocations: 16 kB / 0.6597 GB, free: 4.805 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.5324, allocations: 115.9 kB / 0.6598 GB, free: 4.691 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006823/0.5331, allocations: 208.6 kB / 0.66 GB, free: 4.488 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.803e-05/0.5332, allocations: 27.98 kB / 0.66 GB, free: 4.461 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007532/0.534, allocations: 0.5887 MB / 0.6606 GB, free: 3.863 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.534, allocations: 7.938 kB / 0.6606 GB, free: 3.855 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001661/0.5357, allocations: 0.5855 MB / 0.6611 GB, free: 3.27 MB / 474.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.0002657/0.5359, allocations: 135 kB / 0.6613 GB, free: 3.129 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007082/0.543, allocations: 2.427 MB / 0.6636 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.5431, allocations: 0.5625 kB / 0.6636 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005028/0.5481, allocations: 1.54 MB / 0.6651 GB, free: 15.13 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007962/0.5489, allocations: 88.42 kB / 0.6652 GB, free: 15.04 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007899/0.5568, allocations: 3.665 MB / 0.6688 GB, free: 11.33 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007833/0.5577, allocations: 1.13 MB / 0.6699 GB, free: 10.16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004454/0.5581, allocations: 90.69 kB / 0.67 GB, free: 10.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.5584, allocations: 63.41 kB / 0.6701 GB, free: 10.01 MB / 490.7 MB Notification: Performance of SimCode: time 7.31e-07/0.5584, allocations: 0 / 0.6701 GB, free: 10.01 MB / 490.7 MB Notification: Performance of Templates: time 0.2498/0.8082, allocations: 30.26 MB / 0.6996 GB, free: 108.9 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)