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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 180.2 kB / 15.45 MB, free: 6.227 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.5/1.5, allocations: 223.3 MB / 239.5 MB, free: 1.613 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007404/0.0007405, allocations: 97.61 kB / 290.6 MB, free: 13.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6158/0.6158, allocations: 78.61 MB / 420.4 MB, free: 44.13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.0004059, allocations: 12 kB / 0.4889 GB, free: 2.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3765, allocations: 69.34 MB / 0.5566 GB, free: 39.16 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01008/0.3866, allocations: 13.71 MB / 0.57 GB, free: 31.21 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007925/0.3946, allocations: 3.577 MB / 0.5735 GB, free: 29.21 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003113/0.3978, allocations: 31.09 kB / 0.5735 GB, free: 29.21 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001612/0.3994, allocations: 439.7 kB / 0.5739 GB, free: 29.03 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005245/0.4047, allocations: 1.218 MB / 0.5751 GB, free: 28.2 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003516/0.4082, allocations: 1.399 MB / 0.5765 GB, free: 27.43 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.005175/0.4134, allocations: 3.519 MB / 0.5799 GB, free: 25.7 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.4145, allocations: 0.7977 MB / 0.5807 GB, free: 25.26 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001865/0.4164, allocations: 1.325 MB / 0.582 GB, free: 24.64 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.4181, allocations: 1.774 MB / 0.5837 GB, free: 23.82 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003505/0.4185, allocations: 140.7 kB / 0.5839 GB, free: 23.82 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007277/0.4192, allocations: 281.6 kB / 0.5841 GB, free: 23.77 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003894/0.4196, allocations: 0.6048 MB / 0.5847 GB, free: 23.41 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009991/0.4206, allocations: 1.494 MB / 0.5862 GB, free: 22.42 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002493/0.4231, allocations: 3.7 MB / 0.5898 GB, free: 21.01 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4231, allocations: 0 / 0.5898 GB, free: 21.01 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4231, allocations: 0 / 0.5898 GB, free: 21.01 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.479e-05/0.4232, allocations: 0 / 0.5898 GB, free: 21.01 MB / 426.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.01867/0.4419, allocations: 6.126 MB / 0.5958 GB, free: 18.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.4419, allocations: 11.75 kB / 0.5958 GB, free: 18.74 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006445/0.4426, allocations: 301.2 kB / 0.5961 GB, free: 18.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01372/0.4563, allocations: 2.301 MB / 0.5983 GB, free: 18.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004532/0.4609, allocations: 1.872 MB / 0.6001 GB, free: 16.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00068/0.4616, allocations: 0.7463 MB / 0.6009 GB, free: 16.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006013/0.4622, allocations: 218.5 kB / 0.6011 GB, free: 16.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006282/0.4685, allocations: 3.233 MB / 0.6042 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.838e-05/0.4686, allocations: 0 / 0.6042 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002242/0.4688, allocations: 85.69 kB / 0.6043 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-05/0.4689, allocations: 53.81 kB / 0.6044 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005989/0.4749, allocations: 2.985 MB / 0.6073 GB, free: 14.03 MB / 426.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.01899/0.4939, allocations: 10.11 MB / 0.6172 GB, free: 8.492 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01081/0.5047, allocations: 4.866 MB / 0.6219 GB, free: 6.164 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003964/0.5087, allocations: 2.167 MB / 0.624 GB, free: 4.344 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002927/0.509, allocations: 49.94 kB / 0.6241 GB, free: 4.297 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003929/0.5129, allocations: 2.428 MB / 0.6264 GB, free: 1.848 MB / 426.7 MB Notification: Performance of pre-optimization done (n=247): time 3.908e-06/0.513, allocations: 3.938 kB / 0.6265 GB, free: 1.844 MB / 426.7 MB Notification: Performance of matching and sorting (n=247): time 0.1278/0.6408, allocations: 36.49 MB / 0.6621 GB, free: 13.22 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.6409, allocations: 180.2 kB / 0.6623 GB, free: 13 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004618/0.6456, allocations: 2.285 MB / 0.6645 GB, free: 10.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009113/0.6465, allocations: 69.7 kB / 0.6646 GB, free: 10.62 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001013/0.6475, allocations: 1.172 MB / 0.6657 GB, free: 9.441 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001152/0.6487, allocations: 0.8664 MB / 0.6666 GB, free: 8.562 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004056/0.6491, allocations: 288.5 kB / 0.6668 GB, free: 8.273 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.6492, allocations: 301.1 kB / 0.6671 GB, free: 7.977 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004268/0.6535, allocations: 2.15 MB / 0.6692 GB, free: 5.824 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004575/0.6581, allocations: 2.518 MB / 0.6717 GB, free: 3.215 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05296/0.711, allocations: 15.43 MB / 0.6867 GB, free: 3.555 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.856e-05/0.7111, allocations: 3.938 kB / 0.6867 GB, free: 3.551 MB / 490.7 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04387/0.755, allocations: 15.1 MB / 0.7015 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.7552, allocations: 114.8 kB / 0.7016 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.733e-05/0.7552, allocations: 8 kB / 0.7016 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01903/0.7742, allocations: 6.297 MB / 0.7078 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003141/0.7774, allocations: 0.5617 MB / 0.7083 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06432/0.8418, allocations: 24.77 MB / 0.7325 GB, free: 4.445 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005309/0.8471, allocations: 0.5946 MB / 0.7331 GB, free: 3.848 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009495/0.8481, allocations: 124 kB / 0.7332 GB, free: 3.727 MB / 0.5261 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.002516/0.8507, allocations: 0.5328 MB / 0.7337 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001423/0.8521, allocations: 300.3 kB / 0.734 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04377/0.8959, allocations: 14.74 MB / 0.7484 GB, free: 4.09 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.039e-05/0.896, allocations: 28 kB / 0.7484 GB, free: 4.062 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.996e-05/0.896, allocations: 16 kB / 0.7484 GB, free: 4.047 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.713e-05/0.8961, allocations: 15.95 kB / 0.7485 GB, free: 4.031 MB / 0.5417 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.05205/0.9482, allocations: 18.33 MB / 0.7664 GB, free: 1.531 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.381e-05/0.9483, allocations: 0 / 0.7664 GB, free: 1.531 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/0.9499, allocations: 247.6 kB / 0.7666 GB, free: 1.289 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2764/1.226, allocations: 6.263 MB / 0.7727 GB, free: 163.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007247/1.227, allocations: 55.95 kB / 0.7728 GB, free: 163.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05163/1.279, allocations: 25.53 MB / 0.7977 GB, free: 156 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.279, allocations: 0 / 0.7977 GB, free: 156 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04712/1.326, allocations: 17.3 MB / 0.8146 GB, free: 152.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009517/1.327, allocations: 419.1 kB / 0.815 GB, free: 151.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001059/1.328, allocations: 47.41 kB / 0.815 GB, free: 151.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00326/1.331, allocations: 407.6 kB / 0.8154 GB, free: 151.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002093/1.333, allocations: 0.5683 MB / 0.816 GB, free: 151.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000213/1.334, allocations: 66.94 kB / 0.816 GB, free: 151.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002006/1.336, allocations: 1.512 MB / 0.8175 GB, free: 151.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.1e-07/1.336, allocations: 0 / 0.8175 GB, free: 151.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003484/1.339, allocations: 1.171 MB / 0.8187 GB, free: 151 MB / 0.5573 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.04339/1.383, allocations: 17.94 MB / 0.8362 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01755/1.4, allocations: 7.486 MB / 0.8435 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.4, allocations: 4 kB / 0.8435 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01224/1.412, allocations: 5.098 MB / 0.8485 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003256/1.416, allocations: 257.9 kB / 0.8487 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.116/1.532, allocations: 52.49 MB / 0.9 GB, free: 73.47 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001671/1.533, allocations: 1.806 MB / 0.9017 GB, free: 71.63 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001799/1.535, allocations: 258.5 kB / 0.902 GB, free: 71.38 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001865/1.537, allocations: 1.226 MB / 0.9032 GB, free: 70.16 MB / 0.5573 GB Notification: Performance of SimCode: time 1.092e-06/1.537, allocations: 0 / 0.9032 GB, free: 70.16 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1249/1.662, allocations: 80.91 MB / 0.9822 GB, free: 5.496 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/1.662, allocations: 249 kB / 0.9824 GB, free: 5.238 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.104/6.767, allocations: 7.453 kB / 0.9824 GB, free: 5.234 MB / 0.573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)