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.007126/0.007126, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.364/1.364, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001343/0.001343, allocations: 188.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.511/0.511, allocations: 78.52 MB / 418.4 MB, free: 3.129 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 87.88 kB / 0.5537 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3682, allocations: 68.17 MB / 0.6203 GB, free: 9.688 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01033/0.3786, allocations: 13.76 MB / 0.6337 GB, free: 12.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008574/0.3872, allocations: 3.499 MB / 0.6371 GB, free: 8.895 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001612/0.3888, allocations: 31.94 kB / 0.6371 GB, free: 8.863 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.3902, allocations: 0.5693 MB / 0.6377 GB, free: 8.285 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003985/0.3943, allocations: 1.58 MB / 0.6392 GB, free: 6.707 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003419/0.3977, allocations: 1.519 MB / 0.6407 GB, free: 5.207 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004741/0.4024, allocations: 3.788 MB / 0.6444 GB, free: 1.402 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.4037, allocations: 0.8934 MB / 0.6453 GB, free: 468 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/0.4057, allocations: 1.552 MB / 0.6468 GB, free: 14.89 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002212/0.408, allocations: 1.987 MB / 0.6487 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003765/0.4084, allocations: 292 kB / 0.649 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007382/0.4091, allocations: 435.8 kB / 0.6494 GB, free: 12.19 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007495/0.4099, allocations: 0.774 MB / 0.6502 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001639/0.4115, allocations: 1.65 MB / 0.6518 GB, free: 9.754 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004001/0.4155, allocations: 4.022 MB / 0.6557 GB, free: 5.723 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4155, allocations: 0 / 0.6557 GB, free: 5.723 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4155, allocations: 4 kB / 0.6557 GB, free: 5.719 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.952e-05/0.4156, allocations: 0 / 0.6557 GB, free: 5.719 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.02208/0.4377, allocations: 6.641 MB / 0.6622 GB, free: 14.98 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.4377, allocations: 8.031 kB / 0.6622 GB, free: 14.97 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01475/0.4525, allocations: 2.275 MB / 0.6645 GB, free: 12.69 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004007/0.4565, allocations: 1.906 MB / 0.6663 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007829/0.4573, allocations: 0.7292 MB / 0.667 GB, free: 9.871 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006842/0.458, allocations: 215.9 kB / 0.6672 GB, free: 9.66 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006784/0.4648, allocations: 3.043 MB / 0.6702 GB, free: 6.539 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.237e-05/0.4649, allocations: 0 / 0.6702 GB, free: 6.539 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003014/0.4652, allocations: 87.94 kB / 0.6703 GB, free: 6.453 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.893e-05/0.4652, allocations: 48 kB / 0.6703 GB, free: 6.406 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006149/0.4714, allocations: 2.803 MB / 0.6731 GB, free: 3.586 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.01815/0.4896, allocations: 9.849 MB / 0.6827 GB, free: 9.312 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009994/0.4996, allocations: 4.219 MB / 0.6868 GB, free: 4.965 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00366/0.5032, allocations: 1.968 MB / 0.6887 GB, free: 2.992 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002719/0.5035, allocations: 45.97 kB / 0.6888 GB, free: 2.945 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00413/0.5077, allocations: 2.242 MB / 0.691 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of pre-optimization done (n=249): time 4.268e-06/0.5077, allocations: 0 / 0.691 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of matching and sorting (n=249): time 0.1085/0.6162, allocations: 27.43 MB / 0.7178 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.6163, allocations: 192.2 kB / 0.7179 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003543/0.6199, allocations: 2.302 MB / 0.7202 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006341/0.6205, allocations: 73.7 kB / 0.7203 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008965/0.6214, allocations: 1.184 MB / 0.7214 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001151/0.6226, allocations: 0.878 MB / 0.7223 GB, free: 436 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001158/0.6238, allocations: 0.5659 MB / 0.7228 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.169e-05/0.6239, allocations: 305.1 kB / 0.7231 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004029/0.6279, allocations: 1.966 MB / 0.725 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004304/0.6322, allocations: 2.346 MB / 0.7273 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05405/0.6863, allocations: 14.24 MB / 0.7412 GB, free: 12.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.567e-05/0.6863, allocations: 0 / 0.7412 GB, free: 12.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.03982/0.7262, allocations: 12.55 MB / 0.7535 GB, free: 60 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.7263, allocations: 122.8 kB / 0.7536 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/0.7263, allocations: 4 kB / 0.7536 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01642/0.7428, allocations: 5.253 MB / 0.7587 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003154/0.746, allocations: 0.5812 MB / 0.7593 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4026/1.149, allocations: 23.17 MB / 0.7819 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004576/1.153, allocations: 494.4 kB / 0.7824 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004492/1.154, allocations: 116.8 kB / 0.7825 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.001361/1.155, allocations: 0.5412 MB / 0.783 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007523/1.156, allocations: 294.4 kB / 0.7833 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03442/1.19, allocations: 11.93 MB / 0.795 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.811e-05/1.19, allocations: 27.59 kB / 0.795 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.023e-05/1.19, allocations: 19.75 kB / 0.795 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.577e-05/1.19, allocations: 12.41 kB / 0.795 GB, free: 117.9 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.03821/1.229, allocations: 15.55 MB / 0.8102 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.179e-05/1.229, allocations: 7.938 kB / 0.8102 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/1.23, allocations: 243.7 kB / 0.8105 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01542/1.246, allocations: 5.306 MB / 0.8156 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006069/1.246, allocations: 48 kB / 0.8157 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0491/1.296, allocations: 24.92 MB / 0.84 GB, free: 77.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.296, allocations: 6.812 kB / 0.84 GB, free: 77.72 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03832/1.334, allocations: 14.31 MB / 0.854 GB, free: 63.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/1.335, allocations: 417.7 kB / 0.8544 GB, free: 62.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005289/1.336, allocations: 44 kB / 0.8544 GB, free: 62.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00276/1.338, allocations: 295.6 kB / 0.8547 GB, free: 62.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002027/1.34, allocations: 0.5841 MB / 0.8553 GB, free: 61.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000211/1.341, allocations: 63.98 kB / 0.8554 GB, free: 61.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001922/1.343, allocations: 1.539 MB / 0.8569 GB, free: 60.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.3e-07/1.343, allocations: 0 / 0.8569 GB, free: 60.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003375/1.346, allocations: 1.178 MB / 0.858 GB, free: 59.18 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.0004415/1.346, allocations: 173.5 kB / 0.8582 GB, free: 59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01537/1.362, allocations: 6.653 MB / 0.8647 GB, free: 52.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.362, allocations: 0 / 0.8647 GB, free: 52.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01092/1.373, allocations: 4.44 MB / 0.869 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.002028/1.375, allocations: 267.1 kB / 0.8693 GB, free: 47.49 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008564/1.383, allocations: 5.422 MB / 0.8746 GB, free: 42.06 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009803/1.384, allocations: 1.811 MB / 0.8763 GB, free: 40.21 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009545/1.385, allocations: 266.6 kB / 0.8766 GB, free: 39.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005375/1.386, allocations: 179.4 kB / 0.8768 GB, free: 39.78 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/1.386, allocations: 0 / 0.8768 GB, free: 39.78 MB / 0.5606 GB Notification: Performance of Templates: time 0.09172/1.478, allocations: 64.15 MB / 0.9394 GB, free: 7.668 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)