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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 182.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009544/0.0009544, allocations: 106.2 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.424/0.424, allocations: 78.48 MB / 418.5 MB, free: 8.754 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.89 kB / 497.4 MB, free: 10.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2798, allocations: 68.11 MB / 0.5523 GB, free: 20.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004434/0.2843, allocations: 6.036 MB / 0.5582 GB, free: 14.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.2866, allocations: 1.774 MB / 0.5599 GB, free: 12.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003109/0.287, allocations: 8 kB / 0.5599 GB, free: 12.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.2873, allocations: 155 kB / 0.5601 GB, free: 12.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.2884, allocations: 0.6223 MB / 0.5607 GB, free: 11.58 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009055/0.2893, allocations: 0.5052 MB / 0.5612 GB, free: 11.08 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007337/0.2901, allocations: 1.186 MB / 0.5623 GB, free: 9.891 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002732/0.2904, allocations: 245.7 kB / 0.5626 GB, free: 9.641 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003466/0.2907, allocations: 489.7 kB / 0.563 GB, free: 9.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000419/0.2911, allocations: 0.6104 MB / 0.5636 GB, free: 8.547 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.063e-05/0.2912, allocations: 60 kB / 0.5637 GB, free: 8.488 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000312/0.2916, allocations: 191.9 kB / 0.5639 GB, free: 8.301 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.2917, allocations: 203 kB / 0.5641 GB, free: 8.102 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002743/0.292, allocations: 0.5085 MB / 0.5646 GB, free: 7.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007636/0.2927, allocations: 1.288 MB / 0.5658 GB, free: 6.297 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2928, allocations: 0 / 0.5658 GB, free: 6.297 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.2928, allocations: 0 / 0.5658 GB, free: 6.297 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.2928, allocations: 0 / 0.5658 GB, free: 6.297 MB / 378.7 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.006697/0.2995, allocations: 2.337 MB / 0.5681 GB, free: 3.906 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2995, allocations: 8.031 kB / 0.5681 GB, free: 3.898 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004535/0.3041, allocations: 0.7595 MB / 0.5689 GB, free: 3.137 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000864/0.3049, allocations: 0.701 MB / 0.5695 GB, free: 2.395 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002041/0.3052, allocations: 243.5 kB / 0.5698 GB, free: 2.121 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.3053, allocations: 75.91 kB / 0.5698 GB, free: 2.047 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.307, allocations: 0.9356 MB / 0.5708 GB, free: 1.102 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.307, allocations: 7.938 kB / 0.5708 GB, free: 1.094 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.342e-05/0.3071, allocations: 32 kB / 0.5708 GB, free: 1.062 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/0.3071, allocations: 16 kB / 0.5708 GB, free: 1.047 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/0.3089, allocations: 0.9655 MB / 0.5718 GB, free: 84 kB / 378.7 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.004957/0.3139, allocations: 3.162 MB / 0.5748 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002/0.3159, allocations: 1.312 MB / 0.5761 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/0.3174, allocations: 0.6944 MB / 0.5768 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.3175, allocations: 12.59 kB / 0.5768 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.3175, allocations: 43.22 kB / 0.5769 GB, free: 10.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=81): time 2.164e-06/0.3175, allocations: 0 / 0.5769 GB, free: 10.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=81): time 0.02752/0.345, allocations: 6.7 MB / 0.5834 GB, free: 3.836 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.3451, allocations: 64.06 kB / 0.5835 GB, free: 3.762 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009684/0.3461, allocations: 0.7905 MB / 0.5842 GB, free: 2.961 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.3462, allocations: 37.7 kB / 0.5843 GB, free: 2.918 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.3465, allocations: 428.5 kB / 0.5847 GB, free: 2.492 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.3468, allocations: 291.8 kB / 0.585 GB, free: 2.203 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003402/0.3471, allocations: 174.5 kB / 0.5851 GB, free: 2.027 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3472, allocations: 341.9 kB / 0.5855 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.3487, allocations: 0.6425 MB / 0.5861 GB, free: 1.043 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/0.3503, allocations: 0.7588 MB / 0.5868 GB, free: 264 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01802/0.3683, allocations: 4.456 MB / 0.5912 GB, free: 11.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.3683, allocations: 0 / 0.5912 GB, free: 11.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01379/0.3821, allocations: 4.043 MB / 0.5951 GB, free: 7.711 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.3822, allocations: 8 kB / 0.5951 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.3822, allocations: 0 / 0.5951 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006388/0.3886, allocations: 1.858 MB / 0.5969 GB, free: 5.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008186/0.3895, allocations: 159.8 kB / 0.5971 GB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02012/0.4096, allocations: 8.376 MB / 0.6053 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.4109, allocations: 147.1 kB / 0.6054 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-05/0.411, allocations: 35.98 kB / 0.6054 GB, free: 12.99 MB / 426.7 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.0003828/0.4114, allocations: 233.6 kB / 0.6057 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.4116, allocations: 102.7 kB / 0.6058 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01312/0.4247, allocations: 3.809 MB / 0.6095 GB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.4247, allocations: 15.92 kB / 0.6095 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.4248, allocations: 0 / 0.6095 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.4248, allocations: 3.984 kB / 0.6095 GB, free: 8.805 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0145/0.4393, allocations: 5.332 MB / 0.6147 GB, free: 3.328 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.4393, allocations: 0 / 0.6147 GB, free: 3.328 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004672/0.4398, allocations: 83.89 kB / 0.6148 GB, free: 3.246 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00607/0.4459, allocations: 1.737 MB / 0.6165 GB, free: 1.504 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.703e-05/0.446, allocations: 16 kB / 0.6165 GB, free: 1.488 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01779/0.4638, allocations: 7.366 MB / 0.6237 GB, free: 9.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4638, allocations: 0 / 0.6237 GB, free: 9.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0902/0.554, allocations: 30.95 MB / 0.6539 GB, free: 10.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002788/0.5543, allocations: 183.6 kB / 0.6541 GB, free: 10.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/0.5546, allocations: 19.98 kB / 0.6541 GB, free: 10.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.5557, allocations: 83.91 kB / 0.6542 GB, free: 10.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008841/0.5566, allocations: 200.7 kB / 0.6544 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/0.5568, allocations: 16 kB / 0.6544 GB, free: 10.19 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008975/0.5577, allocations: 0.5303 MB / 0.6549 GB, free: 9.664 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5577, allocations: 3.938 kB / 0.6549 GB, free: 9.66 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002213/0.5599, allocations: 0.5464 MB / 0.6555 GB, free: 9.113 MB / 474.7 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 (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.0003334/0.5603, allocations: 127.1 kB / 0.6556 GB, free: 8.98 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006692/0.567, allocations: 2.258 MB / 0.6578 GB, free: 6.703 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.567, allocations: 0 / 0.6578 GB, free: 6.703 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004932/0.572, allocations: 1.451 MB / 0.6592 GB, free: 5.246 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.5732, allocations: 79.31 kB / 0.6593 GB, free: 5.168 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008093/0.5813, allocations: 3.265 MB / 0.6625 GB, free: 1.852 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000621/0.582, allocations: 1.071 MB / 0.6635 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000335/0.5823, allocations: 78.19 kB / 0.6636 GB, free: 0.668 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.5825, allocations: 55.42 kB / 0.6636 GB, free: 0.6133 MB / 474.7 MB Notification: Performance of SimCode: time 7.92e-07/0.5826, allocations: 0 / 0.6636 GB, free: 0.6133 MB / 474.7 MB Notification: Performance of Templates: time 0.2495/0.832, allocations: 29.12 MB / 0.6921 GB, free: 111.9 MB / 490.7 MB 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)