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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_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.001189/0.001189, allocations: 99.55 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.429/1.429, allocations: 223.2 MB / 238.9 MB, free: 5.465 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.001208/0.001208, allocations: 177 kB / 290.2 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4951/0.4951, allocations: 78.53 MB / 419.8 MB, free: 4.238 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003797, allocations: 12 kB / 499.7 MB, free: 6.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1583, allocations: 69.36 MB / 0.5558 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.3196/0.4779, allocations: 12.02 MB / 0.5675 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008669/0.4866, allocations: 3.566 MB / 0.571 GB, free: 33.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003701/0.4904, allocations: 29.91 kB / 0.571 GB, free: 33.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.4923, allocations: 395.8 kB / 0.5714 GB, free: 33.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005527/0.4978, allocations: 1.332 MB / 0.5727 GB, free: 32.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003504/0.5013, allocations: 1.269 MB / 0.5739 GB, free: 31.99 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005752/0.5071, allocations: 2.375 MB / 0.5763 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00155/0.5087, allocations: 0.6835 MB / 0.5769 GB, free: 30.42 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002615/0.5113, allocations: 1.32 MB / 0.5782 GB, free: 29.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002878/0.5142, allocations: 1.663 MB / 0.5798 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001218/0.5154, allocations: 146.5 kB / 0.58 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002031/0.5175, allocations: 256.4 kB / 0.5802 GB, free: 29.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001229/0.5187, allocations: 0.5833 MB / 0.5808 GB, free: 28.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001163/0.5199, allocations: 0.5229 MB / 0.5813 GB, free: 28.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003611/0.5235, allocations: 2.812 MB / 0.584 GB, free: 27.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.5235, allocations: 0 / 0.584 GB, free: 27.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5235, allocations: 0 / 0.584 GB, free: 27.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001192/0.5237, allocations: 0 / 0.584 GB, free: 27.48 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.02338/0.5471, allocations: 6.155 MB / 0.5901 GB, free: 25.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/0.5471, allocations: 9.406 kB / 0.5901 GB, free: 25.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001423/0.5486, allocations: 299.9 kB / 0.5903 GB, free: 25.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01605/0.5646, allocations: 2.297 MB / 0.5926 GB, free: 24.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00566/0.5704, allocations: 1.775 MB / 0.5943 GB, free: 23.56 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008082/0.5712, allocations: 0.7518 MB / 0.5951 GB, free: 22.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006613/0.5719, allocations: 218.1 kB / 0.5953 GB, free: 22.83 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008006/0.5799, allocations: 3.196 MB / 0.5984 GB, free: 21.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.605e-05/0.58, allocations: 1.797 kB / 0.5984 GB, free: 21.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002691/0.5803, allocations: 87.05 kB / 0.5985 GB, free: 21.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-05/0.5803, allocations: 53.95 kB / 0.5985 GB, free: 21.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007259/0.5876, allocations: 2.968 MB / 0.6014 GB, free: 20.62 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.02201/0.6096, allocations: 10.42 MB / 0.6116 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01289/0.6226, allocations: 4.856 MB / 0.6163 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006199/0.6232, allocations: 44.14 kB / 0.6164 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005878/0.6291, allocations: 2.415 MB / 0.6187 GB, free: 11.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=247): time 6.002e-06/0.6292, allocations: 2.781 kB / 0.6187 GB, free: 11.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=247): time 0.1307/0.7599, allocations: 36.33 MB / 0.6542 GB, free: 8.625 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.7601, allocations: 180.2 kB / 0.6544 GB, free: 8.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003818/0.7639, allocations: 2.261 MB / 0.6566 GB, free: 6.129 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008649/0.7648, allocations: 77.69 kB / 0.6567 GB, free: 6.047 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009501/0.7657, allocations: 1.176 MB / 0.6578 GB, free: 4.859 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001174/0.7669, allocations: 0.8665 MB / 0.6587 GB, free: 3.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.7672, allocations: 68 kB / 0.6587 GB, free: 3.914 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.7674, allocations: 424.8 kB / 0.6591 GB, free: 3.492 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004393/0.7718, allocations: 2.138 MB / 0.6612 GB, free: 1.352 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00473/0.7765, allocations: 2.489 MB / 0.6637 GB, free: 14.77 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004606/0.7811, allocations: 2.4 MB / 0.666 GB, free: 12.33 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.7812, allocations: 0 / 0.666 GB, free: 12.33 MB / 478.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04256/0.8237, allocations: 15.15 MB / 0.6808 GB, free: 13.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.8239, allocations: 118.8 kB / 0.6809 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/0.8239, allocations: 6.219 kB / 0.6809 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01967/0.8436, allocations: 6.366 MB / 0.6871 GB, free: 6.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003139/0.8468, allocations: 0.5578 MB / 0.6877 GB, free: 6.055 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06436/0.9112, allocations: 26.53 MB / 0.7136 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006064/0.9173, allocations: 0.5831 MB / 0.7141 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006941/0.918, allocations: 116 kB / 0.7143 GB, free: 10.69 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.001646/0.9197, allocations: 0.5384 MB / 0.7148 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008889/0.9206, allocations: 296.2 kB / 0.7151 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04366/0.9642, allocations: 14.72 MB / 0.7294 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.774e-05/0.9643, allocations: 27.95 kB / 0.7295 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.876e-05/0.9644, allocations: 20 kB / 0.7295 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.479e-05/0.9645, allocations: 15.89 kB / 0.7295 GB, free: 11.01 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.05076/1.015, allocations: 18.42 MB / 0.7475 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.978e-05/1.015, allocations: 5 kB / 0.7475 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/1.017, allocations: 247.6 kB / 0.7477 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01949/1.037, allocations: 6.261 MB / 0.7538 GB, free: 1.891 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009931/1.038, allocations: 47.98 kB / 0.7539 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4026/1.44, allocations: 26.88 MB / 0.7801 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/1.44, allocations: 3.719 kB / 0.7801 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05298/1.493, allocations: 17.32 MB / 0.7971 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/1.495, allocations: 415.3 kB / 0.7974 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006841/1.495, allocations: 46.77 kB / 0.7975 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003392/1.499, allocations: 406.4 kB / 0.7979 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002366/1.501, allocations: 0.5768 MB / 0.7984 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002642/1.501, allocations: 65.19 kB / 0.7985 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002959/1.504, allocations: 1.489 MB / 0.8 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.2e-07/1.504, allocations: 3.375 kB / 0.8 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005494/1.51, allocations: 1.176 MB / 0.8011 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.05296/1.563, allocations: 18.07 MB / 0.8188 GB, free: 158 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02015/1.583, allocations: 7.478 MB / 0.8261 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/1.583, allocations: 0 / 0.8261 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01378/1.597, allocations: 5.078 MB / 0.831 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/1.6, allocations: 220.5 kB / 0.8312 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/1.614, allocations: 11.63 MB / 0.8426 GB, free: 137 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/1.615, allocations: 1.864 MB / 0.8444 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001136/1.616, allocations: 261.7 kB / 0.8447 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/1.617, allocations: 1.22 MB / 0.8459 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.463e-06/1.617, allocations: 0 / 0.8459 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1178/1.735, allocations: 78.94 MB / 0.9229 GB, free: 56.47 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/1.735, allocations: 207.2 kB / 0.9231 GB, free: 56.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.014/6.75, allocations: 0 / 0.9231 GB, free: 56.23 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: