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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.376/1.376, allocations: 222.9 MB / 239 MB, free: 4.699 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.00158/0.00158, allocations: 196.5 kB / 289.3 MB, free: 2.438 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5112/0.5112, allocations: 91.9 MB / 431.3 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 79.88 kB / 0.5015 GB, free: 7.906 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3767, allocations: 71.25 MB / 0.5711 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01077/0.3875, allocations: 14.42 MB / 0.5852 GB, free: 27.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008149/0.3957, allocations: 3.609 MB / 0.5887 GB, free: 24.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003193/0.399, allocations: 31.22 kB / 0.5887 GB, free: 24.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.4009, allocations: 428.4 kB / 0.5891 GB, free: 24.26 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005152/0.406, allocations: 1.225 MB / 0.5903 GB, free: 23.45 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00368/0.4097, allocations: 1.402 MB / 0.5917 GB, free: 22.67 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005648/0.4154, allocations: 3.698 MB / 0.5953 GB, free: 20.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.4172, allocations: 0.8912 MB / 0.5962 GB, free: 20.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003408/0.4206, allocations: 1.539 MB / 0.5977 GB, free: 19.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003878/0.4245, allocations: 1.951 MB / 0.5996 GB, free: 18.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001777/0.4263, allocations: 288.7 kB / 0.5999 GB, free: 18.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003048/0.4294, allocations: 437.5 kB / 0.6003 GB, free: 18.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001756/0.4312, allocations: 0.7592 MB / 0.601 GB, free: 18.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003711/0.4349, allocations: 1.645 MB / 0.6026 GB, free: 16.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005127/0.44, allocations: 3.917 MB / 0.6064 GB, free: 15.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.427e-06/0.4401, allocations: 0.75 kB / 0.6064 GB, free: 15.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4401, allocations: 1.125 kB / 0.6064 GB, free: 15.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001857/0.4403, allocations: 0 / 0.6064 GB, free: 15.11 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.02734/0.4676, allocations: 6.583 MB / 0.6129 GB, free: 12.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.4677, allocations: 9.156 kB / 0.6129 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001234/0.4689, allocations: 302.6 kB / 0.6132 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01682/0.4858, allocations: 2.273 MB / 0.6154 GB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005629/0.4915, allocations: 1.88 MB / 0.6172 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009431/0.4924, allocations: 0.7272 MB / 0.6179 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001265/0.4937, allocations: 214.5 kB / 0.6181 GB, free: 9.961 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/0.5041, allocations: 3.028 MB / 0.6211 GB, free: 8.812 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-05/0.5042, allocations: 4.594 kB / 0.6211 GB, free: 8.809 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007346/0.5049, allocations: 85.31 kB / 0.6212 GB, free: 8.742 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.176e-05/0.505, allocations: 49.56 kB / 0.6212 GB, free: 8.742 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007592/0.5126, allocations: 2.783 MB / 0.624 GB, free: 7.801 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.01858/0.5312, allocations: 9.867 MB / 0.6336 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01124/0.5425, allocations: 4.184 MB / 0.6377 GB, free: 9.684 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004251/0.5468, allocations: 1.968 MB / 0.6396 GB, free: 7.711 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003121/0.5471, allocations: 41.95 kB / 0.6396 GB, free: 7.672 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004821/0.5519, allocations: 2.232 MB / 0.6418 GB, free: 5.418 MB / 446.1 MB Notification: Performance of pre-optimization done (n=247): time 4.649e-06/0.5519, allocations: 0 / 0.6418 GB, free: 5.418 MB / 446.1 MB Notification: Performance of matching and sorting (n=247): time 0.1293/0.6812, allocations: 29.46 MB / 0.6706 GB, free: 7.832 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.6814, allocations: 192.2 kB / 0.6708 GB, free: 7.605 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003954/0.6853, allocations: 2.273 MB / 0.673 GB, free: 5.312 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009599/0.6863, allocations: 73.7 kB / 0.6731 GB, free: 5.234 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009433/0.6873, allocations: 1.176 MB / 0.6742 GB, free: 4.047 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001467/0.6888, allocations: 0.8703 MB / 0.6751 GB, free: 3.164 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001234/0.69, allocations: 0.5501 MB / 0.6756 GB, free: 2.605 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.6901, allocations: 301.1 kB / 0.6759 GB, free: 2.309 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004257/0.6944, allocations: 1.947 MB / 0.6778 GB, free: 368 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004617/0.699, allocations: 2.322 MB / 0.68 GB, free: 13.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05604/0.7551, allocations: 14.05 MB / 0.6938 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.891e-05/0.7552, allocations: 3.938 kB / 0.6938 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04366/0.7988, allocations: 12.28 MB / 0.7058 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.799, allocations: 125.2 kB / 0.7059 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/0.799, allocations: 4 kB / 0.7059 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0185/0.8175, allocations: 5.324 MB / 0.7111 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00313/0.8207, allocations: 0.5617 MB / 0.7116 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06238/0.8831, allocations: 23.51 MB / 0.7346 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005709/0.8889, allocations: 493 kB / 0.7351 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008607/0.8898, allocations: 120 kB / 0.7352 GB, free: 4.992 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.001866/0.8917, allocations: 0.531 MB / 0.7357 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001085/0.8928, allocations: 296.3 kB / 0.736 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03913/0.9319, allocations: 11.9 MB / 0.7476 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.04e-05/0.932, allocations: 24 kB / 0.7476 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.368e-05/0.932, allocations: 20 kB / 0.7476 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-05/0.9321, allocations: 11.95 kB / 0.7477 GB, free: 8.141 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.0444/0.9765, allocations: 15.49 MB / 0.7628 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/0.9766, allocations: 7.938 kB / 0.7628 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/0.9782, allocations: 247.6 kB / 0.763 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01764/0.9958, allocations: 5.283 MB / 0.7682 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008393/0.9967, allocations: 51.98 kB / 0.7682 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2941/1.291, allocations: 24.96 MB / 0.7926 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.291, allocations: 2.531 kB / 0.7926 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04897/1.34, allocations: 14.26 MB / 0.8065 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/1.341, allocations: 407.9 kB / 0.8069 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001155/1.343, allocations: 48.44 kB / 0.807 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003347/1.346, allocations: 299.2 kB / 0.8073 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002467/1.348, allocations: 0.5818 MB / 0.8078 GB, free: 154 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002801/1.349, allocations: 65.11 kB / 0.8079 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002546/1.351, allocations: 1.511 MB / 0.8094 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.91e-07/1.351, allocations: 0 / 0.8094 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00485/1.356, allocations: 1.171 MB / 0.8105 GB, free: 153.2 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.04266/1.399, allocations: 14.9 MB / 0.8251 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01988/1.419, allocations: 6.801 MB / 0.8317 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.419, allocations: 0 / 0.8317 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01284/1.432, allocations: 4.406 MB / 0.836 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002935/1.435, allocations: 262.8 kB / 0.8362 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1042/1.539, allocations: 46.55 MB / 0.8817 GB, free: 85.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/1.54, allocations: 1.806 MB / 0.8835 GB, free: 83.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001339/1.541, allocations: 262.5 kB / 0.8837 GB, free: 83.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/1.543, allocations: 1.23 MB / 0.8849 GB, free: 82.24 MB / 0.5606 GB Notification: Performance of SimCode: time 1.112e-06/1.543, allocations: 0 / 0.8849 GB, free: 82.24 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1343/1.677, allocations: 85.89 MB / 0.9688 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/1.677, allocations: 244.7 kB / 0.969 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.456/6.134, allocations: 0 / 0.969 GB, free: 12.33 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)