Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_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.001444/0.001444, allocations: 98.45 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.452/1.452, allocations: 223.2 MB / 238.9 MB, free: 5.41 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.001292/0.001292, allocations: 181 kB / 290.2 MB, free: 2.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5307/0.5307, allocations: 78.52 MB / 419.8 MB, free: 4.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004033, allocations: 12 kB / 499.7 MB, free: 6.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1633, allocations: 69.36 MB / 0.5558 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.3237/0.4871, allocations: 12.19 MB / 0.5677 GB, free: 35.56 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008867/0.496, allocations: 3.597 MB / 0.5712 GB, free: 33.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003627/0.4996, allocations: 34.69 kB / 0.5712 GB, free: 33.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002085/0.5018, allocations: 397.5 kB / 0.5716 GB, free: 32.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005609/0.5074, allocations: 1.348 MB / 0.5729 GB, free: 32.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003724/0.5111, allocations: 1.278 MB / 0.5742 GB, free: 31.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005302/0.5164, allocations: 2.396 MB / 0.5765 GB, free: 30.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.5175, allocations: 0.6998 MB / 0.5772 GB, free: 29.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002299/0.5199, allocations: 1.338 MB / 0.5785 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002098/0.522, allocations: 1.689 MB / 0.5801 GB, free: 28.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003933/0.5224, allocations: 141.8 kB / 0.5803 GB, free: 28.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008659/0.5232, allocations: 263.1 kB / 0.5805 GB, free: 28.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004756/0.5237, allocations: 0.594 MB / 0.5811 GB, free: 28.08 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006472/0.5244, allocations: 0.5241 MB / 0.5816 GB, free: 27.76 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002692/0.5271, allocations: 2.845 MB / 0.5844 GB, free: 26.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.5271, allocations: 4 kB / 0.5844 GB, free: 26.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5271, allocations: 0 / 0.5844 GB, free: 26.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.768e-05/0.5272, allocations: 0 / 0.5844 GB, free: 26.88 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02196/0.5492, allocations: 6.226 MB / 0.5905 GB, free: 24.61 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.5492, allocations: 9.031 kB / 0.5905 GB, free: 24.61 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001216/0.5504, allocations: 308.5 kB / 0.5908 GB, free: 24.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01545/0.5659, allocations: 2.297 MB / 0.593 GB, free: 23.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004984/0.5709, allocations: 1.789 MB / 0.5948 GB, free: 22.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007298/0.5717, allocations: 0.7519 MB / 0.5955 GB, free: 22.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000595/0.5723, allocations: 218.2 kB / 0.5957 GB, free: 22.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007032/0.5794, allocations: 3.215 MB / 0.5989 GB, free: 21.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/0.5794, allocations: 0 / 0.5989 GB, free: 21.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002414/0.5797, allocations: 82.7 kB / 0.5989 GB, free: 20.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.567e-05/0.5797, allocations: 52.89 kB / 0.599 GB, free: 20.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006844/0.5866, allocations: 2.983 MB / 0.6019 GB, free: 19.98 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.02261/0.6092, allocations: 10.48 MB / 0.6121 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01373/0.623, allocations: 4.879 MB / 0.6169 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006573/0.6237, allocations: 47.41 kB / 0.6169 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005945/0.6297, allocations: 2.432 MB / 0.6193 GB, free: 11.15 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 4.719e-06/0.6297, allocations: 0 / 0.6193 GB, free: 11.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.1229/0.7527, allocations: 33.47 MB / 0.652 GB, free: 10.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001848/0.7529, allocations: 192.2 kB / 0.6522 GB, free: 10.58 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005034/0.758, allocations: 2.294 MB / 0.6544 GB, free: 8.266 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001259/0.7593, allocations: 69.69 kB / 0.6545 GB, free: 8.191 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0011/0.7604, allocations: 1.18 MB / 0.6556 GB, free: 7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001623/0.762, allocations: 0.8742 MB / 0.6565 GB, free: 6.113 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002772/0.7623, allocations: 68 kB / 0.6566 GB, free: 6.047 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002606/0.7626, allocations: 424.9 kB / 0.657 GB, free: 5.625 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004704/0.7673, allocations: 2.162 MB / 0.6591 GB, free: 3.461 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005264/0.7726, allocations: 2.517 MB / 0.6615 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005451/0.7781, allocations: 2.429 MB / 0.6639 GB, free: 14.39 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.967e-05/0.7781, allocations: 8 kB / 0.6639 GB, free: 14.38 MB / 478.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04462/0.8227, allocations: 15.2 MB / 0.6788 GB, free: 15.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.8229, allocations: 118.7 kB / 0.6789 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/0.823, allocations: 12 kB / 0.6789 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02048/0.8434, allocations: 6.428 MB / 0.6852 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003464/0.8469, allocations: 0.5929 MB / 0.6857 GB, free: 7.949 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06526/0.9122, allocations: 26.48 MB / 0.7116 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00572/0.918, allocations: 0.5908 MB / 0.7122 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000834/0.9189, allocations: 116 kB / 0.7123 GB, free: 12.63 MB / 0.5137 GB Warning: Assuming fixed start value for the following 7 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 Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Syn2.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 (331): * Single equations (assignments): 326 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001911/0.9208, allocations: 0.5372 MB / 0.7128 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/0.9218, allocations: 297.8 kB / 0.7131 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04639/0.9682, allocations: 14.75 MB / 0.7275 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.641e-05/0.9683, allocations: 27.95 kB / 0.7275 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.33e-05/0.9684, allocations: 23.98 kB / 0.7276 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001077/0.9685, allocations: 19.88 kB / 0.7276 GB, free: 12.86 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.05332/1.022, allocations: 18.49 MB / 0.7456 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-05/1.022, allocations: 0 / 0.7456 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/1.024, allocations: 247.7 kB / 0.7459 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02068/1.045, allocations: 6.293 MB / 0.752 GB, free: 3.594 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000905/1.046, allocations: 47.98 kB / 0.7521 GB, free: 3.547 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3829/1.428, allocations: 26.85 MB / 0.7783 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/1.429, allocations: 3.422 kB / 0.7783 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05221/1.481, allocations: 17.37 MB / 0.7952 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001733/1.483, allocations: 418 kB / 0.7956 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001157/1.484, allocations: 43.38 kB / 0.7957 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00372/1.487, allocations: 412.9 kB / 0.7961 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002472/1.49, allocations: 0.5779 MB / 0.7966 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002633/1.49, allocations: 65.5 kB / 0.7967 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003003/1.493, allocations: 1.508 MB / 0.7982 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.81e-07/1.493, allocations: 0 / 0.7982 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00506/1.498, allocations: 1.19 MB / 0.7993 GB, free: 161.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,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 (158): * Single equations (assignments): 153 * 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 {(67,7.5%) 21} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.05416/1.552, allocations: 18.13 MB / 0.817 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01933/1.572, allocations: 7.53 MB / 0.8244 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/1.572, allocations: 4 kB / 0.8244 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01402/1.586, allocations: 5.11 MB / 0.8294 GB, free: 149 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002401/1.588, allocations: 223.3 kB / 0.8296 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/1.602, allocations: 11.84 MB / 0.8412 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/1.603, allocations: 1.874 MB / 0.843 GB, free: 136 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001091/1.604, allocations: 271.9 kB / 0.8433 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/1.605, allocations: 1.229 MB / 0.8445 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.132e-06/1.605, allocations: 0 / 0.8445 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1143/1.72, allocations: 79.54 MB / 0.9221 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/1.72, allocations: 211.2 kB / 0.9223 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.971/6.691, allocations: 0 / 0.9223 GB, free: 56.55 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: