Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08053/0.08053, allocations: 12.59 MB / 28.22 MB, free: 0.7383 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.001021/0.001021, allocations: 111.4 kB / 31.83 MB, free: 3.879 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.459/1.459, allocations: 205.1 MB / 240.4 MB, free: 12.35 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.001941/0.001941, allocations: 187.7 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4708/0.4708, allocations: 78.5 MB / 419.3 MB, free: 11.24 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.002594/0.002594, allocations: 143.5 kB / 0.5559 GB, free: 28.48 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.147, allocations: 68.13 MB / 0.6224 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.006356/0.1534, allocations: 5.804 MB / 0.6281 GB, free: 9.586 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003543/0.157, allocations: 1.697 MB / 0.6297 GB, free: 7.883 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004195/0.1575, allocations: 15.94 kB / 0.6297 GB, free: 7.867 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005208/0.158, allocations: 198.3 kB / 0.6299 GB, free: 7.672 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001536/0.1595, allocations: 0.7424 MB / 0.6306 GB, free: 6.926 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.1607, allocations: 0.5454 MB / 0.6312 GB, free: 6.387 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001275/0.162, allocations: 1.257 MB / 0.6324 GB, free: 5.125 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004002/0.1624, allocations: 271.2 kB / 0.6327 GB, free: 4.848 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006065/0.163, allocations: 0.5251 MB / 0.6332 GB, free: 4.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006849/0.1637, allocations: 0.6378 MB / 0.6338 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.1638, allocations: 88 kB / 0.6339 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004074/0.1643, allocations: 231.9 kB / 0.6341 GB, free: 3.367 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.1645, allocations: 242.9 kB / 0.6343 GB, free: 3.129 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004112/0.1649, allocations: 0.5475 MB / 0.6349 GB, free: 2.578 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.1663, allocations: 1.358 MB / 0.6362 GB, free: 1.215 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1663, allocations: 0 / 0.6362 GB, free: 1.215 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1663, allocations: 0 / 0.6362 GB, free: 1.215 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.1663, allocations: 0 / 0.6362 GB, free: 1.215 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.007636/0.174, allocations: 2.383 MB / 0.6385 GB, free: 14.78 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.174, allocations: 11.98 kB / 0.6385 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00499/0.179, allocations: 0.7719 MB / 0.6393 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.1802, allocations: 0.7174 MB / 0.64 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002923/0.1805, allocations: 252.2 kB / 0.6402 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.1807, allocations: 68 kB / 0.6403 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.1827, allocations: 0.9637 MB / 0.6412 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.1827, allocations: 3.938 kB / 0.6412 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-05/0.1829, allocations: 24 kB / 0.6413 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.1829, allocations: 16 kB / 0.6413 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/0.1851, allocations: 0.976 MB / 0.6422 GB, free: 10.89 MB / 462.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.005579/0.1907, allocations: 3.163 MB / 0.6453 GB, free: 7.578 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/0.193, allocations: 1.308 MB / 0.6466 GB, free: 6.148 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001341/0.1943, allocations: 0.696 MB / 0.6473 GB, free: 5.453 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.794e-05/0.1944, allocations: 16.64 kB / 0.6473 GB, free: 5.438 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.1945, allocations: 43.22 kB / 0.6473 GB, free: 5.387 MB / 462.1 MB Notification: Performance of pre-optimization done (n=82): time 2.545e-06/0.1945, allocations: 0 / 0.6473 GB, free: 5.387 MB / 462.1 MB Notification: Performance of matching and sorting (n=82): time 0.02619/0.2207, allocations: 6.771 MB / 0.6539 GB, free: 14.58 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.2208, allocations: 60.06 kB / 0.654 GB, free: 14.51 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.222, allocations: 0.8026 MB / 0.6548 GB, free: 13.68 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001502/0.2222, allocations: 41.64 kB / 0.6548 GB, free: 13.63 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003712/0.2226, allocations: 441 kB / 0.6552 GB, free: 13.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003603/0.223, allocations: 309.3 kB / 0.6555 GB, free: 12.89 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003607/0.2233, allocations: 182.9 kB / 0.6557 GB, free: 12.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.2235, allocations: 345.9 kB / 0.656 GB, free: 12.36 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.2249, allocations: 0.6467 MB / 0.6567 GB, free: 11.71 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.2264, allocations: 0.7718 MB / 0.6574 GB, free: 10.91 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01807/0.2445, allocations: 4.492 MB / 0.6618 GB, free: 6.379 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.2445, allocations: 4 kB / 0.6618 GB, free: 6.375 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01396/0.2585, allocations: 4.125 MB / 0.6659 GB, free: 2.238 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/0.2586, allocations: 8 kB / 0.6659 GB, free: 2.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.2586, allocations: 3.938 kB / 0.6659 GB, free: 2.227 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006432/0.265, allocations: 1.784 MB / 0.6676 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009899/0.266, allocations: 167.8 kB / 0.6678 GB, free: 280 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02296/0.289, allocations: 9.327 MB / 0.6769 GB, free: 6.793 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.2906, allocations: 155.3 kB / 0.677 GB, free: 6.641 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002164/0.2908, allocations: 35.98 kB / 0.6771 GB, free: 6.605 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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.0006275/0.2915, allocations: 233.7 kB / 0.6773 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000343/0.2918, allocations: 103.3 kB / 0.6774 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/0.3045, allocations: 3.829 MB / 0.6811 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.3045, allocations: 11.94 kB / 0.6811 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3045, allocations: 0 / 0.6811 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.3046, allocations: 3.984 kB / 0.6811 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/0.3196, allocations: 5.357 MB / 0.6864 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.3197, allocations: 8 kB / 0.6864 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005629/0.3203, allocations: 87.89 kB / 0.6865 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005852/0.3261, allocations: 1.745 MB / 0.6882 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001615/0.3263, allocations: 12 kB / 0.6882 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02005/0.3464, allocations: 8.077 MB / 0.6961 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.3465, allocations: 7.938 kB / 0.6961 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.015/0.3615, allocations: 4.713 MB / 0.7007 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004023/0.3619, allocations: 192.2 kB / 0.7009 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003103/0.3622, allocations: 19.98 kB / 0.7009 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.3634, allocations: 83.91 kB / 0.701 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007238/0.3641, allocations: 204.7 kB / 0.7011 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.3642, allocations: 20 kB / 0.7012 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000872/0.3651, allocations: 0.5343 MB / 0.7017 GB, free: 13 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3651, allocations: 0 / 0.7017 GB, free: 13 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001657/0.3668, allocations: 415.6 kB / 0.7021 GB, free: 12.59 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.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 (49): * Single equations (assignments): 48 * 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.0003569/0.3671, allocations: 131.4 kB / 0.7022 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006726/0.3739, allocations: 2.334 MB / 0.7045 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.3739, allocations: 0.5625 kB / 0.7045 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00482/0.3787, allocations: 1.526 MB / 0.706 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.3799, allocations: 80.06 kB / 0.7061 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/0.3838, allocations: 1.745 MB / 0.7078 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009423/0.3848, allocations: 1.033 MB / 0.7088 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003579/0.3852, allocations: 74.19 kB / 0.7088 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.3854, allocations: 67.36 kB / 0.7089 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of SimCode: time 1.453e-06/0.3854, allocations: 7.938 kB / 0.7089 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of Templates: time 0.3688/0.7543, allocations: 22.61 MB / 0.731 GB, free: 81.77 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)