Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006037/0.006037, allocations: 104.5 kB / 15.74 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 239.4 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 180.5 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4515/0.4515, allocations: 78.52 MB / 418.4 MB, free: 3.121 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 84.08 kB / 0.5537 GB, free: 0.875 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3424, allocations: 68.16 MB / 0.6202 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01021/0.3527, allocations: 13.82 MB / 0.6337 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007338/0.3601, allocations: 3.511 MB / 0.6372 GB, free: 8.816 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001637/0.3617, allocations: 31.94 kB / 0.6372 GB, free: 8.785 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.363, allocations: 0.5693 MB / 0.6378 GB, free: 8.207 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003562/0.3666, allocations: 1.592 MB / 0.6393 GB, free: 6.617 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003176/0.3698, allocations: 1.527 MB / 0.6408 GB, free: 5.109 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004217/0.374, allocations: 3.812 MB / 0.6445 GB, free: 1.281 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.3751, allocations: 0.9013 MB / 0.6454 GB, free: 336 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.3771, allocations: 1.567 MB / 0.6469 GB, free: 14.75 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/0.3793, allocations: 2.007 MB / 0.6489 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004662/0.3798, allocations: 292 kB / 0.6492 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008194/0.3806, allocations: 443.8 kB / 0.6496 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006199/0.3813, allocations: 0.778 MB / 0.6504 GB, free: 11.24 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001494/0.3828, allocations: 1.658 MB / 0.652 GB, free: 9.57 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003917/0.3867, allocations: 4.045 MB / 0.6559 GB, free: 5.516 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3867, allocations: 4 kB / 0.6559 GB, free: 5.512 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3867, allocations: 0 / 0.6559 GB, free: 5.512 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.627e-05/0.3868, allocations: 0 / 0.6559 GB, free: 5.512 MB / 462.1 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.02284/0.4096, allocations: 6.676 MB / 0.6625 GB, free: 14.74 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.4097, allocations: 8.031 kB / 0.6625 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01452/0.4242, allocations: 2.282 MB / 0.6647 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0034/0.4277, allocations: 1.906 MB / 0.6665 GB, free: 10.47 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006643/0.4284, allocations: 0.7253 MB / 0.6673 GB, free: 9.629 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004414/0.4288, allocations: 223.9 kB / 0.6675 GB, free: 9.41 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005857/0.4347, allocations: 3.055 MB / 0.6705 GB, free: 6.277 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.766e-05/0.4347, allocations: 0 / 0.6705 GB, free: 6.277 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/0.435, allocations: 87.94 kB / 0.6705 GB, free: 6.191 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.713e-05/0.435, allocations: 52 kB / 0.6706 GB, free: 6.141 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00564/0.4407, allocations: 2.8 MB / 0.6733 GB, free: 3.324 MB / 478.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.01692/0.4576, allocations: 9.896 MB / 0.683 GB, free: 9.004 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/0.4679, allocations: 4.224 MB / 0.6871 GB, free: 4.645 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003853/0.4717, allocations: 1.987 MB / 0.6891 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002891/0.472, allocations: 45.94 kB / 0.6891 GB, free: 2.605 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004257/0.4763, allocations: 2.242 MB / 0.6913 GB, free: 352 kB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 6.302e-06/0.4763, allocations: 4 kB / 0.6913 GB, free: 348 kB / 494.1 MB Notification: Performance of matching and sorting (n=250): time 0.1138/0.5901, allocations: 28.82 MB / 0.7194 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.5903, allocations: 188.1 kB / 0.7196 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00358/0.5939, allocations: 2.333 MB / 0.7219 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006512/0.5945, allocations: 65.7 kB / 0.7219 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009162/0.5954, allocations: 1.176 MB / 0.7231 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001082/0.5965, allocations: 0.8974 MB / 0.724 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001146/0.5977, allocations: 0.566 MB / 0.7245 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.5978, allocations: 301.1 kB / 0.7248 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004155/0.602, allocations: 1.99 MB / 0.7268 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004518/0.6065, allocations: 2.354 MB / 0.7291 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0544/0.6609, allocations: 14.37 MB / 0.7431 GB, free: 10.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-05/0.661, allocations: 11.94 kB / 0.7431 GB, free: 10.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.0391/0.7001, allocations: 12.61 MB / 0.7554 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.7002, allocations: 110.8 kB / 0.7555 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/0.7003, allocations: 12 kB / 0.7555 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01777/0.718, allocations: 5.434 MB / 0.7608 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003064/0.7211, allocations: 0.5773 MB / 0.7614 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3549/1.076, allocations: 23.63 MB / 0.7845 GB, free: 122 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004046/1.08, allocations: 496.6 kB / 0.785 GB, free: 122 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003372/1.08, allocations: 115.7 kB / 0.7851 GB, free: 121.9 MB / 0.5606 GB 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.001036/1.082, allocations: 0.5408 MB / 0.7856 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004644/1.082, allocations: 303.4 kB / 0.7859 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03388/1.116, allocations: 11.95 MB / 0.7975 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/1.116, allocations: 27.38 kB / 0.7976 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.502e-05/1.116, allocations: 19.59 kB / 0.7976 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.098e-05/1.116, allocations: 19.41 kB / 0.7976 GB, free: 119 MB / 0.5606 GB 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.03706/1.153, allocations: 15.59 MB / 0.8128 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/1.153, allocations: 0 / 0.8128 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/1.155, allocations: 251.6 kB / 0.8131 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01469/1.169, allocations: 5.275 MB / 0.8182 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004626/1.17, allocations: 51.98 kB / 0.8183 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04774/1.218, allocations: 24.93 MB / 0.8426 GB, free: 76.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.218, allocations: 0 / 0.8426 GB, free: 76.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03725/1.255, allocations: 14.34 MB / 0.8566 GB, free: 61.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008201/1.256, allocations: 416.3 kB / 0.857 GB, free: 61.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004659/1.256, allocations: 44 kB / 0.8571 GB, free: 61.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00259/1.259, allocations: 299.6 kB / 0.8574 GB, free: 61.03 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001979/1.261, allocations: 0.5877 MB / 0.8579 GB, free: 60.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002095/1.261, allocations: 63.98 kB / 0.858 GB, free: 60.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001895/1.263, allocations: 1.543 MB / 0.8595 GB, free: 58.83 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/1.263, allocations: 0 / 0.8595 GB, free: 58.83 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003184/1.266, allocations: 1.197 MB / 0.8607 GB, free: 57.64 MB / 0.5606 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.0003863/1.267, allocations: 167 kB / 0.8608 GB, free: 57.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0154/1.282, allocations: 6.8 MB / 0.8675 GB, free: 50.58 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.282, allocations: 0 / 0.8675 GB, free: 50.58 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01114/1.293, allocations: 4.428 MB / 0.8718 GB, free: 46.08 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/1.295, allocations: 272.1 kB / 0.872 GB, free: 45.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008403/1.304, allocations: 5.478 MB / 0.8774 GB, free: 40.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009115/1.305, allocations: 1.819 MB / 0.8792 GB, free: 38.47 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000963/1.306, allocations: 262.8 kB / 0.8794 GB, free: 38.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005438/1.306, allocations: 179.4 kB / 0.8796 GB, free: 38.04 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/1.306, allocations: 0 / 0.8796 GB, free: 38.04 MB / 0.5606 GB Notification: Performance of Templates: time 0.09392/1.4, allocations: 66.61 MB / 0.9446 GB, free: 3.465 MB / 0.5919 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)