Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007924/0.007924, allocations: 99.08 kB / 15.73 MB, free: 6.004 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.478/1.478, allocations: 222.9 MB / 239.4 MB, free: 4.5 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.001437/0.001437, allocations: 188.5 kB / 289.7 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4574/0.4574, allocations: 78.52 MB / 418.4 MB, free: 3.133 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 79.88 kB / 0.5537 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3201, allocations: 68.17 MB / 0.6202 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01063/0.3308, allocations: 13.77 MB / 0.6337 GB, free: 12.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008376/0.3392, allocations: 3.499 MB / 0.6371 GB, free: 9.023 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003274/0.3425, allocations: 28 kB / 0.6371 GB, free: 8.996 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002438/0.345, allocations: 0.5615 MB / 0.6377 GB, free: 8.426 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006162/0.3512, allocations: 1.441 MB / 0.6391 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004371/0.3556, allocations: 1.515 MB / 0.6406 GB, free: 5.488 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005948/0.3616, allocations: 3.777 MB / 0.6443 GB, free: 1.695 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/0.3633, allocations: 0.9052 MB / 0.6451 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00262/0.366, allocations: 1.544 MB / 0.6467 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003034/0.369, allocations: 1.999 MB / 0.6486 GB, free: 13.18 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001032/0.3701, allocations: 292 kB / 0.6489 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.3716, allocations: 427.8 kB / 0.6493 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001164/0.3728, allocations: 0.7779 MB / 0.6501 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002712/0.3755, allocations: 1.65 MB / 0.6517 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00638/0.3819, allocations: 4.039 MB / 0.6556 GB, free: 5.98 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.3819, allocations: 4 kB / 0.6556 GB, free: 5.977 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.382, allocations: 3.938 kB / 0.6556 GB, free: 5.973 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002408/0.3822, allocations: 0 / 0.6556 GB, free: 5.973 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02635/0.4086, allocations: 6.744 MB / 0.6622 GB, free: 15.12 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.4086, allocations: 8.031 kB / 0.6622 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01544/0.4241, allocations: 2.3 MB / 0.6645 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004741/0.4289, allocations: 1.916 MB / 0.6663 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008353/0.4297, allocations: 0.7291 MB / 0.667 GB, free: 9.992 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009284/0.4307, allocations: 216 kB / 0.6672 GB, free: 9.781 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008001/0.4387, allocations: 3.043 MB / 0.6702 GB, free: 6.66 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/0.4388, allocations: 3.938 kB / 0.6702 GB, free: 6.656 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002546/0.439, allocations: 91.94 kB / 0.6703 GB, free: 6.566 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.769e-05/0.4391, allocations: 48 kB / 0.6704 GB, free: 6.52 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00606/0.4451, allocations: 2.792 MB / 0.6731 GB, free: 3.711 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.01885/0.464, allocations: 9.878 MB / 0.6827 GB, free: 9.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01114/0.4752, allocations: 4.207 MB / 0.6868 GB, free: 5.074 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004402/0.4796, allocations: 1.972 MB / 0.6888 GB, free: 3.098 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004209/0.4801, allocations: 45.95 kB / 0.6888 GB, free: 3.051 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005208/0.4853, allocations: 2.244 MB / 0.691 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of pre-optimization done (n=249): time 6.221e-06/0.4853, allocations: 0 / 0.691 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of matching and sorting (n=249): time 0.1194/0.6047, allocations: 27.44 MB / 0.7178 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.6048, allocations: 184.2 kB / 0.718 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00405/0.6089, allocations: 2.313 MB / 0.7202 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006633/0.6096, allocations: 73.7 kB / 0.7203 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009984/0.6106, allocations: 1.193 MB / 0.7215 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001372/0.612, allocations: 0.9218 MB / 0.7224 GB, free: 476 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002052/0.614, allocations: 0.566 MB / 0.7229 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.6141, allocations: 305.1 kB / 0.7232 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004553/0.6187, allocations: 1.97 MB / 0.7251 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004898/0.6236, allocations: 2.342 MB / 0.7274 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05609/0.6797, allocations: 14.24 MB / 0.7413 GB, free: 12.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-05/0.6798, allocations: 7.938 kB / 0.7413 GB, free: 12.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04371/0.7235, allocations: 12.56 MB / 0.7536 GB, free: 80 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.7237, allocations: 118.8 kB / 0.7537 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.118e-05/0.7237, allocations: 4 kB / 0.7537 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01853/0.7422, allocations: 5.249 MB / 0.7588 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003292/0.7456, allocations: 0.5929 MB / 0.7594 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3515/1.097, allocations: 23.2 MB / 0.7821 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004672/1.102, allocations: 495.2 kB / 0.7826 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007976/1.103, allocations: 121 kB / 0.7827 GB, free: 120.7 MB / 0.5606 GB Warning: Assuming fixed start value for the following 7 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.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (334): * Single equations (assignments): 329 * 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): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001588/1.104, allocations: 0.536 MB / 0.7832 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008788/1.105, allocations: 316.5 kB / 0.7835 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03744/1.143, allocations: 11.93 MB / 0.7951 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.129e-05/1.143, allocations: 23.56 kB / 0.7952 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.141e-05/1.143, allocations: 23.53 kB / 0.7952 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.236e-05/1.143, allocations: 11.53 kB / 0.7952 GB, free: 117.8 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.04133/1.184, allocations: 15.56 MB / 0.8104 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-05/1.184, allocations: 3.984 kB / 0.8104 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/1.186, allocations: 247.7 kB / 0.8106 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01664/1.202, allocations: 5.304 MB / 0.8158 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007862/1.203, allocations: 51.98 kB / 0.8159 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05364/1.257, allocations: 24.95 MB / 0.8402 GB, free: 77.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.257, allocations: 0 / 0.8402 GB, free: 77.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04277/1.3, allocations: 14.34 MB / 0.8542 GB, free: 63.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/1.301, allocations: 433.9 kB / 0.8546 GB, free: 62.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006188/1.302, allocations: 44 kB / 0.8547 GB, free: 62.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002917/1.304, allocations: 299.6 kB / 0.855 GB, free: 62.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002055/1.306, allocations: 0.5763 MB / 0.8555 GB, free: 61.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/1.307, allocations: 67.98 kB / 0.8556 GB, free: 61.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00196/1.309, allocations: 1.531 MB / 0.8571 GB, free: 60.37 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/1.309, allocations: 0 / 0.8571 GB, free: 60.37 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003044/1.312, allocations: 1.19 MB / 0.8583 GB, free: 59.21 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (158): * Single equations (assignments): 153 * 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 {(67,21,7.5%)} * 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.0004148/1.312, allocations: 169.8 kB / 0.8584 GB, free: 59.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01614/1.328, allocations: 6.679 MB / 0.8649 GB, free: 52.28 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/1.328, allocations: 0 / 0.8649 GB, free: 52.28 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01197/1.34, allocations: 4.455 MB / 0.8693 GB, free: 47.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/1.343, allocations: 271.5 kB / 0.8695 GB, free: 47.49 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009612/1.353, allocations: 5.519 MB / 0.8749 GB, free: 41.95 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009968/1.354, allocations: 1.811 MB / 0.8767 GB, free: 40.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001054/1.355, allocations: 262.6 kB / 0.877 GB, free: 39.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005696/1.355, allocations: 178.1 kB / 0.8771 GB, free: 39.68 MB / 0.5606 GB Notification: Performance of SimCode: time 6.91e-07/1.355, allocations: 3.938 kB / 0.8771 GB, free: 39.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.09143/1.447, allocations: 64.19 MB / 0.9398 GB, free: 7.527 MB / 0.5919 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)