Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009474/0.0009474, allocations: 98.75 kB / 289.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4359/0.4359, allocations: 78.49 MB / 418.5 MB, free: 8.793 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001318, allocations: 63.91 kB / 497.4 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2726, allocations: 68.12 MB / 0.5523 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01036/0.283, allocations: 14.62 MB / 0.5666 GB, free: 5.551 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0072/0.2902, allocations: 3.652 MB / 0.5701 GB, free: 1.891 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002711/0.293, allocations: 43.88 kB / 0.5702 GB, free: 1.848 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.2951, allocations: 445.1 kB / 0.5706 GB, free: 1.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004656/0.2999, allocations: 1.244 MB / 0.5718 GB, free: 172 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003874/0.3037, allocations: 1.427 MB / 0.5732 GB, free: 14.76 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00511/0.3089, allocations: 3.64 MB / 0.5768 GB, free: 11.11 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/0.3108, allocations: 0.8041 MB / 0.5776 GB, free: 10.25 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002395/0.3132, allocations: 1.434 MB / 0.579 GB, free: 8.812 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002384/0.3156, allocations: 1.901 MB / 0.5808 GB, free: 6.902 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008446/0.3165, allocations: 180 kB / 0.581 GB, free: 6.727 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.3177, allocations: 315.8 kB / 0.5813 GB, free: 6.418 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009109/0.3186, allocations: 0.6763 MB / 0.5819 GB, free: 5.738 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002232/0.3209, allocations: 1.549 MB / 0.5835 GB, free: 4.18 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004351/0.3253, allocations: 3.88 MB / 0.5872 GB, free: 292 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3253, allocations: 0 / 0.5872 GB, free: 292 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3253, allocations: 0 / 0.5872 GB, free: 292 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001503/0.3254, allocations: 0 / 0.5872 GB, free: 292 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.0246/0.3501, allocations: 6.684 MB / 0.5938 GB, free: 9.504 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.3501, allocations: 8.031 kB / 0.5938 GB, free: 9.496 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01484/0.365, allocations: 2.282 MB / 0.596 GB, free: 7.207 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004758/0.3698, allocations: 1.902 MB / 0.5979 GB, free: 5.238 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008202/0.3706, allocations: 0.7289 MB / 0.5986 GB, free: 4.395 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009532/0.3716, allocations: 223.9 kB / 0.5988 GB, free: 4.176 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008216/0.3798, allocations: 3.051 MB / 0.6018 GB, free: 1.047 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.772e-05/0.3799, allocations: 0 / 0.6018 GB, free: 1.047 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002516/0.3802, allocations: 95.94 kB / 0.6019 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.533e-05/0.3802, allocations: 48 kB / 0.6019 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006139/0.3864, allocations: 2.8 MB / 0.6046 GB, free: 14.09 MB / 426.7 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.01868/0.4051, allocations: 9.97 MB / 0.6144 GB, free: 3.699 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/0.4162, allocations: 4.227 MB / 0.6185 GB, free: 15.33 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004308/0.4206, allocations: 1.987 MB / 0.6205 GB, free: 13.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003118/0.4209, allocations: 41.95 kB / 0.6205 GB, free: 13.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004608/0.4255, allocations: 2.252 MB / 0.6227 GB, free: 11.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 4.759e-06/0.4256, allocations: 0 / 0.6227 GB, free: 11.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.1289/0.5545, allocations: 28.82 MB / 0.6508 GB, free: 14.08 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.852e-05/0.5546, allocations: 184.2 kB / 0.651 GB, free: 13.86 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003304/0.5579, allocations: 2.325 MB / 0.6533 GB, free: 11.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005971/0.5585, allocations: 73.64 kB / 0.6534 GB, free: 11.44 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000788/0.5593, allocations: 1.184 MB / 0.6545 GB, free: 10.24 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001057/0.5604, allocations: 0.8897 MB / 0.6554 GB, free: 9.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001132/0.5615, allocations: 0.566 MB / 0.6559 GB, free: 8.766 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.347e-05/0.5616, allocations: 301.1 kB / 0.6562 GB, free: 8.469 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004353/0.5659, allocations: 1.99 MB / 0.6582 GB, free: 6.477 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004759/0.5707, allocations: 2.359 MB / 0.6605 GB, free: 4.027 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05647/0.6272, allocations: 14.37 MB / 0.6745 GB, free: 5.422 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-05/0.6273, allocations: 7.938 kB / 0.6745 GB, free: 5.414 MB / 490.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.2577/0.885, allocations: 12.61 MB / 0.6868 GB, free: 108.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.173e-05/0.8851, allocations: 111.6 kB / 0.6869 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.8851, allocations: 7.125 kB / 0.6869 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01935/0.9045, allocations: 5.435 MB / 0.6922 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00289/0.9074, allocations: 0.5775 MB / 0.6928 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05415/0.9616, allocations: 21.75 MB / 0.7141 GB, free: 94.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004358/0.9659, allocations: 494 kB / 0.7145 GB, free: 94.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005408/0.9665, allocations: 120 kB / 0.7146 GB, free: 94.3 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 331 * Array equations: 0 * Algorithm blocks: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.001128/0.9676, allocations: 0.5464 MB / 0.7152 GB, free: 93.74 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005911/0.9682, allocations: 301.7 kB / 0.7155 GB, free: 93.51 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03826/1.007, allocations: 11.95 MB / 0.7271 GB, free: 81.47 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/1.007, allocations: 24 kB / 0.7272 GB, free: 81.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.56e-05/1.007, allocations: 20 kB / 0.7272 GB, free: 81.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-05/1.007, allocations: 11.95 kB / 0.7272 GB, free: 81.41 MB / 490.7 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.04267/1.049, allocations: 15.58 MB / 0.7424 GB, free: 65.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.092e-05/1.049, allocations: 0 / 0.7424 GB, free: 65.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/1.051, allocations: 251.6 kB / 0.7426 GB, free: 65.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01716/1.069, allocations: 5.291 MB / 0.7478 GB, free: 60.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005561/1.069, allocations: 55.98 kB / 0.7479 GB, free: 60.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05007/1.119, allocations: 22.67 MB / 0.77 GB, free: 37.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.119, allocations: 0 / 0.77 GB, free: 37.05 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2751/1.394, allocations: 93.67 MB / 0.8615 GB, free: 6.613 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008756/1.395, allocations: 408.8 kB / 0.8619 GB, free: 6.191 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006115/1.396, allocations: 52 kB / 0.8619 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00309/1.399, allocations: 299.6 kB / 0.8622 GB, free: 5.848 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002207/1.401, allocations: 0.5644 MB / 0.8628 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003188/1.402, allocations: 63.98 kB / 0.8628 GB, free: 5.219 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002342/1.404, allocations: 1.543 MB / 0.8643 GB, free: 3.672 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.81e-07/1.404, allocations: 4 kB / 0.8643 GB, free: 3.668 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004782/1.409, allocations: 1.673 MB / 0.866 GB, free: 1.996 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004334/1.409, allocations: 178.9 kB / 0.8661 GB, free: 1.809 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01813/1.427, allocations: 6.681 MB / 0.8727 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.427, allocations: 0 / 0.8727 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01342/1.441, allocations: 4.43 MB / 0.877 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/1.443, allocations: 261.3 kB / 0.8772 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02107/1.464, allocations: 10.27 MB / 0.8873 GB, free: 11.91 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001824/1.466, allocations: 1.936 MB / 0.8892 GB, free: 9.934 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001327/1.467, allocations: 286.7 kB / 0.8894 GB, free: 9.652 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007148/1.468, allocations: 171.4 kB / 0.8896 GB, free: 9.484 MB / 0.573 GB Notification: Performance of SimCode: time 5.41e-07/1.468, allocations: 0 / 0.8896 GB, free: 9.484 MB / 0.573 GB Notification: Performance of Templates: time 0.3054/1.773, allocations: 88.97 MB / 0.9765 GB, free: 135.2 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)