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.11/0.11, allocations: 12.21 MB / 27.47 MB, free: 0.9297 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.0009106/0.0009109, allocations: 95.52 kB / 31 MB, free: 4.535 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.479/1.479, allocations: 205.4 MB / 239.8 MB, free: 13.52 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.0014/0.0014, allocations: 176.5 kB / 291 MB, free: 13.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4513/0.4513, allocations: 78.52 MB / 420.5 MB, free: 12.16 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.0009086/0.0009088, allocations: 27.98 kB / 0.4901 GB, free: 10.76 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3506, allocations: 69.23 MB / 0.5577 GB, free: 21.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.006092/0.3568, allocations: 6.537 MB / 0.5641 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004312/0.3611, allocations: 1.991 MB / 0.566 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008973/0.3621, allocations: 15.94 kB / 0.566 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000692/0.3628, allocations: 186.8 kB / 0.5662 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001989/0.3648, allocations: 0.71 MB / 0.5669 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.366, allocations: 0.6075 MB / 0.5675 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001433/0.3674, allocations: 1.546 MB / 0.569 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003822/0.3678, allocations: 285.4 kB / 0.5693 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006649/0.3685, allocations: 0.5792 MB / 0.5699 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000642/0.3692, allocations: 0.7814 MB / 0.5706 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.3693, allocations: 64 kB / 0.5707 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004089/0.3697, allocations: 191.9 kB / 0.5709 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.3699, allocations: 266.6 kB / 0.5711 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003998/0.3703, allocations: 0.6383 MB / 0.5717 GB, free: 6.594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.3714, allocations: 1.595 MB / 0.5733 GB, free: 4.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3714, allocations: 0 / 0.5733 GB, free: 4.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3714, allocations: 0 / 0.5733 GB, free: 4.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.3714, allocations: 0 / 0.5733 GB, free: 4.992 MB / 382.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.008031/0.3795, allocations: 2.564 MB / 0.5758 GB, free: 2.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.3795, allocations: 15.98 kB / 0.5758 GB, free: 2.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004842/0.3844, allocations: 0.7826 MB / 0.5766 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.3861, allocations: 0.9178 MB / 0.5775 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002571/0.3864, allocations: 268.2 kB / 0.5777 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.3866, allocations: 80 kB / 0.5778 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00231/0.3889, allocations: 1.169 MB / 0.579 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.389, allocations: 3.938 kB / 0.579 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.3891, allocations: 32 kB / 0.579 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.3891, allocations: 20 kB / 0.579 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.3912, allocations: 1.05 MB / 0.58 GB, free: 13.92 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.006868/0.398, allocations: 3.976 MB / 0.5839 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008021/0.4061, allocations: 2.926 MB / 0.5868 GB, free: 6.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.4078, allocations: 0.7513 MB / 0.5875 GB, free: 5.996 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.724e-05/0.4079, allocations: 16.98 kB / 0.5875 GB, free: 5.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001711/0.4096, allocations: 0.888 MB / 0.5884 GB, free: 5.074 MB / 398.1 MB Notification: Performance of pre-optimization done (n=97): time 5.13e-06/0.4096, allocations: 3.984 kB / 0.5884 GB, free: 5.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=97): time 0.03196/0.4416, allocations: 8.835 MB / 0.597 GB, free: 12.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.028e-05/0.4417, allocations: 115.8 kB / 0.5971 GB, free: 12.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/0.4436, allocations: 1.131 MB / 0.5982 GB, free: 10.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002436/0.4438, allocations: 49.73 kB / 0.5983 GB, free: 10.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003698/0.4442, allocations: 0.493 MB / 0.5988 GB, free: 10.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004005/0.4446, allocations: 359 kB / 0.5991 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.4448, allocations: 149.6 kB / 0.5993 GB, free: 9.824 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4449, allocations: 305.1 kB / 0.5995 GB, free: 9.523 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/0.4466, allocations: 0.8433 MB / 0.6004 GB, free: 8.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.4484, allocations: 1.008 MB / 0.6014 GB, free: 7.633 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02579/0.4742, allocations: 6.238 MB / 0.6074 GB, free: 1.309 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/0.4743, allocations: 0 / 0.6074 GB, free: 1.309 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01658/0.4909, allocations: 5.293 MB / 0.6126 GB, free: 11.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.554e-05/0.491, allocations: 63.34 kB / 0.6127 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.491, allocations: 3.984 kB / 0.6127 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006779/0.4978, allocations: 1.919 MB / 0.6146 GB, free: 9.988 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.4995, allocations: 299.5 kB / 0.6148 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02213/0.5216, allocations: 8.925 MB / 0.6236 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002525/0.5242, allocations: 242.7 kB / 0.6238 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000368/0.5246, allocations: 55.97 kB / 0.6238 GB, free: 340 kB / 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.001071/0.5257, allocations: 308.3 kB / 0.6241 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004794/0.5262, allocations: 126.6 kB / 0.6243 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01469/0.5409, allocations: 4.752 MB / 0.6289 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.762e-05/0.541, allocations: 12 kB / 0.6289 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.679e-05/0.541, allocations: 4 kB / 0.6289 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.009e-05/0.5411, allocations: 7.984 kB / 0.6289 GB, free: 11.08 MB / 446.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.01792/0.559, allocations: 6.364 MB / 0.6351 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/0.5591, allocations: 4 kB / 0.6351 GB, free: 4.609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007734/0.5598, allocations: 103.8 kB / 0.6352 GB, free: 4.508 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006231/0.5661, allocations: 1.863 MB / 0.6371 GB, free: 2.637 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002852/0.5664, allocations: 23.94 kB / 0.6371 GB, free: 2.613 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02269/0.5891, allocations: 9.707 MB / 0.6466 GB, free: 8.625 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.5892, allocations: 0 / 0.6466 GB, free: 8.625 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01725/0.6064, allocations: 5.694 MB / 0.6521 GB, free: 2.898 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007004/0.6072, allocations: 235.2 kB / 0.6523 GB, free: 2.648 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004298/0.6077, allocations: 16 kB / 0.6524 GB, free: 2.633 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/0.6093, allocations: 147.9 kB / 0.6525 GB, free: 2.488 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007149/0.61, allocations: 192.7 kB / 0.6527 GB, free: 2.297 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.6101, allocations: 24 kB / 0.6527 GB, free: 2.273 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001516/0.6117, allocations: 0.7592 MB / 0.6534 GB, free: 1.508 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6117, allocations: 4 kB / 0.6534 GB, free: 1.504 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00195/0.6136, allocations: 483.5 kB / 0.6539 GB, free: 1.031 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.000371/0.614, allocations: 135.4 kB / 0.654 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00761/0.6216, allocations: 2.878 MB / 0.6568 GB, free: 13.96 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6217, allocations: 0 / 0.6568 GB, free: 13.96 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004828/0.6265, allocations: 1.802 MB / 0.6586 GB, free: 12.12 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.6281, allocations: 127.8 kB / 0.6587 GB, free: 12 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005331/0.6334, allocations: 2.893 MB / 0.6616 GB, free: 9.086 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009199/0.6344, allocations: 1.128 MB / 0.6627 GB, free: 7.926 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006141/0.635, allocations: 120.1 kB / 0.6628 GB, free: 7.805 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/0.6354, allocations: 75.41 kB / 0.6628 GB, free: 7.73 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6354, allocations: 4 kB / 0.6628 GB, free: 7.727 MB / 478.1 MB Notification: Performance of Templates: time 0.04066/0.6761, allocations: 21.63 MB / 0.684 GB, free: 2.133 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: