Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_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.001118/0.001118, 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.401/1.401, allocations: 223.2 MB / 238.9 MB, free: 5.406 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.001586/0.001586, allocations: 185 kB / 290.2 MB, free: 2.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5184/0.5184, allocations: 78.53 MB / 419.8 MB, free: 4.316 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003922, allocations: 12 kB / 499.7 MB, free: 6.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1636, allocations: 69.37 MB / 0.5558 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.2986/0.4622, allocations: 12.23 MB / 0.5677 GB, free: 35.87 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008485/0.4708, allocations: 3.613 MB / 0.5712 GB, free: 33.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003522/0.4744, allocations: 34.59 kB / 0.5713 GB, free: 33.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.4763, allocations: 394.5 kB / 0.5717 GB, free: 33.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00596/0.4823, allocations: 1.346 MB / 0.573 GB, free: 32.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003859/0.4862, allocations: 1.289 MB / 0.5742 GB, free: 31.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006149/0.4923, allocations: 2.41 MB / 0.5766 GB, free: 30.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.4938, allocations: 0.6954 MB / 0.5773 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002645/0.4965, allocations: 1.346 MB / 0.5786 GB, free: 29.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002731/0.4992, allocations: 1.711 MB / 0.5802 GB, free: 28.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007577/0.5, allocations: 144.5 kB / 0.5804 GB, free: 28.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.5013, allocations: 263.3 kB / 0.5806 GB, free: 28.56 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004855/0.5018, allocations: 0.5943 MB / 0.5812 GB, free: 28.21 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008376/0.5026, allocations: 0.5288 MB / 0.5817 GB, free: 27.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003157/0.5058, allocations: 2.871 MB / 0.5845 GB, free: 27.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5058, allocations: 0 / 0.5845 GB, free: 27.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.5058, allocations: 0 / 0.5845 GB, free: 27.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001156/0.506, allocations: 3.938 kB / 0.5845 GB, free: 27 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02361/0.5296, allocations: 6.254 MB / 0.5906 GB, free: 24.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.5296, allocations: 9.062 kB / 0.5907 GB, free: 24.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001532/0.5312, allocations: 302.4 kB / 0.5909 GB, free: 24.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01578/0.547, allocations: 2.298 MB / 0.5932 GB, free: 24.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005367/0.5524, allocations: 1.807 MB / 0.595 GB, free: 23.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007896/0.5532, allocations: 0.7516 MB / 0.5957 GB, free: 22.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008266/0.5541, allocations: 220.1 kB / 0.5959 GB, free: 22.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007961/0.562, allocations: 3.227 MB / 0.5991 GB, free: 21.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.067e-05/0.5621, allocations: 0 / 0.5991 GB, free: 21.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002552/0.5624, allocations: 82.47 kB / 0.5991 GB, free: 21.06 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.338e-05/0.5624, allocations: 58.33 kB / 0.5992 GB, free: 21.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006763/0.5692, allocations: 2.985 MB / 0.6021 GB, free: 20.08 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.02311/0.5924, allocations: 10.52 MB / 0.6124 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01349/0.6059, allocations: 4.893 MB / 0.6172 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005403/0.6065, allocations: 44.23 kB / 0.6172 GB, free: 12.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005623/0.6121, allocations: 2.442 MB / 0.6196 GB, free: 11.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=250): time 4.598e-06/0.6121, allocations: 1.375 kB / 0.6196 GB, free: 11.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=250): time 0.1277/0.7398, allocations: 35.41 MB / 0.6542 GB, free: 8.688 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.74, allocations: 184.2 kB / 0.6543 GB, free: 8.469 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00396/0.744, allocations: 2.31 MB / 0.6566 GB, free: 6.141 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009415/0.7449, allocations: 73.75 kB / 0.6567 GB, free: 6.062 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009637/0.7459, allocations: 1.18 MB / 0.6578 GB, free: 4.871 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001393/0.7473, allocations: 0.878 MB / 0.6587 GB, free: 3.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002654/0.7476, allocations: 64 kB / 0.6587 GB, free: 3.918 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002521/0.7478, allocations: 433 kB / 0.6591 GB, free: 3.488 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004609/0.7525, allocations: 2.173 MB / 0.6613 GB, free: 1.312 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004863/0.7573, allocations: 2.538 MB / 0.6637 GB, free: 14.68 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004953/0.7623, allocations: 2.448 MB / 0.6661 GB, free: 12.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.7623, allocations: 0 / 0.6661 GB, free: 12.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04569/0.808, allocations: 15.31 MB / 0.6811 GB, free: 12.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.8082, allocations: 118.8 kB / 0.6812 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/0.8083, allocations: 8 kB / 0.6812 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02194/0.8302, allocations: 6.496 MB / 0.6875 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003469/0.8337, allocations: 0.5734 MB / 0.6881 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06743/0.9012, allocations: 27.88 MB / 0.7153 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00551/0.9067, allocations: 0.5874 MB / 0.7159 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006508/0.9074, allocations: 116 kB / 0.716 GB, free: 8.766 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 Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-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 (334): * Single equations (assignments): 328 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001609/0.909, allocations: 0.5362 MB / 0.7165 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008188/0.9099, allocations: 304.2 kB / 0.7168 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04506/0.9549, allocations: 14.78 MB / 0.7313 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.742e-05/0.955, allocations: 24 kB / 0.7313 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.874e-05/0.9551, allocations: 20 kB / 0.7313 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.202e-05/0.9552, allocations: 11.95 kB / 0.7313 GB, free: 8.98 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.05056/1.006, allocations: 18.51 MB / 0.7494 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.554e-05/1.006, allocations: 1.406 kB / 0.7494 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001946/1.008, allocations: 251.6 kB / 0.7496 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02037/1.028, allocations: 6.273 MB / 0.7558 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008251/1.029, allocations: 51.94 kB / 0.7558 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3219/1.351, allocations: 26.86 MB / 0.782 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.351, allocations: 6.656 kB / 0.782 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05027/1.401, allocations: 17.39 MB / 0.799 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/1.403, allocations: 420.3 kB / 0.7994 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001197/1.404, allocations: 47.55 kB / 0.7995 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003933/1.408, allocations: 411.8 kB / 0.7999 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002293/1.41, allocations: 0.5813 MB / 0.8004 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003057/1.41, allocations: 65.09 kB / 0.8005 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002737/1.413, allocations: 1.518 MB / 0.802 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4e-07/1.413, allocations: 0.875 kB / 0.802 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004586/1.418, allocations: 1.21 MB / 0.8032 GB, free: 161.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,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 (159): * Single equations (assignments): 154 * 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.04927/1.467, allocations: 18.15 MB / 0.8209 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01942/1.487, allocations: 7.704 MB / 0.8284 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/1.487, allocations: 2.844 kB / 0.8284 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01614/1.503, allocations: 5.106 MB / 0.8334 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00348/1.506, allocations: 219.8 kB / 0.8336 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/1.525, allocations: 11.96 MB / 0.8453 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/1.526, allocations: 1.878 MB / 0.8471 GB, free: 133 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001826/1.528, allocations: 263.5 kB / 0.8474 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001955/1.53, allocations: 1.233 MB / 0.8486 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.112e-06/1.53, allocations: 0 / 0.8486 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1215/1.651, allocations: 80 MB / 0.9267 GB, free: 52.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/1.652, allocations: 215 kB / 0.9269 GB, free: 52.19 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.351/6.003, allocations: 0 / 0.9269 GB, free: 52.19 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: