Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.0009297/0.0009297, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.248/1.248, allocations: 223.2 MB / 238.9 MB, free: 5.664 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.001012/0.001012, allocations: 189 kB / 290.2 MB, free: 2.352 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4359/0.4359, allocations: 78.52 MB / 419.8 MB, free: 4.309 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003699, allocations: 8 kB / 499.6 MB, free: 6.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1155, allocations: 69.37 MB / 0.5557 GB, free: 1.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.1965/0.3121, allocations: 12.02 MB / 0.5674 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006182/0.3183, allocations: 3.559 MB / 0.5709 GB, free: 33.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002242/0.3206, allocations: 35.66 kB / 0.5709 GB, free: 33.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.3225, allocations: 396.6 kB / 0.5713 GB, free: 33.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004991/0.3275, allocations: 1.34 MB / 0.5726 GB, free: 32.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003248/0.3307, allocations: 1.263 MB / 0.5739 GB, free: 31.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004174/0.3349, allocations: 2.366 MB / 0.5762 GB, free: 30.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.3361, allocations: 0.6921 MB / 0.5768 GB, free: 30.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002044/0.3381, allocations: 1.322 MB / 0.5781 GB, free: 29.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002013/0.3401, allocations: 1.651 MB / 0.5797 GB, free: 28.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004506/0.3406, allocations: 139.4 kB / 0.5799 GB, free: 28.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008182/0.3414, allocations: 257.8 kB / 0.5801 GB, free: 28.92 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004228/0.3419, allocations: 0.5873 MB / 0.5807 GB, free: 28.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007642/0.3426, allocations: 0.5214 MB / 0.5812 GB, free: 28.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002539/0.3452, allocations: 2.81 MB / 0.5839 GB, free: 27.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3452, allocations: 0 / 0.5839 GB, free: 27.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3452, allocations: 0 / 0.5839 GB, free: 27.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.643e-05/0.3453, allocations: 0 / 0.5839 GB, free: 27.39 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.02067/0.366, allocations: 6.158 MB / 0.59 GB, free: 25.13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.366, allocations: 9.5 kB / 0.59 GB, free: 25.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01503/0.3811, allocations: 2.296 MB / 0.5922 GB, free: 24.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004342/0.3854, allocations: 1.779 MB / 0.5939 GB, free: 23.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007011/0.3862, allocations: 0.7478 MB / 0.5947 GB, free: 23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005945/0.3868, allocations: 218.5 kB / 0.5949 GB, free: 22.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007861/0.3947, allocations: 3.192 MB / 0.598 GB, free: 21.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.248e-05/0.3948, allocations: 4 kB / 0.598 GB, free: 21.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002968/0.3951, allocations: 86.12 kB / 0.5981 GB, free: 21.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-05/0.3951, allocations: 49.44 kB / 0.5981 GB, free: 21.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007129/0.4023, allocations: 2.973 MB / 0.601 GB, free: 20.71 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.0224/0.4247, allocations: 10.42 MB / 0.6112 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01215/0.4369, allocations: 4.852 MB / 0.616 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004648/0.4374, allocations: 40.91 kB / 0.616 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005489/0.4429, allocations: 2.421 MB / 0.6184 GB, free: 12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=247): time 6.773e-06/0.4429, allocations: 0 / 0.6184 GB, free: 12 MB / 430.1 MB Notification: Performance of matching and sorting (n=247): time 0.133/0.5759, allocations: 36.33 MB / 0.6538 GB, free: 9.051 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.576, allocations: 186.3 kB / 0.654 GB, free: 8.832 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003964/0.58, allocations: 2.261 MB / 0.6562 GB, free: 6.551 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007615/0.5808, allocations: 69.7 kB / 0.6563 GB, free: 6.477 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001093/0.5819, allocations: 1.176 MB / 0.6574 GB, free: 5.289 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001785/0.5837, allocations: 0.8704 MB / 0.6583 GB, free: 4.406 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008719/0.5846, allocations: 60 kB / 0.6583 GB, free: 4.348 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003657/0.585, allocations: 428.8 kB / 0.6587 GB, free: 3.922 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005494/0.5905, allocations: 2.134 MB / 0.6608 GB, free: 1.785 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005573/0.5961, allocations: 2.493 MB / 0.6633 GB, free: 15.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005484/0.6016, allocations: 2.396 MB / 0.6656 GB, free: 12.77 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.646e-05/0.6017, allocations: 4 kB / 0.6656 GB, free: 12.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04747/0.6492, allocations: 15.15 MB / 0.6804 GB, free: 13.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.946e-05/0.6493, allocations: 118.8 kB / 0.6805 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/0.6494, allocations: 8 kB / 0.6805 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02134/0.6707, allocations: 6.367 MB / 0.6867 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003067/0.6738, allocations: 0.5617 MB / 0.6873 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0698/0.7437, allocations: 26.51 MB / 0.7132 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004979/0.7487, allocations: 0.5909 MB / 0.7138 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008599/0.7496, allocations: 120.6 kB / 0.7139 GB, free: 11.12 MB / 0.5137 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(flow=false start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(flow=false start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 318 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.002278/0.7519, allocations: 0.533 MB / 0.7144 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001235/0.7531, allocations: 304.2 kB / 0.7147 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0449/0.798, allocations: 14.71 MB / 0.7291 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.375e-05/0.7981, allocations: 35.95 kB / 0.7291 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.167e-05/0.7982, allocations: 19.94 kB / 0.7291 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.442e-05/0.7983, allocations: 11.95 kB / 0.7291 GB, free: 11.44 MB / 0.5294 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.05281/0.8511, allocations: 18.42 MB / 0.7471 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.23e-05/0.8511, allocations: 0 / 0.7471 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/0.8528, allocations: 239.7 kB / 0.7473 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01981/0.8726, allocations: 6.268 MB / 0.7535 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006533/0.8733, allocations: 52 kB / 0.7535 GB, free: 2.266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2656/1.139, allocations: 26.88 MB / 0.7798 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.139, allocations: 0 / 0.7798 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04795/1.187, allocations: 17.31 MB / 0.7967 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/1.188, allocations: 421.5 kB / 0.7971 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001091/1.189, allocations: 44.38 kB / 0.7971 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003793/1.193, allocations: 411 kB / 0.7975 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002301/1.195, allocations: 0.5771 MB / 0.7981 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003726/1.196, allocations: 64.78 kB / 0.7981 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00271/1.198, allocations: 1.489 MB / 0.7996 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.11e-07/1.198, allocations: 0 / 0.7996 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004762/1.203, allocations: 1.18 MB / 0.8007 GB, free: 162.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005764/1.204, allocations: 173.9 kB / 0.8009 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01972/1.224, allocations: 7.474 MB / 0.8082 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.224, allocations: 0 / 0.8082 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01437/1.238, allocations: 5.081 MB / 0.8132 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/1.24, allocations: 228.5 kB / 0.8134 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008975/1.249, allocations: 6.389 MB / 0.8196 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/1.251, allocations: 1.867 MB / 0.8214 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00114/1.252, allocations: 266.7 kB / 0.8217 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000518/1.252, allocations: 162.7 kB / 0.8218 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/1.252, allocations: 0 / 0.8218 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.06794/1.32, allocations: 56.5 MB / 0.877 GB, free: 103.7 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: