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.07184/0.07184, allocations: 12.21 MB / 27.16 MB, free: 112 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009258/0.0009258, allocations: 106.9 kB / 30.66 MB, free: 6.43 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.324/1.324, allocations: 205.4 MB / 239.5 MB, free: 10.66 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.001186/0.001186, allocations: 181.1 kB / 290.6 MB, free: 8.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4077/0.4077, allocations: 78.5 MB / 420.1 MB, free: 6.578 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.0008559/0.000856, allocations: 27.75 kB / 0.4894 GB, free: 37.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1184, allocations: 69.26 MB / 0.557 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004633/0.1231, allocations: 5.02 MB / 0.5619 GB, free: 3.809 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002858/0.126, allocations: 1.667 MB / 0.5635 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004443/0.1264, allocations: 8 kB / 0.5636 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003565/0.1268, allocations: 150.9 kB / 0.5637 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.1281, allocations: 0.6113 MB / 0.5643 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009637/0.1291, allocations: 489.8 kB / 0.5648 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009497/0.1301, allocations: 0.8029 MB / 0.5655 GB, free: 96 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000332/0.1304, allocations: 215.4 kB / 0.5658 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000494/0.1309, allocations: 450.1 kB / 0.5662 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005534/0.1315, allocations: 0.5446 MB / 0.5667 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.453e-05/0.1316, allocations: 44 kB / 0.5668 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000377/0.1319, allocations: 163.8 kB / 0.5669 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.1321, allocations: 187.2 kB / 0.5671 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.1323, allocations: 197.1 kB / 0.5673 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008964/0.1332, allocations: 0.9431 MB / 0.5682 GB, free: 13.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1332, allocations: 0 / 0.5682 GB, free: 13.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1332, allocations: 0 / 0.5682 GB, free: 13.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.1332, allocations: 0 / 0.5682 GB, free: 13.36 MB / 398.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.006715/0.1399, allocations: 2.178 MB / 0.5703 GB, free: 11.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.14, allocations: 15.98 kB / 0.5703 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004722/0.1447, allocations: 0.7595 MB / 0.5711 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.1458, allocations: 0.6668 MB / 0.5717 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002647/0.1461, allocations: 263.5 kB / 0.572 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.1462, allocations: 71.84 kB / 0.5721 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.1482, allocations: 1.01 MB / 0.573 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.1482, allocations: 0 / 0.573 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.373e-05/0.1483, allocations: 31.98 kB / 0.5731 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.1483, allocations: 20 kB / 0.5731 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/0.1503, allocations: 1.051 MB / 0.5741 GB, free: 7.156 MB / 398.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.00501/0.1554, allocations: 3.306 MB / 0.5773 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.1573, allocations: 1.387 MB / 0.5787 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.011e-05/0.1574, allocations: 8.656 kB / 0.5787 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.1575, allocations: 47.2 kB / 0.5788 GB, free: 2.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=81): time 2.294e-06/0.1575, allocations: 0 / 0.5788 GB, free: 2.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=81): time 0.02734/0.1848, allocations: 8.279 MB / 0.5868 GB, free: 9.789 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.1849, allocations: 60.06 kB / 0.5869 GB, free: 9.719 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009995/0.1859, allocations: 0.7788 MB / 0.5877 GB, free: 8.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001756/0.1861, allocations: 37.7 kB / 0.5877 GB, free: 8.887 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/0.1864, allocations: 428.4 kB / 0.5881 GB, free: 8.461 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/0.1867, allocations: 287.9 kB / 0.5884 GB, free: 8.176 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.916e-05/0.1868, allocations: 24 kB / 0.5884 GB, free: 8.152 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1869, allocations: 345.9 kB / 0.5887 GB, free: 7.809 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.1884, allocations: 0.7089 MB / 0.5894 GB, free: 7.098 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/0.1899, allocations: 0.833 MB / 0.5902 GB, free: 6.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.1914, allocations: 0.7498 MB / 0.591 GB, free: 5.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.1914, allocations: 4 kB / 0.591 GB, free: 5.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01377/0.2052, allocations: 4.93 MB / 0.5958 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.2053, allocations: 8 kB / 0.5958 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.2053, allocations: 4 kB / 0.5958 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006639/0.2119, allocations: 2.174 MB / 0.5979 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008845/0.2128, allocations: 167.7 kB / 0.5981 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02136/0.2342, allocations: 9.8 MB / 0.6076 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/0.2357, allocations: 183.1 kB / 0.6078 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.22e-05/0.2357, allocations: 36 kB / 0.6079 GB, free: 4.016 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004432/0.2362, allocations: 241.3 kB / 0.6081 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.2364, allocations: 102.8 kB / 0.6082 GB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/0.2498, allocations: 4.719 MB / 0.6128 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/0.2499, allocations: 8 kB / 0.6128 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2499, allocations: 0 / 0.6128 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.123e-05/0.2499, allocations: 3.984 kB / 0.6128 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01509/0.265, allocations: 6.239 MB / 0.6189 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.2651, allocations: 0 / 0.6189 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005151/0.2656, allocations: 91.89 kB / 0.619 GB, free: 8.457 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006149/0.2718, allocations: 2.05 MB / 0.621 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.2719, allocations: 16 kB / 0.621 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01855/0.2905, allocations: 8.671 MB / 0.6295 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2905, allocations: 3.953 kB / 0.6295 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01557/0.3061, allocations: 5.657 MB / 0.635 GB, free: 7.891 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004121/0.3066, allocations: 195.6 kB / 0.6352 GB, free: 7.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.3067, allocations: 12 kB / 0.6352 GB, free: 7.668 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009266/0.3076, allocations: 132 kB / 0.6353 GB, free: 7.539 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006044/0.3082, allocations: 196.6 kB / 0.6355 GB, free: 7.344 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.703e-05/0.3083, allocations: 16 kB / 0.6355 GB, free: 7.328 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000662/0.309, allocations: 0.5224 MB / 0.636 GB, free: 6.809 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.309, allocations: 4 kB / 0.636 GB, free: 6.805 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001146/0.3101, allocations: 395.7 kB / 0.6364 GB, free: 6.418 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002441/0.3104, allocations: 123.2 kB / 0.6365 GB, free: 6.289 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006338/0.3167, allocations: 2.562 MB / 0.639 GB, free: 3.719 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3168, allocations: 0 / 0.639 GB, free: 3.719 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004643/0.3214, allocations: 1.681 MB / 0.6407 GB, free: 2.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005828/0.322, allocations: 78.44 kB / 0.6408 GB, free: 1.953 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.325, allocations: 1.987 MB / 0.6427 GB, free: 15.95 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006296/0.3257, allocations: 1.045 MB / 0.6437 GB, free: 14.88 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002596/0.326, allocations: 78.17 kB / 0.6438 GB, free: 14.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.3261, allocations: 55.42 kB / 0.6438 GB, free: 14.75 MB / 478.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3261, allocations: 0 / 0.6438 GB, free: 14.75 MB / 478.1 MB Notification: Performance of Templates: time 0.2569/0.5831, allocations: 18.78 MB / 0.6622 GB, free: 96.75 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: