Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08441/0.08441, allocations: 12.21 MB / 27.47 MB, free: 0.9297 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007269/0.0007267, allocations: 95.52 kB / 31 MB, free: 4.535 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.4 MB / 239.8 MB, free: 13.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009574/0.0009574, allocations: 179.1 kB / 291 MB, free: 13.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4583/0.4583, allocations: 78.53 MB / 420.5 MB, free: 12.16 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008698/0.0008699, allocations: 24.75 kB / 0.4901 GB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3147, allocations: 69.23 MB / 0.5577 GB, free: 21.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004211/0.3189, allocations: 5.644 MB / 0.5632 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003101/0.3221, allocations: 1.725 MB / 0.5649 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009545/0.3231, allocations: 8 kB / 0.5649 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006502/0.3237, allocations: 155 kB / 0.5651 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002027/0.3258, allocations: 0.6005 MB / 0.5656 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.3269, allocations: 0.5242 MB / 0.5662 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.3281, allocations: 1.167 MB / 0.5673 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003925/0.3285, allocations: 238.1 kB / 0.5675 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006429/0.3292, allocations: 465.7 kB / 0.568 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006521/0.3299, allocations: 0.5831 MB / 0.5685 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.33, allocations: 44 kB / 0.5686 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003819/0.3304, allocations: 183.8 kB / 0.5688 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.3305, allocations: 194.9 kB / 0.5689 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003107/0.3308, allocations: 0.518 MB / 0.5694 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007786/0.3316, allocations: 1.257 MB / 0.5707 GB, free: 7.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3316, allocations: 0 / 0.5707 GB, free: 7.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3316, allocations: 0 / 0.5707 GB, free: 7.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.3317, allocations: 0 / 0.5707 GB, free: 7.684 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.006325/0.338, allocations: 2.174 MB / 0.5728 GB, free: 5.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.338, allocations: 11.98 kB / 0.5728 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004617/0.3427, allocations: 0.7595 MB / 0.5735 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.3438, allocations: 0.701 MB / 0.5742 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002334/0.344, allocations: 263.5 kB / 0.5745 GB, free: 3.645 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.3442, allocations: 64 kB / 0.5745 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.346, allocations: 1.021 MB / 0.5755 GB, free: 2.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.346, allocations: 3.938 kB / 0.5755 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.108e-05/0.3461, allocations: 27.94 kB / 0.5756 GB, free: 2.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.3461, allocations: 16 kB / 0.5756 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.348, allocations: 1.067 MB / 0.5766 GB, free: 1.441 MB / 382.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.005104/0.3531, allocations: 3.21 MB / 0.5798 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/0.3555, allocations: 1.39 MB / 0.5811 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.357, allocations: 0.7725 MB / 0.5819 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.093e-05/0.3571, allocations: 16.64 kB / 0.5819 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.3572, allocations: 39.22 kB / 0.5819 GB, free: 11.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=81): time 2.966e-06/0.3572, allocations: 0 / 0.5819 GB, free: 11.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=81): time 0.02954/0.3867, allocations: 8.31 MB / 0.59 GB, free: 3.383 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.3868, allocations: 64.05 kB / 0.5901 GB, free: 3.309 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.388, allocations: 0.7905 MB / 0.5909 GB, free: 2.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002016/0.3882, allocations: 41.7 kB / 0.5909 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000326/0.3885, allocations: 432.4 kB / 0.5913 GB, free: 2.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003341/0.3889, allocations: 295.8 kB / 0.5916 GB, free: 1.738 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.389, allocations: 85.67 kB / 0.5917 GB, free: 1.648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.3892, allocations: 341.9 kB / 0.592 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/0.3908, allocations: 0.7167 MB / 0.5927 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/0.3923, allocations: 0.837 MB / 0.5935 GB, free: 15.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01853/0.4109, allocations: 4.945 MB / 0.5984 GB, free: 10.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.411, allocations: 3.938 kB / 0.5984 GB, free: 10.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01492/0.4259, allocations: 4.946 MB / 0.6032 GB, free: 5.777 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.426, allocations: 8 kB / 0.6032 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.426, allocations: 4 kB / 0.6032 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0068/0.4328, allocations: 2.179 MB / 0.6053 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008988/0.4337, allocations: 163.7 kB / 0.6055 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02191/0.4557, allocations: 9.358 MB / 0.6146 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.4571, allocations: 187.1 kB / 0.6148 GB, free: 9.742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.626e-05/0.4572, allocations: 35.98 kB / 0.6148 GB, free: 9.707 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.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 (92): * Single equations (assignments): 91 * 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.0004528/0.4577, allocations: 233.6 kB / 0.6151 GB, free: 9.469 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.4578, allocations: 102.7 kB / 0.6152 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01476/0.4726, allocations: 4.727 MB / 0.6198 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.4727, allocations: 11.94 kB / 0.6198 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.4727, allocations: 0 / 0.6198 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/0.4727, allocations: 7.984 kB / 0.6198 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01647/0.4892, allocations: 6.242 MB / 0.6259 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.4892, allocations: 4 kB / 0.6259 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005872/0.4898, allocations: 95.83 kB / 0.626 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006567/0.4964, allocations: 2.054 MB / 0.628 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/0.4966, allocations: 16 kB / 0.628 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01927/0.5159, allocations: 8.218 MB / 0.636 GB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.5159, allocations: 0 / 0.636 GB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01652/0.5325, allocations: 5.684 MB / 0.6416 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004015/0.5329, allocations: 191.7 kB / 0.6418 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.5331, allocations: 12 kB / 0.6418 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.5341, allocations: 132 kB / 0.6419 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006045/0.5347, allocations: 196.6 kB / 0.6421 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.044e-05/0.5348, allocations: 16 kB / 0.6421 GB, free: 13.42 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006396/0.5354, allocations: 0.5303 MB / 0.6426 GB, free: 12.89 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5354, allocations: 0 / 0.6426 GB, free: 12.89 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001099/0.5365, allocations: 407.5 kB / 0.643 GB, free: 12.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.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 (48): * Single equations (assignments): 47 * 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.0002495/0.5368, allocations: 119.2 kB / 0.6431 GB, free: 12.37 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007058/0.5439, allocations: 2.562 MB / 0.6456 GB, free: 9.797 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.5439, allocations: 0 / 0.6456 GB, free: 9.797 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005212/0.5491, allocations: 1.697 MB / 0.6473 GB, free: 8.086 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009416/0.5501, allocations: 75.3 kB / 0.6474 GB, free: 8.016 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/0.5534, allocations: 2.057 MB / 0.6494 GB, free: 5.941 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000635/0.554, allocations: 1.025 MB / 0.6504 GB, free: 4.891 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002914/0.5543, allocations: 82.19 kB / 0.6505 GB, free: 4.809 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.5545, allocations: 51.42 kB / 0.6505 GB, free: 4.758 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5545, allocations: 0 / 0.6505 GB, free: 4.758 MB / 462.1 MB Notification: Performance of Templates: time 0.03187/0.5864, allocations: 19.37 MB / 0.6694 GB, free: 1.398 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) Environment - environmentSimulation: