Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.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 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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.481/1.481, allocations: 222.9 MB / 238.9 MB, free: 4.668 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.001724/0.001725, allocations: 192.5 kB / 289.1 MB, free: 2.422 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6224/0.6224, allocations: 92.6 MB / 431.9 MB, free: 8.789 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00261/0.00261, allocations: 84.16 kB / 0.502 GB, free: 7.387 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4255, allocations: 71.39 MB / 0.5718 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01079/0.4363, allocations: 14.41 MB / 0.5858 GB, free: 26.9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008746/0.4451, allocations: 3.627 MB / 0.5894 GB, free: 24.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004254/0.4494, allocations: 31.75 kB / 0.5894 GB, free: 24.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002677/0.4522, allocations: 437.2 kB / 0.5898 GB, free: 24.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00712/0.4593, allocations: 1.229 MB / 0.591 GB, free: 23.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004473/0.4638, allocations: 1.412 MB / 0.5924 GB, free: 22.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006812/0.4706, allocations: 3.517 MB / 0.5958 GB, free: 20.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/0.4721, allocations: 0.8056 MB / 0.5966 GB, free: 20.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002947/0.4751, allocations: 1.394 MB / 0.598 GB, free: 19.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0026/0.4777, allocations: 1.859 MB / 0.5998 GB, free: 18.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006477/0.4784, allocations: 175 kB / 0.6 GB, free: 18.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.4797, allocations: 313.6 kB / 0.6003 GB, free: 18.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005487/0.4803, allocations: 0.6474 MB / 0.6009 GB, free: 18.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001585/0.4818, allocations: 1.532 MB / 0.6024 GB, free: 17.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004454/0.4863, allocations: 3.804 MB / 0.6061 GB, free: 15.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.4863, allocations: 4.656 kB / 0.6061 GB, free: 15.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4863, allocations: 0.9062 kB / 0.6061 GB, free: 15.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001554/0.4865, allocations: 0 / 0.6061 GB, free: 15.62 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02684/0.5134, allocations: 6.587 MB / 0.6125 GB, free: 12.99 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.5134, allocations: 9.438 kB / 0.6125 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01573/0.5292, allocations: 2.272 MB / 0.6148 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005266/0.5345, allocations: 1.873 MB / 0.6166 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007189/0.5352, allocations: 0.7266 MB / 0.6173 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007438/0.536, allocations: 211 kB / 0.6175 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007435/0.5434, allocations: 3.035 MB / 0.6205 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.843e-05/0.5435, allocations: 0 / 0.6205 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002688/0.5438, allocations: 86.36 kB / 0.6206 GB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.627e-05/0.5438, allocations: 49.56 kB / 0.6206 GB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006443/0.5503, allocations: 2.787 MB / 0.6233 GB, free: 8.332 MB / 430.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.01859/0.5689, allocations: 9.864 MB / 0.633 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0112/0.5801, allocations: 4.18 MB / 0.637 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004574/0.5847, allocations: 1.968 MB / 0.639 GB, free: 8.422 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004327/0.5852, allocations: 41.95 kB / 0.639 GB, free: 8.383 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005923/0.5911, allocations: 2.238 MB / 0.6412 GB, free: 6.125 MB / 446.1 MB Notification: Performance of pre-optimization done (n=247): time 7.344e-06/0.5912, allocations: 0 / 0.6412 GB, free: 6.125 MB / 446.1 MB Notification: Performance of matching and sorting (n=247): time 0.1315/0.7227, allocations: 29.46 MB / 0.67 GB, free: 8.535 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001648/0.7229, allocations: 188.2 kB / 0.6701 GB, free: 8.312 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005539/0.7285, allocations: 2.277 MB / 0.6724 GB, free: 6.016 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001076/0.7296, allocations: 73.7 kB / 0.6724 GB, free: 5.938 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001384/0.731, allocations: 1.172 MB / 0.6736 GB, free: 4.754 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001864/0.7328, allocations: 0.8704 MB / 0.6744 GB, free: 3.871 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002976/0.7358, allocations: 0.5578 MB / 0.675 GB, free: 3.305 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.736, allocations: 305.1 kB / 0.6753 GB, free: 3.004 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005081/0.7411, allocations: 1.947 MB / 0.6772 GB, free: 1.055 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005331/0.7464, allocations: 2.318 MB / 0.6794 GB, free: 14.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0577/0.8041, allocations: 14 MB / 0.6931 GB, free: 416 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.22e-05/0.8042, allocations: 4 kB / 0.6931 GB, free: 412 kB / 494.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04455/0.8488, allocations: 12.28 MB / 0.7051 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.8489, allocations: 118.8 kB / 0.7052 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/0.849, allocations: 11.94 kB / 0.7052 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01921/0.8682, allocations: 5.309 MB / 0.7104 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003508/0.8717, allocations: 0.5617 MB / 0.7109 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06321/0.935, allocations: 21.6 MB / 0.732 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005643/0.9407, allocations: 489.1 kB / 0.7325 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001103/0.9418, allocations: 116 kB / 0.7326 GB, free: 7.68 MB / 0.5294 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 order3_1.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 (325): * Single equations (assignments): 320 * 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,26)} Notification: Performance of prepare postOptimizeDAE: time 0.003155/0.945, allocations: 0.5372 MB / 0.7331 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001805/0.9468, allocations: 292.3 kB / 0.7334 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04317/0.99, allocations: 11.9 MB / 0.745 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.892e-05/0.9901, allocations: 28 kB / 0.7451 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.03e-05/0.9902, allocations: 20 kB / 0.7451 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.511e-05/0.9903, allocations: 15.95 kB / 0.7451 GB, free: 10.82 MB / 0.545 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.05195/1.042, allocations: 15.49 MB / 0.7602 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.854e-05/1.042, allocations: 3.938 kB / 0.7602 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002077/1.044, allocations: 239.7 kB / 0.7605 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01956/1.064, allocations: 5.295 MB / 0.7656 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001056/1.065, allocations: 55.92 kB / 0.7657 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3732/1.438, allocations: 22.68 MB / 0.7878 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.438, allocations: 1.953 kB / 0.7878 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04982/1.488, allocations: 14.26 MB / 0.8018 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/1.49, allocations: 407.7 kB / 0.8021 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/1.491, allocations: 44.27 kB / 0.8022 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003304/1.494, allocations: 299.6 kB / 0.8025 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002268/1.496, allocations: 0.5724 MB / 0.803 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002467/1.496, allocations: 64 kB / 0.8031 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002387/1.499, allocations: 1.507 MB / 0.8046 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/1.499, allocations: 0 / 0.8046 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004529/1.503, allocations: 1.173 MB / 0.8057 GB, free: 155.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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.0005734/1.504, allocations: 178.6 kB / 0.8059 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01792/1.522, allocations: 6.594 MB / 0.8123 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/1.522, allocations: 4.188 kB / 0.8123 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01402/1.536, allocations: 4.391 MB / 0.8166 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00307/1.539, allocations: 263.8 kB / 0.8169 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00974/1.549, allocations: 6.408 MB / 0.8231 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/1.55, allocations: 1.809 MB / 0.8249 GB, free: 144 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001384/1.551, allocations: 262.7 kB / 0.8251 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005779/1.552, allocations: 165.2 kB / 0.8253 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.282e-06/1.552, allocations: 0 / 0.8253 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.08865/1.641, allocations: 59.07 MB / 0.883 GB, free: 85.33 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)