Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07734/0.07734, allocations: 12.6 MB / 28.85 MB, free: 244 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 115.4 kB / 32.45 MB, free: 3.395 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.1 MB / 241 MB, free: 12.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 187.3 kB / 291.3 MB, free: 13.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4307/0.4307, allocations: 78.5 MB / 419.9 MB, free: 11.27 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002652/0.002652, allocations: 147.8 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3273, allocations: 68.11 MB / 0.556 GB, free: 32.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.007085/0.3345, allocations: 6.548 MB / 0.5624 GB, free: 28.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004221/0.3388, allocations: 1.92 MB / 0.5643 GB, free: 26.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.3398, allocations: 11.22 kB / 0.5643 GB, free: 26.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000749/0.3406, allocations: 246.3 kB / 0.5645 GB, free: 26.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.3427, allocations: 0.798 MB / 0.5653 GB, free: 25.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.344, allocations: 0.6267 MB / 0.5659 GB, free: 25.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001751/0.3457, allocations: 1.578 MB / 0.5674 GB, free: 24.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004691/0.3462, allocations: 325 kB / 0.5678 GB, free: 24.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000811/0.347, allocations: 0.6546 MB / 0.5684 GB, free: 23.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007393/0.3478, allocations: 0.8179 MB / 0.5692 GB, free: 23.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.348, allocations: 122.2 kB / 0.5693 GB, free: 23.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005223/0.3485, allocations: 258.8 kB / 0.5696 GB, free: 23.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.3487, allocations: 332.5 kB / 0.5699 GB, free: 22.76 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004735/0.3492, allocations: 0.6729 MB / 0.5705 GB, free: 22.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.3506, allocations: 1.664 MB / 0.5722 GB, free: 21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3506, allocations: 0 / 0.5722 GB, free: 21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3506, allocations: 0 / 0.5722 GB, free: 21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.3507, allocations: 0 / 0.5722 GB, free: 21 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.008028/0.3587, allocations: 2.687 MB / 0.5748 GB, free: 19.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.3587, allocations: 13.3 kB / 0.5748 GB, free: 19.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004805/0.3636, allocations: 0.7725 MB / 0.5755 GB, free: 18.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.3652, allocations: 0.899 MB / 0.5764 GB, free: 18.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002493/0.3654, allocations: 255.9 kB / 0.5767 GB, free: 18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.3656, allocations: 86.14 kB / 0.5767 GB, free: 17.94 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.3673, allocations: 1.086 MB / 0.5778 GB, free: 16.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.3674, allocations: 0 / 0.5778 GB, free: 16.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-05/0.3675, allocations: 32 kB / 0.5778 GB, free: 16.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.3675, allocations: 16 kB / 0.5779 GB, free: 16.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001602/0.3691, allocations: 0.9838 MB / 0.5788 GB, free: 15.81 MB / 398.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.005536/0.3746, allocations: 3.8 MB / 0.5825 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00611/0.3808, allocations: 2.365 MB / 0.5848 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.3819, allocations: 0.6761 MB / 0.5855 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.3821, allocations: 20.98 kB / 0.5855 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00127/0.3833, allocations: 0.8099 MB / 0.5863 GB, free: 7.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=95): time 2.324e-06/0.3833, allocations: 0 / 0.5863 GB, free: 7.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=95): time 0.02483/0.4082, allocations: 7.194 MB / 0.5933 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.4083, allocations: 119.8 kB / 0.5934 GB, free: 456 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.4099, allocations: 1.095 MB / 0.5945 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002614/0.4102, allocations: 41.7 kB / 0.5946 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/0.4106, allocations: 492.8 kB / 0.595 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000372/0.4109, allocations: 355.1 kB / 0.5954 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004894/0.4114, allocations: 279.4 kB / 0.5956 GB, free: 14.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.4115, allocations: 305.1 kB / 0.5959 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/0.413, allocations: 0.7535 MB / 0.5967 GB, free: 13.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.4146, allocations: 0.9265 MB / 0.5976 GB, free: 12.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02173/0.4363, allocations: 5.556 MB / 0.603 GB, free: 6.508 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.4364, allocations: 0 / 0.603 GB, free: 6.508 MB / 414.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01244/0.4488, allocations: 4.368 MB / 0.6073 GB, free: 2.113 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.219e-05/0.4489, allocations: 63.34 kB / 0.6073 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.4489, allocations: 4 kB / 0.6073 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005348/0.4543, allocations: 1.591 MB / 0.6089 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.4557, allocations: 275.6 kB / 0.6091 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01831/0.474, allocations: 8.502 MB / 0.6174 GB, free: 7.508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/0.476, allocations: 210.6 kB / 0.6176 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.4762, allocations: 55.92 kB / 0.6177 GB, free: 7.246 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000592/0.4768, allocations: 299.8 kB / 0.618 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.477, allocations: 118.5 kB / 0.6181 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0116/0.4886, allocations: 3.873 MB / 0.6219 GB, free: 2.922 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.4886, allocations: 12 kB / 0.6219 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.4886, allocations: 7.938 kB / 0.6219 GB, free: 2.902 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.897e-05/0.4887, allocations: 7.984 kB / 0.6219 GB, free: 2.895 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 postOpt removeSimpleEquations (simulation): time 0.01343/0.5021, allocations: 5.455 MB / 0.6272 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.5022, allocations: 0 / 0.6272 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005918/0.5028, allocations: 99.89 kB / 0.6273 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005222/0.508, allocations: 1.614 MB / 0.6289 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/0.5082, allocations: 16 kB / 0.6289 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0189/0.5271, allocations: 9.631 MB / 0.6383 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5271, allocations: 0 / 0.6383 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01345/0.5406, allocations: 4.719 MB / 0.6429 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006108/0.5412, allocations: 227.3 kB / 0.6431 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.5414, allocations: 19.94 kB / 0.6432 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.5425, allocations: 111.9 kB / 0.6433 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005814/0.5431, allocations: 196.8 kB / 0.6435 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-05/0.5432, allocations: 32 kB / 0.6435 GB, free: 12.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001045/0.5443, allocations: 0.7315 MB / 0.6442 GB, free: 11.58 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5443, allocations: 0 / 0.6442 GB, free: 11.58 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001382/0.5457, allocations: 479.5 kB / 0.6447 GB, free: 11.11 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002814/0.5459, allocations: 133.2 kB / 0.6448 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005837/0.5518, allocations: 2.525 MB / 0.6473 GB, free: 8.414 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5518, allocations: 0 / 0.6473 GB, free: 8.414 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003893/0.5557, allocations: 1.589 MB / 0.6488 GB, free: 6.781 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009955/0.5567, allocations: 117.7 kB / 0.6489 GB, free: 6.664 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003735/0.5605, allocations: 2.2 MB / 0.6511 GB, free: 4.445 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006348/0.5611, allocations: 1.116 MB / 0.6522 GB, free: 3.297 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004017/0.5615, allocations: 128 kB / 0.6523 GB, free: 3.168 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/0.5618, allocations: 79.41 kB / 0.6524 GB, free: 3.09 MB / 462.1 MB Notification: Performance of SimCode: time 8.81e-07/0.5618, allocations: 0 / 0.6524 GB, free: 3.09 MB / 462.1 MB Notification: Performance of Templates: time 0.03589/0.5977, allocations: 23.58 MB / 0.6754 GB, free: 11.54 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)