Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 173.6 kB / 16.07 MB, free: 5.605 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.347/1.347, allocations: 222.9 MB / 239.7 MB, free: 10.16 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.0007614/0.0007616, allocations: 95.42 kB / 290.5 MB, free: 11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4481/0.4481, allocations: 78.42 MB / 419.6 MB, free: 9.746 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003405, allocations: 12 kB / 499.1 MB, free: 10.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2639, allocations: 68.76 MB / 0.5545 GB, free: 20.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.009216/0.2731, allocations: 14.37 MB / 0.5685 GB, free: 5.789 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008801/0.282, allocations: 3.593 MB / 0.572 GB, free: 2.188 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00233/0.2844, allocations: 32 kB / 0.5721 GB, free: 2.156 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.2855, allocations: 445.1 kB / 0.5725 GB, free: 1.719 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003224/0.2888, allocations: 1.224 MB / 0.5737 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002806/0.2916, allocations: 1.403 MB / 0.5751 GB, free: 15.11 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0041/0.2957, allocations: 3.526 MB / 0.5785 GB, free: 11.57 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.2968, allocations: 0.8001 MB / 0.5793 GB, free: 10.72 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.2987, allocations: 1.325 MB / 0.5806 GB, free: 9.387 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001837/0.3005, allocations: 1.776 MB / 0.5823 GB, free: 7.602 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003079/0.3008, allocations: 140 kB / 0.5825 GB, free: 7.465 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006933/0.3015, allocations: 271.9 kB / 0.5827 GB, free: 7.199 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004865/0.302, allocations: 0.6139 MB / 0.5833 GB, free: 6.582 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.3033, allocations: 1.459 MB / 0.5847 GB, free: 5.113 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0025/0.3058, allocations: 2.945 MB / 0.5876 GB, free: 2.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3058, allocations: 0 / 0.5876 GB, free: 2.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3058, allocations: 0 / 0.5876 GB, free: 2.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.306e-05/0.3059, allocations: 0 / 0.5876 GB, free: 2.16 MB / 394.7 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.01989/0.3257, allocations: 5.937 MB / 0.5934 GB, free: 12.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3258, allocations: 8.031 kB / 0.5934 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01437/0.3402, allocations: 2.271 MB / 0.5956 GB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003872/0.3441, allocations: 1.878 MB / 0.5975 GB, free: 7.898 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006904/0.3448, allocations: 0.7252 MB / 0.5982 GB, free: 7.059 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005027/0.3453, allocations: 215.9 kB / 0.5984 GB, free: 6.848 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005963/0.3513, allocations: 3.035 MB / 0.6014 GB, free: 3.734 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/0.3514, allocations: 0 / 0.6014 GB, free: 3.734 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002261/0.3516, allocations: 83.94 kB / 0.6014 GB, free: 3.652 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-05/0.3516, allocations: 52 kB / 0.6015 GB, free: 3.602 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005622/0.3573, allocations: 2.784 MB / 0.6042 GB, free: 0.8008 MB / 410.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.01796/0.3752, allocations: 9.872 MB / 0.6138 GB, free: 6.508 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01049/0.3858, allocations: 4.184 MB / 0.6179 GB, free: 2.195 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004383/0.3902, allocations: 1.97 MB / 0.6198 GB, free: 224 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003478/0.3906, allocations: 41.95 kB / 0.6199 GB, free: 184 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004755/0.3953, allocations: 2.232 MB / 0.6221 GB, free: 13.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=247): time 5.19e-06/0.3954, allocations: 0 / 0.6221 GB, free: 13.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=247): time 0.1261/0.5215, allocations: 29.46 MB / 0.6508 GB, free: 336 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.5216, allocations: 180.2 kB / 0.651 GB, free: 116 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003166/0.5248, allocations: 2.281 MB / 0.6532 GB, free: 13.81 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005227/0.5253, allocations: 73.69 kB / 0.6533 GB, free: 13.73 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008511/0.5262, allocations: 1.168 MB / 0.6545 GB, free: 12.55 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009547/0.5271, allocations: 0.8703 MB / 0.6553 GB, free: 11.67 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004093/0.5275, allocations: 292.4 kB / 0.6556 GB, free: 11.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.5276, allocations: 301.1 kB / 0.6559 GB, free: 11.08 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003876/0.5315, allocations: 1.951 MB / 0.6578 GB, free: 9.129 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004181/0.5357, allocations: 2.314 MB / 0.66 GB, free: 6.723 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05145/0.5872, allocations: 14.01 MB / 0.6737 GB, free: 8.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-05/0.5872, allocations: 4 kB / 0.6737 GB, free: 8.477 MB / 490.7 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.2787/0.8659, allocations: 12.27 MB / 0.6857 GB, free: 106.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.925e-05/0.866, allocations: 122.5 kB / 0.6858 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/0.8661, allocations: 7.5 kB / 0.6858 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01825/0.8843, allocations: 5.318 MB / 0.691 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002861/0.8872, allocations: 0.5664 MB / 0.6916 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04927/0.9365, allocations: 21.6 MB / 0.7127 GB, free: 98.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003786/0.9403, allocations: 484.2 kB / 0.7131 GB, free: 98.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003634/0.9407, allocations: 118.8 kB / 0.7132 GB, free: 98.34 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 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.001049/0.9418, allocations: 0.5249 MB / 0.7137 GB, free: 97.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004911/0.9423, allocations: 305.6 kB / 0.714 GB, free: 97.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03605/0.9783, allocations: 11.9 MB / 0.7257 GB, free: 85.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.356e-05/0.9784, allocations: 28 kB / 0.7257 GB, free: 85.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.589e-05/0.9784, allocations: 16 kB / 0.7257 GB, free: 85.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.945e-05/0.9785, allocations: 15.95 kB / 0.7257 GB, free: 85.55 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.03814/1.017, allocations: 15.49 MB / 0.7408 GB, free: 70 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-05/1.017, allocations: 0 / 0.7408 GB, free: 70 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/1.018, allocations: 243.6 kB / 0.7411 GB, free: 69.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01531/1.033, allocations: 5.29 MB / 0.7462 GB, free: 64.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005785/1.034, allocations: 51.92 kB / 0.7463 GB, free: 64.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04648/1.081, allocations: 22.69 MB / 0.7684 GB, free: 41.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.081, allocations: 2.516 kB / 0.7684 GB, free: 41.34 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03966/1.12, allocations: 14.26 MB / 0.7824 GB, free: 26.97 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007951/1.121, allocations: 400.2 kB / 0.7828 GB, free: 26.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005947/1.122, allocations: 48 kB / 0.7828 GB, free: 26.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002787/1.125, allocations: 299.6 kB / 0.7831 GB, free: 26.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001903/1.126, allocations: 0.5683 MB / 0.7836 GB, free: 25.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002319/1.127, allocations: 67.92 kB / 0.7837 GB, free: 25.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001901/1.129, allocations: 1.507 MB / 0.7852 GB, free: 24.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.31e-07/1.129, allocations: 0 / 0.7852 GB, free: 24.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002999/1.132, allocations: 1.174 MB / 0.7863 GB, free: 22.91 MB / 490.7 MB 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.0003726/1.132, allocations: 174.7 kB / 0.7865 GB, free: 22.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01537/1.147, allocations: 6.586 MB / 0.7929 GB, free: 16.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.147, allocations: 0.5 kB / 0.7929 GB, free: 16.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01135/1.159, allocations: 4.377 MB / 0.7972 GB, free: 11.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/1.161, allocations: 271.9 kB / 0.7975 GB, free: 11.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007884/1.169, allocations: 6.446 MB / 0.8038 GB, free: 4.895 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000898/1.17, allocations: 1.806 MB / 0.8055 GB, free: 3.055 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008172/1.171, allocations: 179.4 kB / 0.8057 GB, free: 2.879 MB / 490.7 MB Notification: Performance of SimCode: time 1.152e-06/1.171, allocations: 0 / 0.8057 GB, free: 2.879 MB / 490.7 MB Notification: Performance of Templates: time 0.07212/1.243, allocations: 63.46 MB / 0.8677 GB, free: 3.379 MB / 0.5417 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)