Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1305/0.1305, allocations: 12.21 MB / 27.33 MB, free: 1.441 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.001558/0.001557, allocations: 119.4 kB / 30.83 MB, free: 4.711 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.397/1.397, allocations: 205.1 MB / 239.3 MB, free: 11.02 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.001564/0.001564, allocations: 188.5 kB / 289.5 MB, free: 15.89 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4616/0.4616, allocations: 78.51 MB / 418 MB, free: 31.77 MB / 318.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.002345/0.002345, allocations: 131.8 kB / 498.2 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3564, allocations: 68.03 MB / 0.553 GB, free: 37.46 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.006058/0.3625, allocations: 7.05 MB / 0.5598 GB, free: 32.31 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003806/0.3663, allocations: 2.036 MB / 0.5618 GB, free: 30.85 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005808/0.367, allocations: 11.5 kB / 0.5618 GB, free: 30.85 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000647/0.3677, allocations: 191.7 kB / 0.562 GB, free: 30.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.3692, allocations: 0.7213 MB / 0.5627 GB, free: 30.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.3702, allocations: 0.6023 MB / 0.5633 GB, free: 29.97 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001279/0.3715, allocations: 1.58 MB / 0.5649 GB, free: 29.22 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004029/0.3719, allocations: 289.3 kB / 0.5651 GB, free: 29.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006727/0.3726, allocations: 0.6239 MB / 0.5658 GB, free: 28.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000726/0.3734, allocations: 0.8317 MB / 0.5666 GB, free: 28.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.3735, allocations: 78.28 kB / 0.5666 GB, free: 28.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004093/0.3739, allocations: 207.3 kB / 0.5668 GB, free: 28.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002246/0.3742, allocations: 294.5 kB / 0.5671 GB, free: 28.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004544/0.3746, allocations: 0.6401 MB / 0.5677 GB, free: 27.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.3757, allocations: 1.667 MB / 0.5694 GB, free: 27.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3757, allocations: 0 / 0.5694 GB, free: 27.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3757, allocations: 0 / 0.5694 GB, free: 27.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.3757, allocations: 0 / 0.5694 GB, free: 27.07 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008383/0.3841, allocations: 2.788 MB / 0.5721 GB, free: 25.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.3841, allocations: 14.36 kB / 0.5721 GB, free: 25.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004616/0.3888, allocations: 0.7752 MB / 0.5729 GB, free: 25.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.3902, allocations: 0.9219 MB / 0.5738 GB, free: 25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002503/0.3905, allocations: 258.1 kB / 0.574 GB, free: 24.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.3907, allocations: 95.22 kB / 0.5741 GB, free: 24.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.3926, allocations: 1.11 MB / 0.5752 GB, free: 24.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.3927, allocations: 4 kB / 0.5752 GB, free: 24.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.422e-05/0.3928, allocations: 30.88 kB / 0.5752 GB, free: 24.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.3928, allocations: 19.06 kB / 0.5752 GB, free: 24.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/0.3947, allocations: 1 MB / 0.5762 GB, free: 23.96 MB / 414.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.006624/0.4013, allocations: 3.925 MB / 0.58 GB, free: 21.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007479/0.4088, allocations: 2.407 MB / 0.5824 GB, free: 20.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.4102, allocations: 0.698 MB / 0.5831 GB, free: 20.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.4103, allocations: 16.11 kB / 0.5831 GB, free: 20.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001608/0.412, allocations: 0.8358 MB / 0.5839 GB, free: 20.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 2.875e-06/0.412, allocations: 0 / 0.5839 GB, free: 20.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=98): time 0.0282/0.4402, allocations: 7.089 MB / 0.5908 GB, free: 17.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.4403, allocations: 113.9 kB / 0.5909 GB, free: 17.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/0.4424, allocations: 1.14 MB / 0.5921 GB, free: 16.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002207/0.4427, allocations: 46.17 kB / 0.5921 GB, free: 16.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003211/0.443, allocations: 0.4969 MB / 0.5926 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003625/0.4433, allocations: 365.8 kB / 0.5929 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005163/0.4439, allocations: 297.7 kB / 0.5932 GB, free: 15.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.067e-05/0.4439, allocations: 306.2 kB / 0.5935 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.4456, allocations: 0.7943 MB / 0.5943 GB, free: 14.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/0.4472, allocations: 0.9749 MB / 0.5952 GB, free: 14.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02274/0.47, allocations: 5.929 MB / 0.601 GB, free: 9.117 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/0.4701, allocations: 3.938 kB / 0.601 GB, free: 9.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01215/0.4822, allocations: 4.5 MB / 0.6054 GB, free: 4.586 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/0.4823, allocations: 67.39 kB / 0.6055 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/0.4823, allocations: 4 kB / 0.6055 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005408/0.4877, allocations: 1.661 MB / 0.6071 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.4892, allocations: 291.6 kB / 0.6074 GB, free: 2.555 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0176/0.5068, allocations: 7.956 MB / 0.6152 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/0.5092, allocations: 218.5 kB / 0.6154 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.5093, allocations: 55.98 kB / 0.6154 GB, free: 10.18 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.delta:VARIABLE(flow=false start = order6.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 (171): * Single equations (assignments): 168 * 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.0007119/0.51, allocations: 312.7 kB / 0.6157 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.5102, allocations: 126.4 kB / 0.6158 GB, free: 9.734 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/0.5223, allocations: 3.916 MB / 0.6197 GB, free: 5.793 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.517e-06/0.5223, allocations: 8 kB / 0.6197 GB, free: 5.785 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-05/0.5224, allocations: 8 kB / 0.6197 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.5224, allocations: 7.984 kB / 0.6197 GB, free: 5.77 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.01416/0.5366, allocations: 5.563 MB / 0.6251 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/0.5366, allocations: 4 kB / 0.6251 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007891/0.5374, allocations: 99.94 kB / 0.6252 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005361/0.5428, allocations: 1.598 MB / 0.6268 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002183/0.543, allocations: 24 kB / 0.6268 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01833/0.5614, allocations: 8.773 MB / 0.6354 GB, free: 5.312 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.5614, allocations: 0 / 0.6354 GB, free: 5.312 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01421/0.5756, allocations: 4.803 MB / 0.6401 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005944/0.5763, allocations: 231.2 kB / 0.6403 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004269/0.5767, allocations: 20 kB / 0.6403 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/0.5782, allocations: 107.9 kB / 0.6404 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007238/0.5789, allocations: 196.6 kB / 0.6406 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/0.5791, allocations: 28.06 kB / 0.6406 GB, free: 15.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001548/0.5806, allocations: 0.7713 MB / 0.6414 GB, free: 15.11 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5806, allocations: 3.938 kB / 0.6414 GB, free: 15.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001993/0.5826, allocations: 491.6 kB / 0.6418 GB, free: 14.62 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (66): * Single equations (assignments): 63 * 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.000368/0.583, allocations: 139.1 kB / 0.642 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007008/0.59, allocations: 2.632 MB / 0.6445 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5901, allocations: 0 / 0.6445 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004272/0.5943, allocations: 1.609 MB / 0.6461 GB, free: 10.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.5957, allocations: 120.3 kB / 0.6462 GB, free: 10.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005076/0.6008, allocations: 2.884 MB / 0.6491 GB, free: 7.141 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008028/0.6016, allocations: 1.132 MB / 0.6502 GB, free: 5.977 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005472/0.6021, allocations: 120.3 kB / 0.6503 GB, free: 5.855 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003338/0.6025, allocations: 79.41 kB / 0.6503 GB, free: 5.777 MB / 462.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6025, allocations: 0 / 0.6503 GB, free: 5.777 MB / 462.1 MB Notification: Performance of Templates: time 0.03709/0.6396, allocations: 22.39 MB / 0.6722 GB, free: 15.39 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)