Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 239.2 MB, free: 4.621 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.001298/0.001298, allocations: 187.8 kB / 289.5 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4651/0.4651, allocations: 78.52 MB / 418.2 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 75.88 kB / 497.4 MB, free: 6.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1419, allocations: 68.19 MB / 0.5524 GB, free: 2.242 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.2415/0.3834, allocations: 5.741 MB / 0.558 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004158/0.3876, allocations: 1.735 MB / 0.5597 GB, free: 36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.3887, allocations: 11.09 kB / 0.5597 GB, free: 36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007071/0.3894, allocations: 200.5 kB / 0.5599 GB, free: 36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00231/0.3918, allocations: 0.6826 MB / 0.5605 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.3931, allocations: 0.5563 MB / 0.5611 GB, free: 35.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001591/0.3947, allocations: 1.244 MB / 0.5623 GB, free: 35.72 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004549/0.3952, allocations: 272.8 kB / 0.5625 GB, free: 35.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000696/0.3959, allocations: 0.5172 MB / 0.5631 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000626/0.3965, allocations: 0.6465 MB / 0.5637 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.3967, allocations: 90 kB / 0.5638 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004762/0.3971, allocations: 225.7 kB / 0.564 GB, free: 35.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.3973, allocations: 242.8 kB / 0.5642 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003805/0.3977, allocations: 0.5427 MB / 0.5647 GB, free: 35.1 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.399, allocations: 1.343 MB / 0.5661 GB, free: 34.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.399, allocations: 0 / 0.5661 GB, free: 34.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.399, allocations: 1.031 kB / 0.5661 GB, free: 34.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.399, allocations: 0.6875 kB / 0.5661 GB, free: 34.77 MB / 430.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.007054/0.4061, allocations: 2.357 MB / 0.5684 GB, free: 33.94 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.4061, allocations: 8.375 kB / 0.5684 GB, free: 33.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004849/0.411, allocations: 0.7563 MB / 0.5691 GB, free: 33.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.4121, allocations: 0.7093 MB / 0.5698 GB, free: 33.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.4124, allocations: 246.7 kB / 0.57 GB, free: 33.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.4125, allocations: 67.36 kB / 0.5701 GB, free: 33.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.4144, allocations: 0.9548 MB / 0.571 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.4144, allocations: 4.906 kB / 0.571 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-05/0.4145, allocations: 32.22 kB / 0.5711 GB, free: 33.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.4145, allocations: 20.98 kB / 0.5711 GB, free: 33.24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.4164, allocations: 0.9732 MB / 0.572 GB, free: 33.23 MB / 430.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.004964/0.4214, allocations: 3.17 MB / 0.5751 GB, free: 32.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.4232, allocations: 1.311 MB / 0.5764 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.4245, allocations: 0.7035 MB / 0.5771 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.973e-05/0.4246, allocations: 14.14 kB / 0.5771 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.4246, allocations: 37.41 kB / 0.5772 GB, free: 31.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 3.206e-06/0.4246, allocations: 0 / 0.5772 GB, free: 31.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.02565/0.4503, allocations: 6.76 MB / 0.5838 GB, free: 30.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.4504, allocations: 64.22 kB / 0.5838 GB, free: 30.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.4515, allocations: 0.8059 MB / 0.5846 GB, free: 29.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001905/0.4517, allocations: 41.11 kB / 0.5846 GB, free: 29.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002995/0.452, allocations: 433.4 kB / 0.5851 GB, free: 29.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003586/0.4524, allocations: 291.6 kB / 0.5853 GB, free: 29.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003833/0.4528, allocations: 183.6 kB / 0.5855 GB, free: 29.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.437e-05/0.4529, allocations: 342.6 kB / 0.5858 GB, free: 28.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.4543, allocations: 0.6572 MB / 0.5865 GB, free: 28.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.4558, allocations: 0.7707 MB / 0.5872 GB, free: 28.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01774/0.4735, allocations: 4.51 MB / 0.5916 GB, free: 26.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.4736, allocations: 1.875 kB / 0.5916 GB, free: 26.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01332/0.4869, allocations: 4.115 MB / 0.5957 GB, free: 25.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.4869, allocations: 9.484 kB / 0.5957 GB, free: 25.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.487, allocations: 2.531 kB / 0.5957 GB, free: 25.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006296/0.4933, allocations: 1.788 MB / 0.5974 GB, free: 25.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008886/0.4942, allocations: 171.7 kB / 0.5976 GB, free: 25.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02268/0.5169, allocations: 9.335 MB / 0.6067 GB, free: 21.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.5184, allocations: 158.3 kB / 0.6068 GB, free: 21.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002244/0.5187, allocations: 37.67 kB / 0.6069 GB, free: 21.08 MB / 430.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.0005967/0.5193, allocations: 223.5 kB / 0.6071 GB, free: 20.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002869/0.5196, allocations: 99.62 kB / 0.6072 GB, free: 20.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/0.5318, allocations: 3.833 MB / 0.6109 GB, free: 18.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.5319, allocations: 8.312 kB / 0.6109 GB, free: 18.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.5319, allocations: 0 / 0.6109 GB, free: 18.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.5319, allocations: 8.172 kB / 0.6109 GB, free: 18.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/0.5448, allocations: 5.358 MB / 0.6162 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.5448, allocations: 0 / 0.6162 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004922/0.5453, allocations: 87.89 kB / 0.6163 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005355/0.5507, allocations: 1.749 MB / 0.618 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/0.5509, allocations: 16 kB / 0.618 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01743/0.5683, allocations: 8.082 MB / 0.6259 GB, free: 3.336 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.5683, allocations: 5.188 kB / 0.6259 GB, free: 3.332 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/0.582, allocations: 4.704 MB / 0.6305 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004591/0.5825, allocations: 187.7 kB / 0.6307 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002631/0.5828, allocations: 16 kB / 0.6307 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.5838, allocations: 91.89 kB / 0.6308 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006023/0.5844, allocations: 196.7 kB / 0.6309 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-05/0.5845, allocations: 23.98 kB / 0.631 GB, free: 14.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007067/0.5852, allocations: 0.5343 MB / 0.6315 GB, free: 13.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.934e-06/0.5852, allocations: 0 / 0.6315 GB, free: 13.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001538/0.5868, allocations: 411.5 kB / 0.6319 GB, free: 13.13 MB / 446.1 MB 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.0003174/0.5871, allocations: 123.2 kB / 0.632 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007069/0.5942, allocations: 2.358 MB / 0.6343 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.5942, allocations: 0 / 0.6343 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004679/0.5989, allocations: 1.503 MB / 0.6358 GB, free: 9.121 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008082/0.5998, allocations: 86.11 kB / 0.6359 GB, free: 9.039 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.6032, allocations: 1.764 MB / 0.6376 GB, free: 7.285 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006365/0.6039, allocations: 1.025 MB / 0.6386 GB, free: 6.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000295/0.6042, allocations: 79.92 kB / 0.6387 GB, free: 6.152 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.6044, allocations: 59.42 kB / 0.6387 GB, free: 6.098 MB / 446.1 MB Notification: Performance of SimCode: time 7.32e-07/0.6044, allocations: 3.938 kB / 0.6387 GB, free: 6.094 MB / 446.1 MB Notification: Performance of Templates: time 0.03778/0.6422, allocations: 22.4 MB / 0.6606 GB, free: 15.89 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)