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-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.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-master/package.mo): time 0.08756/0.08756, allocations: 12.58 MB / 28.22 MB, free: 0.7695 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.001124/0.001124, allocations: 111.4 kB / 31.84 MB, free: 3.902 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.325/1.325, allocations: 205.1 MB / 240.4 MB, free: 12.38 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.002315/0.002315, allocations: 188.5 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.4243/0.4243, allocations: 78.51 MB / 419.3 MB, free: 11.27 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.002562/0.002562, allocations: 138.1 kB / 0.5559 GB, free: 28.64 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.126, allocations: 68.13 MB / 0.6224 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.006854/0.1329, allocations: 5.723 MB / 0.628 GB, free: 9.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004259/0.1372, allocations: 1.701 MB / 0.6296 GB, free: 8.059 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007337/0.138, allocations: 8 kB / 0.6297 GB, free: 8.051 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006403/0.1387, allocations: 198.3 kB / 0.6298 GB, free: 7.855 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.1406, allocations: 0.7304 MB / 0.6306 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.1418, allocations: 0.5608 MB / 0.6311 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001244/0.143, allocations: 1.225 MB / 0.6323 GB, free: 5.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003907/0.1434, allocations: 275 kB / 0.6326 GB, free: 5.059 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006887/0.1441, allocations: 0.5173 MB / 0.6331 GB, free: 4.539 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006507/0.1448, allocations: 0.6339 MB / 0.6337 GB, free: 3.902 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.1449, allocations: 91.94 kB / 0.6338 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004351/0.1454, allocations: 219.9 kB / 0.634 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.1456, allocations: 238.9 kB / 0.6342 GB, free: 3.363 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004603/0.1461, allocations: 0.536 MB / 0.6347 GB, free: 2.824 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.1475, allocations: 1.342 MB / 0.636 GB, free: 1.477 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1475, allocations: 4 kB / 0.636 GB, free: 1.473 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1475, allocations: 11.94 kB / 0.6361 GB, free: 1.461 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.1475, allocations: 0 / 0.6361 GB, free: 1.461 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.007163/0.1547, allocations: 2.356 MB / 0.6384 GB, free: 15.05 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.1547, allocations: 15.98 kB / 0.6384 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004825/0.1596, allocations: 0.7641 MB / 0.6391 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.1609, allocations: 0.7096 MB / 0.6398 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002873/0.1612, allocations: 251.5 kB / 0.6401 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.1613, allocations: 64 kB / 0.6401 GB, free: 13.17 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.1633, allocations: 0.9395 MB / 0.641 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.855e-05/0.1633, allocations: 3.938 kB / 0.641 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.763e-05/0.1634, allocations: 28 kB / 0.6411 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.1634, allocations: 16 kB / 0.6411 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002099/0.1655, allocations: 0.9733 MB / 0.642 GB, free: 11.2 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.005316/0.1708, allocations: 3.132 MB / 0.6451 GB, free: 7.918 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/0.1729, allocations: 1.323 MB / 0.6464 GB, free: 6.48 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.1743, allocations: 0.6944 MB / 0.6471 GB, free: 5.785 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.1744, allocations: 16.64 kB / 0.6471 GB, free: 5.766 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.1745, allocations: 39.22 kB / 0.6471 GB, free: 5.719 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 2.585e-06/0.1745, allocations: 0 / 0.6471 GB, free: 5.719 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.02595/0.2005, allocations: 6.713 MB / 0.6537 GB, free: 14.97 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.2006, allocations: 64.06 kB / 0.6537 GB, free: 14.89 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.2016, allocations: 0.7905 MB / 0.6545 GB, free: 14.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001656/0.2018, allocations: 41.7 kB / 0.6545 GB, free: 14.05 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/0.2021, allocations: 429.1 kB / 0.6549 GB, free: 13.62 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/0.2024, allocations: 305.4 kB / 0.6552 GB, free: 13.32 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003545/0.2027, allocations: 174.6 kB / 0.6554 GB, free: 13.14 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.2029, allocations: 341.9 kB / 0.6557 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.2043, allocations: 0.6503 MB / 0.6564 GB, free: 12.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/0.2058, allocations: 0.7588 MB / 0.6571 GB, free: 11.36 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01897/0.2248, allocations: 4.446 MB / 0.6614 GB, free: 6.883 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.2248, allocations: 0 / 0.6614 GB, free: 6.883 MB / 478.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01325/0.2381, allocations: 4.04 MB / 0.6654 GB, free: 2.832 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.2382, allocations: 8 kB / 0.6654 GB, free: 2.824 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.2382, allocations: 0 / 0.6654 GB, free: 2.824 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006131/0.2443, allocations: 1.874 MB / 0.6672 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008849/0.2453, allocations: 163.7 kB / 0.6674 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02085/0.2661, allocations: 9.091 MB / 0.6763 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.2675, allocations: 155.2 kB / 0.6764 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.811e-05/0.2676, allocations: 36 kB / 0.6764 GB, free: 7.359 MB / 494.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.0004234/0.268, allocations: 226.2 kB / 0.6767 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.2682, allocations: 111.3 kB / 0.6768 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01253/0.2807, allocations: 3.813 MB / 0.6805 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/0.2808, allocations: 8 kB / 0.6805 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2808, allocations: 4 kB / 0.6805 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.562e-05/0.2809, allocations: 3.984 kB / 0.6805 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01463/0.2955, allocations: 5.329 MB / 0.6857 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.2955, allocations: 0 / 0.6857 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005252/0.2961, allocations: 83.83 kB / 0.6858 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005889/0.302, allocations: 1.753 MB / 0.6875 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001521/0.3022, allocations: 19.98 kB / 0.6875 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01922/0.3214, allocations: 8.077 MB / 0.6954 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3214, allocations: 7.938 kB / 0.6954 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01478/0.3362, allocations: 4.686 MB / 0.7 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003419/0.3366, allocations: 196.2 kB / 0.7002 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/0.3368, allocations: 11.94 kB / 0.7002 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009517/0.3377, allocations: 99.89 kB / 0.7003 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007043/0.3385, allocations: 204.6 kB / 0.7005 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-05/0.3385, allocations: 23.94 kB / 0.7005 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006872/0.3392, allocations: 0.5302 MB / 0.701 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3393, allocations: 4 kB / 0.701 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001246/0.3405, allocations: 399.7 kB / 0.7014 GB, free: 13.43 MB / 0.5137 GB 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.0002409/0.3408, allocations: 119.2 kB / 0.7015 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006481/0.3472, allocations: 2.314 MB / 0.7038 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3473, allocations: 3.938 kB / 0.7038 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004639/0.3519, allocations: 1.515 MB / 0.7053 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007386/0.3527, allocations: 83.19 kB / 0.7053 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003164/0.3558, allocations: 1.674 MB / 0.707 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005871/0.3564, allocations: 1.025 MB / 0.708 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002627/0.3567, allocations: 78.17 kB / 0.7081 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.3569, allocations: 59.42 kB / 0.7081 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of SimCode: time 7.42e-07/0.3569, allocations: 3.938 kB / 0.7081 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of Templates: time 0.2704/0.6273, allocations: 22.28 MB / 0.7299 GB, free: 82.57 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (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)