Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001528/0.001528, allocations: 108 kB / 15.6 MB, free: 132 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.398/1.398, allocations: 222.9 MB / 239.2 MB, free: 4.578 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.001587/0.001587, allocations: 192.5 kB / 289.5 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5082/0.5082, allocations: 91.89 MB / 431.6 MB, free: 9.219 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 80.16 kB / 0.5019 GB, free: 7.703 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3598, allocations: 71.26 MB / 0.5715 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.005038/0.3649, allocations: 5.754 MB / 0.5771 GB, free: 33.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.3677, allocations: 1.744 MB / 0.5788 GB, free: 32.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004248/0.3682, allocations: 9.438 kB / 0.5788 GB, free: 32.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000442/0.3686, allocations: 211 kB / 0.579 GB, free: 32.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.37, allocations: 0.6797 MB / 0.5797 GB, free: 31.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.3711, allocations: 0.5704 MB / 0.5802 GB, free: 31.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001108/0.3722, allocations: 1.237 MB / 0.5814 GB, free: 30.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003613/0.3726, allocations: 277.3 kB / 0.5817 GB, free: 30.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004924/0.3731, allocations: 0.5172 MB / 0.5822 GB, free: 30.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004965/0.3736, allocations: 0.649 MB / 0.5828 GB, free: 30.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.3737, allocations: 87.34 kB / 0.5829 GB, free: 30.28 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003869/0.3741, allocations: 220.6 kB / 0.5831 GB, free: 30.24 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.3743, allocations: 248.3 kB / 0.5834 GB, free: 30.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003136/0.3746, allocations: 0.5443 MB / 0.5839 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009592/0.3756, allocations: 1.334 MB / 0.5852 GB, free: 29.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3756, allocations: 0 / 0.5852 GB, free: 29.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3756, allocations: 3.469 kB / 0.5852 GB, free: 29.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.3756, allocations: 0 / 0.5852 GB, free: 29.09 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.007184/0.3828, allocations: 2.359 MB / 0.5875 GB, free: 28 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3828, allocations: 8.781 kB / 0.5875 GB, free: 28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004868/0.3877, allocations: 0.7541 MB / 0.5882 GB, free: 27.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009335/0.3887, allocations: 0.7106 MB / 0.5889 GB, free: 27.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002527/0.3889, allocations: 249.5 kB / 0.5892 GB, free: 27.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.3891, allocations: 75.56 kB / 0.5892 GB, free: 27.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.391, allocations: 0.9521 MB / 0.5902 GB, free: 26.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.391, allocations: 3.938 kB / 0.5902 GB, free: 26.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.088e-05/0.3911, allocations: 25.59 kB / 0.5902 GB, free: 26.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.3911, allocations: 16.78 kB / 0.5902 GB, free: 26.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/0.3932, allocations: 0.9725 MB / 0.5912 GB, free: 26.43 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.004865/0.398, allocations: 3.17 MB / 0.5943 GB, free: 24.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.4, allocations: 1.306 MB / 0.5955 GB, free: 23.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.4014, allocations: 0.7081 MB / 0.5962 GB, free: 23.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.926e-05/0.4015, allocations: 13.48 kB / 0.5962 GB, free: 23.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.4016, allocations: 43.03 kB / 0.5963 GB, free: 23.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 3.526e-06/0.4016, allocations: 3.938 kB / 0.5963 GB, free: 23.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.02998/0.4316, allocations: 6.755 MB / 0.6029 GB, free: 22.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.4317, allocations: 74 kB / 0.603 GB, free: 22.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.433, allocations: 0.8034 MB / 0.6037 GB, free: 21.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002315/0.4332, allocations: 40.8 kB / 0.6038 GB, free: 21.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.4336, allocations: 434.1 kB / 0.6042 GB, free: 21.33 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003142/0.4339, allocations: 289.7 kB / 0.6045 GB, free: 21.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004228/0.4343, allocations: 183.1 kB / 0.6046 GB, free: 21.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.844e-05/0.4344, allocations: 347.3 kB / 0.605 GB, free: 20.69 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.436, allocations: 0.6538 MB / 0.6056 GB, free: 20.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.4376, allocations: 0.7666 MB / 0.6064 GB, free: 20.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01886/0.4564, allocations: 4.513 MB / 0.6108 GB, free: 18.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.106e-06/0.4565, allocations: 1 kB / 0.6108 GB, free: 18.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01378/0.4703, allocations: 4.126 MB / 0.6148 GB, free: 17.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/0.4704, allocations: 5.312 kB / 0.6148 GB, free: 17.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.4704, allocations: 2.594 kB / 0.6148 GB, free: 17.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006361/0.4768, allocations: 1.788 MB / 0.6166 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000869/0.4777, allocations: 167.8 kB / 0.6167 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01963/0.4973, allocations: 9.343 MB / 0.6258 GB, free: 6.316 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.4989, allocations: 151 kB / 0.626 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.645e-05/0.499, allocations: 43.98 kB / 0.626 GB, free: 6.125 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.0004184/0.4994, allocations: 224.9 kB / 0.6262 GB, free: 5.898 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.4996, allocations: 98.78 kB / 0.6263 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/0.5115, allocations: 3.836 MB / 0.6301 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.5116, allocations: 12 kB / 0.6301 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.5116, allocations: 0 / 0.6301 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/0.5116, allocations: 3.984 kB / 0.6301 GB, free: 1.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01464/0.5263, allocations: 5.356 MB / 0.6353 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/0.5263, allocations: 4 kB / 0.6353 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005927/0.5269, allocations: 91.88 kB / 0.6354 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006212/0.5331, allocations: 1.749 MB / 0.6371 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001879/0.5334, allocations: 16 kB / 0.6371 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01904/0.5524, allocations: 8.06 MB / 0.645 GB, free: 2.355 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5525, allocations: 7.938 kB / 0.645 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01483/0.5673, allocations: 4.719 MB / 0.6496 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004474/0.5678, allocations: 183.7 kB / 0.6498 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.568, allocations: 16 kB / 0.6498 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009251/0.5689, allocations: 91.89 kB / 0.6499 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000626/0.5695, allocations: 196.7 kB / 0.6501 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.336e-05/0.5696, allocations: 24 kB / 0.6501 GB, free: 13.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006484/0.5702, allocations: 0.5382 MB / 0.6506 GB, free: 12.54 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5702, allocations: 0 / 0.6506 GB, free: 12.54 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001247/0.5715, allocations: 407.6 kB / 0.651 GB, free: 12.14 MB / 462.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.0002738/0.5718, allocations: 133.7 kB / 0.6512 GB, free: 12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006665/0.5785, allocations: 2.357 MB / 0.6535 GB, free: 9.629 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5785, allocations: 0 / 0.6535 GB, free: 9.629 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004542/0.583, allocations: 1.496 MB / 0.6549 GB, free: 8.121 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007521/0.5838, allocations: 83.22 kB / 0.655 GB, free: 8.039 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003111/0.5869, allocations: 1.755 MB / 0.6567 GB, free: 6.262 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005327/0.5875, allocations: 1.029 MB / 0.6577 GB, free: 5.207 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002868/0.5878, allocations: 74.19 kB / 0.6578 GB, free: 5.133 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.5879, allocations: 63.42 kB / 0.6578 GB, free: 5.07 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5879, allocations: 0 / 0.6578 GB, free: 5.07 MB / 462.1 MB Notification: Performance of Templates: time 0.03265/0.6206, allocations: 22.39 MB / 0.6797 GB, free: 14.69 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)