Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07859/0.07859, allocations: 12.2 MB / 28.09 MB, free: 1.352 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 117 kB / 31.59 MB, free: 4.586 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.445/1.445, allocations: 205.1 MB / 240.1 MB, free: 13.63 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.00162/0.00162, allocations: 192.4 kB / 290.2 MB, free: 14.19 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4876/0.4876, allocations: 78.5 MB / 418.8 MB, free: 12 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.002609/0.00261, allocations: 131.8 kB / 499.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3654, allocations: 68.03 MB / 0.5538 GB, free: 32.74 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.007302/0.3727, allocations: 6.999 MB / 0.5606 GB, free: 27.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004557/0.3773, allocations: 1.99 MB / 0.5626 GB, free: 26.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009937/0.3783, allocations: 11 kB / 0.5626 GB, free: 26.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007731/0.3792, allocations: 192.3 kB / 0.5628 GB, free: 26.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.3812, allocations: 0.7124 MB / 0.5635 GB, free: 25.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.3824, allocations: 0.592 MB / 0.5641 GB, free: 25.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00159/0.384, allocations: 1.623 MB / 0.5656 GB, free: 24.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004699/0.3845, allocations: 336.8 kB / 0.566 GB, free: 24.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008311/0.3854, allocations: 0.6788 MB / 0.5666 GB, free: 23.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007973/0.3862, allocations: 0.8504 MB / 0.5675 GB, free: 23.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002153/0.3864, allocations: 129.4 kB / 0.5676 GB, free: 23.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00056/0.387, allocations: 268.7 kB / 0.5678 GB, free: 22.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.3872, allocations: 345.9 kB / 0.5682 GB, free: 22.67 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005224/0.3877, allocations: 0.6906 MB / 0.5688 GB, free: 22.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.389, allocations: 1.317 MB / 0.5701 GB, free: 21.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.389, allocations: 0 / 0.5701 GB, free: 21.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.389, allocations: 1.094 kB / 0.5701 GB, free: 21.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.389, allocations: 0 / 0.5701 GB, free: 21.15 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.008847/0.3979, allocations: 2.752 MB / 0.5728 GB, free: 19.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.042e-05/0.398, allocations: 13.23 kB / 0.5728 GB, free: 19.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004909/0.4029, allocations: 0.7776 MB / 0.5736 GB, free: 19.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/0.4046, allocations: 0.9182 MB / 0.5745 GB, free: 18.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002668/0.4049, allocations: 255.2 kB / 0.5747 GB, free: 18.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.4051, allocations: 87 kB / 0.5748 GB, free: 18.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/0.4074, allocations: 1.1 MB / 0.5759 GB, free: 17.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.4075, allocations: 3.938 kB / 0.5759 GB, free: 17.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.752e-05/0.4076, allocations: 30.97 kB / 0.5759 GB, free: 17.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.4076, allocations: 18.09 kB / 0.5759 GB, free: 17.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.4094, allocations: 1.002 MB / 0.5769 GB, free: 16.46 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.005748/0.4152, allocations: 3.883 MB / 0.5807 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006554/0.4218, allocations: 2.396 MB / 0.583 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/0.4229, allocations: 0.6879 MB / 0.5837 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.423, allocations: 12.98 kB / 0.5837 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001363/0.4244, allocations: 0.8216 MB / 0.5845 GB, free: 8.363 MB / 398.1 MB Notification: Performance of pre-optimization done (n=97): time 2.535e-06/0.4244, allocations: 4 kB / 0.5845 GB, free: 8.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=97): time 0.02647/0.4509, allocations: 7.225 MB / 0.5916 GB, free: 1.066 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.451, allocations: 115.8 kB / 0.5917 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.4525, allocations: 1.123 MB / 0.5928 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002015/0.4527, allocations: 45.7 kB / 0.5928 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003914/0.4531, allocations: 0.4968 MB / 0.5933 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004073/0.4535, allocations: 362.9 kB / 0.5937 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000528/0.4541, allocations: 299.4 kB / 0.594 GB, free: 14.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4542, allocations: 301.1 kB / 0.5942 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.4558, allocations: 0.7809 MB / 0.595 GB, free: 13.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/0.4575, allocations: 0.9538 MB / 0.5959 GB, free: 12.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02462/0.4821, allocations: 5.816 MB / 0.6016 GB, free: 6.609 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.4822, allocations: 0 / 0.6016 GB, free: 6.609 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01406/0.4963, allocations: 4.442 MB / 0.606 GB, free: 2.141 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.596e-05/0.4964, allocations: 63.34 kB / 0.606 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.4964, allocations: 8 kB / 0.606 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006303/0.5027, allocations: 1.638 MB / 0.6076 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.5045, allocations: 291.6 kB / 0.6079 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02203/0.5266, allocations: 8.619 MB / 0.6163 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002149/0.5288, allocations: 210.6 kB / 0.6165 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.529, allocations: 63.89 kB / 0.6166 GB, free: 7.09 MB / 430.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (167): * Single equations (assignments): 164 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006227/0.5296, allocations: 308 kB / 0.6169 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002563/0.5299, allocations: 126.4 kB / 0.617 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/0.5425, allocations: 3.904 MB / 0.6208 GB, free: 2.715 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/0.5425, allocations: 12 kB / 0.6208 GB, free: 2.703 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.5425, allocations: 8 kB / 0.6208 GB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.371e-05/0.5426, allocations: 7.984 kB / 0.6208 GB, free: 2.688 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.01456/0.5571, allocations: 5.508 MB / 0.6262 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.5572, allocations: 3.938 kB / 0.6262 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006547/0.5578, allocations: 103.8 kB / 0.6263 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005272/0.5631, allocations: 1.586 MB / 0.6279 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/0.5633, allocations: 20 kB / 0.6279 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01967/0.583, allocations: 9.671 MB / 0.6373 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.583, allocations: 0 / 0.6373 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01423/0.5972, allocations: 4.772 MB / 0.642 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006432/0.5979, allocations: 223.2 kB / 0.6422 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004534/0.5984, allocations: 27.94 kB / 0.6422 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/0.5999, allocations: 111.8 kB / 0.6423 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006853/0.6006, allocations: 192.7 kB / 0.6425 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/0.6008, allocations: 31.98 kB / 0.6425 GB, free: 11.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001365/0.6021, allocations: 0.7514 MB / 0.6433 GB, free: 11.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6022, allocations: 0 / 0.6433 GB, free: 11.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001844/0.604, allocations: 491.5 kB / 0.6438 GB, free: 10.75 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003694/0.6044, allocations: 131.1 kB / 0.6439 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007073/0.6115, allocations: 2.636 MB / 0.6465 GB, free: 7.938 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6115, allocations: 0 / 0.6465 GB, free: 7.938 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004245/0.6157, allocations: 1.583 MB / 0.648 GB, free: 6.316 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.6172, allocations: 126.7 kB / 0.6481 GB, free: 6.199 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00518/0.6224, allocations: 2.837 MB / 0.6509 GB, free: 3.328 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008046/0.6232, allocations: 1.132 MB / 0.652 GB, free: 2.168 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003889/0.6236, allocations: 87.41 kB / 0.6521 GB, free: 2.082 MB / 462.1 MB Notification: Performance of SimCode: time 5.71e-07/0.6236, allocations: 0 / 0.6521 GB, free: 2.082 MB / 462.1 MB Notification: Performance of Templates: time 0.03267/0.6563, allocations: 23.87 MB / 0.6754 GB, free: 10.22 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)