Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001092/0.001092, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.265/1.265, allocations: 222.9 MB / 238.8 MB, free: 4.75 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.001206/0.001206, allocations: 192.2 kB / 289.1 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4335/0.4335, allocations: 78.53 MB / 417.8 MB, free: 3.293 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 75.88 kB / 496.8 MB, free: 6.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1237, allocations: 68.18 MB / 0.5517 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.2303/0.3541, allocations: 6.014 MB / 0.5576 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003346/0.3575, allocations: 1.779 MB / 0.5593 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006851/0.3582, allocations: 12.66 kB / 0.5593 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005229/0.3587, allocations: 161.3 kB / 0.5595 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001454/0.3602, allocations: 0.5921 MB / 0.5601 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.3613, allocations: 0.5298 MB / 0.5606 GB, free: 35.63 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.3624, allocations: 1.169 MB / 0.5617 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003386/0.3627, allocations: 236.2 kB / 0.5619 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004859/0.3632, allocations: 485.8 kB / 0.5624 GB, free: 35.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004885/0.3637, allocations: 0.6087 MB / 0.563 GB, free: 35.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.633e-05/0.3638, allocations: 57.25 kB / 0.563 GB, free: 35.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003881/0.3642, allocations: 186.2 kB / 0.5632 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.3644, allocations: 212 kB / 0.5634 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003185/0.3647, allocations: 0.5066 MB / 0.5639 GB, free: 34.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008956/0.3656, allocations: 1.292 MB / 0.5652 GB, free: 34.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3656, allocations: 2.031 kB / 0.5652 GB, free: 34.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3656, allocations: 0 / 0.5652 GB, free: 34.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.3657, allocations: 1.25 kB / 0.5652 GB, free: 34.69 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.006689/0.3724, allocations: 2.335 MB / 0.5675 GB, free: 33.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3724, allocations: 8.562 kB / 0.5675 GB, free: 33.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004595/0.377, allocations: 0.7599 MB / 0.5682 GB, free: 33.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.3781, allocations: 0.6914 MB / 0.5689 GB, free: 33.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002336/0.3783, allocations: 251.4 kB / 0.5691 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.3784, allocations: 73.25 kB / 0.5692 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.3803, allocations: 0.9442 MB / 0.5701 GB, free: 33.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.3803, allocations: 5.688 kB / 0.5701 GB, free: 33.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.2e-05/0.3804, allocations: 21.56 kB / 0.5702 GB, free: 33.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.3804, allocations: 17.91 kB / 0.5702 GB, free: 33.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.3822, allocations: 0.971 MB / 0.5711 GB, free: 33.19 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.004597/0.3868, allocations: 3.145 MB / 0.5742 GB, free: 32.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.3886, allocations: 1.308 MB / 0.5755 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.3897, allocations: 0.7013 MB / 0.5761 GB, free: 31.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.3899, allocations: 16.2 kB / 0.5762 GB, free: 31.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.3899, allocations: 40.81 kB / 0.5762 GB, free: 31.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.845e-06/0.3899, allocations: 5.281 kB / 0.5762 GB, free: 31.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02444/0.4143, allocations: 6.691 MB / 0.5827 GB, free: 30.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.4144, allocations: 59.69 kB / 0.5828 GB, free: 30.44 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009538/0.4154, allocations: 0.8016 MB / 0.5836 GB, free: 30.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001447/0.4155, allocations: 36.23 kB / 0.5836 GB, free: 30.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/0.4158, allocations: 423.6 kB / 0.584 GB, free: 29.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.416, allocations: 294.6 kB / 0.5843 GB, free: 29.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003268/0.4163, allocations: 176.8 kB / 0.5845 GB, free: 29.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.951e-05/0.4164, allocations: 344.1 kB / 0.5848 GB, free: 29.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.4177, allocations: 0.6443 MB / 0.5854 GB, free: 28.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.4191, allocations: 0.7616 MB / 0.5862 GB, free: 28.51 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01736/0.4365, allocations: 4.448 MB / 0.5905 GB, free: 27.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.4365, allocations: 5.031 kB / 0.5905 GB, free: 27.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01324/0.4498, allocations: 4.035 MB / 0.5945 GB, free: 26.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.4499, allocations: 7.719 kB / 0.5945 GB, free: 26.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.4499, allocations: 2.5 kB / 0.5945 GB, free: 26.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006193/0.4561, allocations: 1.868 MB / 0.5963 GB, free: 26.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008786/0.457, allocations: 159.1 kB / 0.5964 GB, free: 26.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02036/0.4774, allocations: 8.372 MB / 0.6046 GB, free: 22.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.4789, allocations: 149.6 kB / 0.6048 GB, free: 22.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001987/0.4791, allocations: 38.06 kB / 0.6048 GB, free: 22.05 MB / 430.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.0005886/0.4797, allocations: 227.6 kB / 0.605 GB, free: 21.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003406/0.4801, allocations: 101.9 kB / 0.6051 GB, free: 21.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01273/0.4928, allocations: 3.815 MB / 0.6088 GB, free: 20.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.4929, allocations: 12.5 kB / 0.6089 GB, free: 20.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4929, allocations: 0.9375 kB / 0.6089 GB, free: 20.08 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.539e-05/0.4929, allocations: 5.516 kB / 0.6089 GB, free: 20.08 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/0.5067, allocations: 5.331 MB / 0.6141 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/0.5067, allocations: 3.984 kB / 0.6141 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005175/0.5073, allocations: 83.89 kB / 0.6141 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005195/0.5125, allocations: 1.744 MB / 0.6159 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/0.5126, allocations: 12.88 kB / 0.6159 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01471/0.5273, allocations: 7.36 MB / 0.6231 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.5274, allocations: 0 / 0.6231 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/0.5399, allocations: 4.692 MB / 0.6276 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004172/0.5404, allocations: 184.8 kB / 0.6278 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003322/0.5407, allocations: 12 kB / 0.6278 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.5418, allocations: 97.08 kB / 0.6279 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007296/0.5426, allocations: 192.7 kB / 0.6281 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.5427, allocations: 20 kB / 0.6281 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008391/0.5436, allocations: 0.5264 MB / 0.6286 GB, free: 172 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5436, allocations: 4 kB / 0.6286 GB, free: 168 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.001811/0.5454, allocations: 403.5 kB / 0.629 GB, free: 15.77 MB / 446.1 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.0003267/0.5457, allocations: 119.7 kB / 0.6291 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006741/0.5525, allocations: 2.264 MB / 0.6313 GB, free: 13.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.5525, allocations: 0.5625 kB / 0.6313 GB, free: 13.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004621/0.5572, allocations: 1.458 MB / 0.6328 GB, free: 11.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.5586, allocations: 80.14 kB / 0.6328 GB, free: 11.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005001/0.5636, allocations: 2.023 MB / 0.6348 GB, free: 9.809 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008043/0.5645, allocations: 1.026 MB / 0.6358 GB, free: 8.754 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004747/0.565, allocations: 75.97 kB / 0.6359 GB, free: 8.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.5652, allocations: 55.42 kB / 0.6359 GB, free: 8.625 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5653, allocations: 0 / 0.6359 GB, free: 8.625 MB / 446.1 MB Notification: Performance of Templates: time 0.03533/0.6006, allocations: 19.82 MB / 0.6553 GB, free: 4.988 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)