Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.conf.json 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 4.0.0+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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005695/0.005695, allocations: 100.7 kB / 15.73 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 222.9 MB / 239.4 MB, free: 4.559 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.001231/0.001231, allocations: 196.4 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5111/0.5111, allocations: 91.9 MB / 431.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 74.97 kB / 0.5727 GB, free: 33.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1362, allocations: 71.29 MB / 0.6423 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.006303/0.1425, allocations: 5.699 MB / 0.6479 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003548/0.1461, allocations: 1.728 MB / 0.6496 GB, free: 12.12 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006395/0.1468, allocations: 8 kB / 0.6496 GB, free: 12.11 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005855/0.1474, allocations: 202.3 kB / 0.6498 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.1493, allocations: 0.7293 MB / 0.6505 GB, free: 11.18 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.1506, allocations: 0.5586 MB / 0.651 GB, free: 10.63 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001418/0.152, allocations: 1.222 MB / 0.6522 GB, free: 9.402 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004085/0.1524, allocations: 283 kB / 0.6525 GB, free: 9.117 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006053/0.153, allocations: 0.5173 MB / 0.653 GB, free: 8.598 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006536/0.1537, allocations: 0.6338 MB / 0.6536 GB, free: 7.961 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.1538, allocations: 88 kB / 0.6537 GB, free: 7.875 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004442/0.1543, allocations: 235.8 kB / 0.6539 GB, free: 7.645 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.1545, allocations: 231 kB / 0.6542 GB, free: 7.418 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004517/0.1549, allocations: 0.5398 MB / 0.6547 GB, free: 6.875 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.1564, allocations: 1.335 MB / 0.656 GB, free: 5.535 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1564, allocations: 4 kB / 0.656 GB, free: 5.531 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1564, allocations: 0 / 0.656 GB, free: 5.531 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.844e-05/0.1564, allocations: 3.938 kB / 0.656 GB, free: 5.527 MB / 462.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.007601/0.164, allocations: 2.329 MB / 0.6583 GB, free: 3.145 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.1641, allocations: 12.03 kB / 0.6583 GB, free: 3.133 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005016/0.1691, allocations: 0.7557 MB / 0.659 GB, free: 2.375 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.1703, allocations: 0.7049 MB / 0.6597 GB, free: 1.629 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000294/0.1707, allocations: 243.5 kB / 0.6599 GB, free: 1.352 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.1708, allocations: 68 kB / 0.66 GB, free: 1.285 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/0.1728, allocations: 0.9434 MB / 0.6609 GB, free: 344 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.1729, allocations: 3.938 kB / 0.6609 GB, free: 340 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.623e-05/0.173, allocations: 28 kB / 0.661 GB, free: 312 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.173, allocations: 16 kB / 0.661 GB, free: 296 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.1751, allocations: 0.9655 MB / 0.6619 GB, free: 15.32 MB / 478.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.005294/0.1804, allocations: 3.128 MB / 0.665 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.1824, allocations: 1.317 MB / 0.6663 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/0.1839, allocations: 0.6944 MB / 0.6669 GB, free: 9.906 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.319e-05/0.184, allocations: 16.64 kB / 0.667 GB, free: 9.891 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.184, allocations: 43.22 kB / 0.667 GB, free: 9.84 MB / 478.1 MB Notification: Performance of pre-optimization done (n=81): time 2.474e-06/0.184, allocations: 3.938 kB / 0.667 GB, free: 9.836 MB / 478.1 MB Notification: Performance of matching and sorting (n=81): time 0.02784/0.2118, allocations: 6.696 MB / 0.6735 GB, free: 3.102 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.2119, allocations: 60.06 kB / 0.6736 GB, free: 3.031 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.213, allocations: 0.7905 MB / 0.6744 GB, free: 2.227 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001434/0.2131, allocations: 41.7 kB / 0.6744 GB, free: 2.18 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003079/0.2135, allocations: 436.4 kB / 0.6748 GB, free: 1.746 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000291/0.2137, allocations: 287.8 kB / 0.6751 GB, free: 1.461 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003414/0.2141, allocations: 178.5 kB / 0.6753 GB, free: 1.277 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.2142, allocations: 341.9 kB / 0.6756 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.2157, allocations: 0.6386 MB / 0.6762 GB, free: 308 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.2173, allocations: 0.7666 MB / 0.677 GB, free: 15.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01781/0.2351, allocations: 4.446 MB / 0.6813 GB, free: 11.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.2351, allocations: 4 kB / 0.6813 GB, free: 11.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01355/0.2487, allocations: 4.039 MB / 0.6853 GB, free: 6.969 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.2488, allocations: 9.406 kB / 0.6853 GB, free: 6.961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.2488, allocations: 0 / 0.6853 GB, free: 6.961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006523/0.2553, allocations: 1.862 MB / 0.6871 GB, free: 5.094 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008886/0.2563, allocations: 167.8 kB / 0.6872 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02225/0.2785, allocations: 9.087 MB / 0.6961 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.28, allocations: 155 kB / 0.6963 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.5e-05/0.2801, allocations: 35.98 kB / 0.6963 GB, free: 11.5 MB / 0.4981 GB 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.0004471/0.2806, allocations: 225.7 kB / 0.6965 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.2808, allocations: 102.8 kB / 0.6966 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/0.294, allocations: 3.813 MB / 0.7003 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.2941, allocations: 8 kB / 0.7003 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2941, allocations: 0 / 0.7003 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.157e-05/0.2941, allocations: 7.984 kB / 0.7004 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01565/0.3098, allocations: 5.325 MB / 0.7056 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/0.3099, allocations: 4 kB / 0.7056 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006367/0.3105, allocations: 87.89 kB / 0.7056 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006436/0.317, allocations: 1.749 MB / 0.7073 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002117/0.3172, allocations: 16.08 kB / 0.7074 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0205/0.3377, allocations: 8.065 MB / 0.7152 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3378, allocations: 0 / 0.7152 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01581/0.3536, allocations: 4.693 MB / 0.7198 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003473/0.354, allocations: 183.7 kB / 0.72 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002569/0.3542, allocations: 23.88 kB / 0.72 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.3553, allocations: 87.89 kB / 0.7201 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000673/0.356, allocations: 200.8 kB / 0.7203 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.298e-05/0.3561, allocations: 20 kB / 0.7203 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006882/0.3568, allocations: 0.5341 MB / 0.7208 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3568, allocations: 3.938 kB / 0.7208 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001232/0.358, allocations: 399.5 kB / 0.7212 GB, free: 1.621 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.0002701/0.3583, allocations: 127.2 kB / 0.7213 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006995/0.3653, allocations: 2.304 MB / 0.7236 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.3654, allocations: 0 / 0.7236 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005071/0.3704, allocations: 1.5 MB / 0.7251 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000844/0.3713, allocations: 83.3 kB / 0.7251 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003437/0.3748, allocations: 1.644 MB / 0.7267 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006857/0.3755, allocations: 1.029 MB / 0.7277 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003111/0.3758, allocations: 82.12 kB / 0.7278 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.376, allocations: 55.44 kB / 0.7279 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of SimCode: time 8.01e-07/0.376, allocations: 0 / 0.7279 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of Templates: time 0.03453/0.4105, allocations: 22.28 MB / 0.7496 GB, free: 4.422 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)