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.0009449/0.0009451, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.372/1.372, allocations: 223.2 MB / 239 MB, free: 5.434 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.001297/0.001297, allocations: 180.5 kB / 290.3 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4991/0.4991, allocations: 78.56 MB / 419.9 MB, free: 4.254 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003828, allocations: 12 kB / 499.9 MB, free: 6.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1365, allocations: 69.36 MB / 0.5559 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.2653/0.4019, allocations: 12.96 MB / 0.5686 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008174/0.4101, allocations: 3.492 MB / 0.572 GB, free: 32.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003547/0.4137, allocations: 32.94 kB / 0.572 GB, free: 32.8 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002206/0.416, allocations: 394.4 kB / 0.5724 GB, free: 32.62 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005899/0.4219, allocations: 1.204 MB / 0.5736 GB, free: 31.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00386/0.4258, allocations: 1.295 MB / 0.5748 GB, free: 31.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005748/0.4315, allocations: 3.406 MB / 0.5781 GB, free: 29.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002225/0.4338, allocations: 0.6964 MB / 0.5788 GB, free: 29.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002824/0.4366, allocations: 1.334 MB / 0.5801 GB, free: 28.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003005/0.4396, allocations: 1.755 MB / 0.5818 GB, free: 27.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001256/0.4409, allocations: 147.6 kB / 0.582 GB, free: 27.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.4429, allocations: 274.2 kB / 0.5822 GB, free: 27.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001325/0.4442, allocations: 0.6071 MB / 0.5828 GB, free: 27.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001632/0.4458, allocations: 0.5267 MB / 0.5833 GB, free: 27.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004136/0.45, allocations: 3 MB / 0.5863 GB, free: 26.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.45, allocations: 0 / 0.5863 GB, free: 26.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.45, allocations: 1.875 kB / 0.5863 GB, free: 26.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002117/0.4502, allocations: 0 / 0.5863 GB, free: 26.19 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.02127/0.4715, allocations: 6.254 MB / 0.5924 GB, free: 23.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.4716, allocations: 9.688 kB / 0.5924 GB, free: 23.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00119/0.4728, allocations: 302.5 kB / 0.5927 GB, free: 23.72 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0149/0.4877, allocations: 2.302 MB / 0.5949 GB, free: 23.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006413/0.4942, allocations: 1.804 MB / 0.5967 GB, free: 22.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001149/0.4954, allocations: 0.7564 MB / 0.5974 GB, free: 21.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001686/0.4971, allocations: 223.1 kB / 0.5976 GB, free: 21.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01209/0.5092, allocations: 3.232 MB / 0.6008 GB, free: 20.31 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001222/0.5094, allocations: 0 / 0.6008 GB, free: 20.31 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009643/0.5104, allocations: 89.94 kB / 0.6009 GB, free: 20.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-05/0.5105, allocations: 55.17 kB / 0.6009 GB, free: 20.24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009503/0.52, allocations: 2.985 MB / 0.6039 GB, free: 19.27 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.0273/0.5473, allocations: 10.21 MB / 0.6138 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01256/0.5599, allocations: 4.895 MB / 0.6186 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005341/0.5653, allocations: 2.176 MB / 0.6207 GB, free: 10.63 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006491/0.566, allocations: 44.08 kB / 0.6208 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005855/0.5719, allocations: 2.45 MB / 0.6232 GB, free: 8.691 MB / 430.1 MB Notification: Performance of pre-optimization done (n=250): time 8.636e-06/0.572, allocations: 0 / 0.6232 GB, free: 8.691 MB / 430.1 MB Notification: Performance of matching and sorting (n=250): time 0.1188/0.6907, allocations: 35.37 MB / 0.6577 GB, free: 5.203 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002164/0.691, allocations: 184.2 kB / 0.6579 GB, free: 4.984 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006369/0.6974, allocations: 2.314 MB / 0.6601 GB, free: 2.652 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008718/0.6983, allocations: 69.69 kB / 0.6602 GB, free: 2.578 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001166/0.6995, allocations: 1.176 MB / 0.6614 GB, free: 1.391 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001618/0.7011, allocations: 0.8819 MB / 0.6622 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008005/0.7019, allocations: 64 kB / 0.6623 GB, free: 444 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002914/0.7022, allocations: 433 kB / 0.6627 GB, free: 4 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005112/0.7074, allocations: 2.177 MB / 0.6648 GB, free: 13.82 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005387/0.7128, allocations: 2.542 MB / 0.6673 GB, free: 11.19 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005401/0.7182, allocations: 2.448 MB / 0.6697 GB, free: 8.703 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-05/0.7182, allocations: 7.953 kB / 0.6697 GB, free: 8.695 MB / 478.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04363/0.7619, allocations: 15.31 MB / 0.6846 GB, free: 9.316 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.7621, allocations: 118.8 kB / 0.6848 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-05/0.7621, allocations: 4.625 kB / 0.6848 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02004/0.7822, allocations: 6.501 MB / 0.6911 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003647/0.7859, allocations: 0.5695 MB / 0.6917 GB, free: 2.113 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06664/0.8526, allocations: 26.53 MB / 0.7176 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005244/0.8579, allocations: 0.587 MB / 0.7181 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009008/0.8588, allocations: 124 kB / 0.7183 GB, free: 6.602 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.002488/0.8613, allocations: 0.5217 MB / 0.7188 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00146/0.8628, allocations: 312.2 kB / 0.7191 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04304/0.9058, allocations: 14.77 MB / 0.7335 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.468e-05/0.9059, allocations: 28 kB / 0.7335 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.6e-05/0.906, allocations: 20 kB / 0.7335 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-05/0.9061, allocations: 13.02 kB / 0.7336 GB, free: 6.828 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.04989/0.956, allocations: 18.41 MB / 0.7515 GB, free: 4.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.124e-05/0.9561, allocations: 4 kB / 0.7515 GB, free: 4.195 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001751/0.9579, allocations: 251.6 kB / 0.7518 GB, free: 3.949 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01791/0.9758, allocations: 6.261 MB / 0.7579 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008304/0.9767, allocations: 51.98 kB / 0.7579 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3544/1.331, allocations: 25.49 MB / 0.7828 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/1.331, allocations: 3.469 kB / 0.7828 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04863/1.38, allocations: 17.35 MB / 0.7998 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001813/1.382, allocations: 422.1 kB / 0.8002 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000814/1.383, allocations: 48.2 kB / 0.8002 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003198/1.386, allocations: 406.2 kB / 0.8006 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002871/1.389, allocations: 0.5827 MB / 0.8012 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002472/1.389, allocations: 65.66 kB / 0.8013 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003289/1.392, allocations: 1.521 MB / 0.8027 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.71e-07/1.392, allocations: 1 kB / 0.8027 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005759/1.398, allocations: 1.201 MB / 0.8039 GB, free: 163.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.04786/1.446, allocations: 18 MB / 0.8215 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01852/1.464, allocations: 7.697 MB / 0.829 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/1.465, allocations: 0.5625 kB / 0.829 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01333/1.478, allocations: 5.105 MB / 0.834 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004873/1.483, allocations: 264.8 kB / 0.8342 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07841/1.561, allocations: 34.46 MB / 0.8679 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001928/1.563, allocations: 1.815 MB / 0.8697 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001795/1.565, allocations: 273.9 kB / 0.8699 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001966/1.567, allocations: 1.23 MB / 0.8711 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of SimCode: time 3.006e-06/1.567, allocations: 0 / 0.8711 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1184/1.685, allocations: 81.98 MB / 0.9512 GB, free: 26.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/1.686, allocations: 216.3 kB / 0.9514 GB, free: 26.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.433/6.119, allocations: 3.875 kB / 0.9514 GB, free: 26.43 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: