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.001144/0.001144, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.307/1.307, allocations: 223.2 MB / 238.9 MB, free: 5.57 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.001134/0.001134, allocations: 185 kB / 290.2 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4513/0.4513, allocations: 78.53 MB / 419.8 MB, free: 4.344 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004567/0.0004568, allocations: 16 kB / 499.7 MB, free: 6.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1363, allocations: 69.36 MB / 0.5557 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.2084/0.3448, allocations: 4.966 MB / 0.5605 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002918/0.3478, allocations: 1.696 MB / 0.5622 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007865/0.3486, allocations: 11.62 kB / 0.5622 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006256/0.3492, allocations: 145.4 kB / 0.5623 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.351, allocations: 0.618 MB / 0.5629 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.3521, allocations: 472.9 kB / 0.5634 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0014/0.3535, allocations: 0.8031 MB / 0.5642 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004033/0.3539, allocations: 216.4 kB / 0.5644 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007476/0.3547, allocations: 458.5 kB / 0.5648 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007746/0.3555, allocations: 0.5484 MB / 0.5654 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002198/0.3557, allocations: 47.12 kB / 0.5654 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005889/0.3563, allocations: 154.7 kB / 0.5655 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002428/0.3566, allocations: 189 kB / 0.5657 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003203/0.3569, allocations: 197.6 kB / 0.5659 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.358, allocations: 0.9354 MB / 0.5668 GB, free: 36.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.358, allocations: 0.5312 kB / 0.5668 GB, free: 36.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.358, allocations: 0.5938 kB / 0.5668 GB, free: 36.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.618e-05/0.3581, allocations: 0 / 0.5668 GB, free: 36.65 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.006975/0.3651, allocations: 2.185 MB / 0.569 GB, free: 35.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.3651, allocations: 10.84 kB / 0.569 GB, free: 35.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004807/0.3699, allocations: 0.7669 MB / 0.5697 GB, free: 35.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.3712, allocations: 0.6581 MB / 0.5704 GB, free: 35.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002834/0.3715, allocations: 264.7 kB / 0.5706 GB, free: 35.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/0.3717, allocations: 65.34 kB / 0.5707 GB, free: 35.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/0.3738, allocations: 1.011 MB / 0.5717 GB, free: 35.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.3738, allocations: 2.938 kB / 0.5717 GB, free: 35.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.19e-05/0.3739, allocations: 21.75 kB / 0.5717 GB, free: 35.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.3739, allocations: 18 kB / 0.5717 GB, free: 35.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/0.3759, allocations: 1.055 MB / 0.5727 GB, free: 35.25 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.005059/0.3809, allocations: 3.316 MB / 0.576 GB, free: 33.55 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.3828, allocations: 1.38 MB / 0.5773 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.3829, allocations: 13.7 kB / 0.5773 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.3829, allocations: 45.7 kB / 0.5774 GB, free: 32.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.545e-06/0.3829, allocations: 0 / 0.5774 GB, free: 32.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02796/0.4109, allocations: 8.272 MB / 0.5855 GB, free: 31.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.411, allocations: 65.62 kB / 0.5855 GB, free: 31.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/0.4125, allocations: 0.7807 MB / 0.5863 GB, free: 30.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002309/0.4127, allocations: 44.02 kB / 0.5863 GB, free: 30.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004036/0.4132, allocations: 431.6 kB / 0.5867 GB, free: 30.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005015/0.4137, allocations: 293.6 kB / 0.587 GB, free: 30.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.4138, allocations: 20.03 kB / 0.587 GB, free: 30.22 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.414, allocations: 348.1 kB / 0.5874 GB, free: 29.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001732/0.4157, allocations: 0.7141 MB / 0.5881 GB, free: 29.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.4174, allocations: 0.8271 MB / 0.5889 GB, free: 29.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/0.4191, allocations: 0.7592 MB / 0.5896 GB, free: 29.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/0.4191, allocations: 1.156 kB / 0.5896 GB, free: 29.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01444/0.4336, allocations: 4.925 MB / 0.5944 GB, free: 27.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.4336, allocations: 7.312 kB / 0.5944 GB, free: 27.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.4337, allocations: 1.781 kB / 0.5944 GB, free: 27.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006801/0.4405, allocations: 2.167 MB / 0.5966 GB, free: 27.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008672/0.4414, allocations: 172.2 kB / 0.5967 GB, free: 27.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02227/0.4637, allocations: 9.798 MB / 0.6063 GB, free: 23.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.4652, allocations: 189.6 kB / 0.6065 GB, free: 23.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002183/0.4654, allocations: 36.89 kB / 0.6065 GB, free: 23.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006404/0.4661, allocations: 220.3 kB / 0.6067 GB, free: 23.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003201/0.4664, allocations: 107.8 kB / 0.6068 GB, free: 23.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01381/0.4802, allocations: 4.726 MB / 0.6114 GB, free: 20.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/0.4803, allocations: 8.797 kB / 0.6114 GB, free: 20.74 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4803, allocations: 0 / 0.6114 GB, free: 20.74 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.503e-05/0.4804, allocations: 7.984 kB / 0.6114 GB, free: 20.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01463/0.495, allocations: 6.232 MB / 0.6175 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.4951, allocations: 3.953 kB / 0.6175 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004988/0.4956, allocations: 95.89 kB / 0.6176 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00557/0.5012, allocations: 2.052 MB / 0.6196 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/0.5013, allocations: 13.19 kB / 0.6196 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01686/0.5182, allocations: 8.649 MB / 0.6281 GB, free: 3.531 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5182, allocations: 8 kB / 0.6281 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01463/0.5329, allocations: 5.661 MB / 0.6336 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000439/0.5334, allocations: 191.7 kB / 0.6338 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003304/0.5337, allocations: 19.95 kB / 0.6338 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.5348, allocations: 128 kB / 0.634 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006442/0.5355, allocations: 198 kB / 0.6341 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.5356, allocations: 20.81 kB / 0.6342 GB, free: 13.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007607/0.5364, allocations: 0.5185 MB / 0.6347 GB, free: 12.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5364, allocations: 5.344 kB / 0.6347 GB, free: 12.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001928/0.5383, allocations: 403.5 kB / 0.6351 GB, free: 12.36 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004038/0.5387, allocations: 127.2 kB / 0.6352 GB, free: 12.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007682/0.5464, allocations: 2.556 MB / 0.6377 GB, free: 9.656 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.5465, allocations: 0 / 0.6377 GB, free: 9.656 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004941/0.5514, allocations: 1.681 MB / 0.6393 GB, free: 7.965 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007809/0.5523, allocations: 68.39 kB / 0.6394 GB, free: 7.898 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003438/0.5557, allocations: 1.981 MB / 0.6413 GB, free: 5.922 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006122/0.5563, allocations: 1.049 MB / 0.6423 GB, free: 4.844 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003133/0.5567, allocations: 80.56 kB / 0.6424 GB, free: 4.766 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.5569, allocations: 59.42 kB / 0.6425 GB, free: 4.707 MB / 446.1 MB Notification: Performance of SimCode: time 1.163e-06/0.5569, allocations: 0 / 0.6425 GB, free: 4.707 MB / 446.1 MB Notification: Performance of Templates: time 0.02984/0.5867, allocations: 18.79 MB / 0.6608 GB, free: 2.098 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: