Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008914/0.008914, allocations: 167.7 kB / 15.13 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 223.3 MB / 239.1 MB, free: 1.707 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008468/0.0008464, allocations: 105.3 kB / 290.3 MB, free: 13.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5097/0.5097, allocations: 78.62 MB / 420 MB, free: 44.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004287/0.0004288, allocations: 16 kB / 500 MB, free: 2.82 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4163, allocations: 69.34 MB / 0.556 GB, free: 38.79 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01107/0.4275, allocations: 12.75 MB / 0.5684 GB, free: 32.48 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009013/0.4365, allocations: 3.444 MB / 0.5718 GB, free: 29.97 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003735/0.4403, allocations: 34.59 kB / 0.5718 GB, free: 29.97 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002272/0.4426, allocations: 385.5 kB / 0.5722 GB, free: 29.8 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006465/0.4491, allocations: 1.205 MB / 0.5734 GB, free: 28.98 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00409/0.4532, allocations: 1.275 MB / 0.5746 GB, free: 28.33 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.005978/0.4592, allocations: 3.335 MB / 0.5779 GB, free: 26.63 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001715/0.4609, allocations: 0.698 MB / 0.5786 GB, free: 26.29 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002462/0.4634, allocations: 1.293 MB / 0.5798 GB, free: 25.71 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002643/0.4661, allocations: 1.72 MB / 0.5815 GB, free: 24.95 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001207/0.4673, allocations: 140.6 kB / 0.5816 GB, free: 24.95 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/0.469, allocations: 272.5 kB / 0.5819 GB, free: 24.91 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005618/0.4696, allocations: 0.5885 MB / 0.5825 GB, free: 24.57 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008683/0.4705, allocations: 0.521 MB / 0.583 GB, free: 24.25 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002467/0.473, allocations: 2.937 MB / 0.5858 GB, free: 23.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.473, allocations: 0 / 0.5858 GB, free: 23.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.473, allocations: 0 / 0.5858 GB, free: 23.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.518e-05/0.4731, allocations: 0 / 0.5858 GB, free: 23.34 MB / 426.7 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.01978/0.4929, allocations: 6.159 MB / 0.5919 GB, free: 21.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.4929, allocations: 11.22 kB / 0.5919 GB, free: 21.07 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008998/0.4938, allocations: 302.9 kB / 0.5922 GB, free: 20.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01349/0.5073, allocations: 2.297 MB / 0.5944 GB, free: 20.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004286/0.5117, allocations: 1.773 MB / 0.5961 GB, free: 19.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006015/0.5123, allocations: 0.7487 MB / 0.5969 GB, free: 18.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004749/0.5128, allocations: 212.5 kB / 0.5971 GB, free: 18.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008776/0.5216, allocations: 3.222 MB / 0.6002 GB, free: 17.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.256e-05/0.5217, allocations: 3.234 kB / 0.6002 GB, free: 17.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003784/0.5221, allocations: 85.81 kB / 0.6003 GB, free: 17.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.342e-05/0.5221, allocations: 53.45 kB / 0.6003 GB, free: 17.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01026/0.5324, allocations: 2.971 MB / 0.6032 GB, free: 16.46 MB / 426.7 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.03034/0.5628, allocations: 10.1 MB / 0.6131 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01771/0.5805, allocations: 4.853 MB / 0.6179 GB, free: 8.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007672/0.5882, allocations: 2.157 MB / 0.62 GB, free: 7.887 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003883/0.5887, allocations: 48.61 kB / 0.62 GB, free: 7.867 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006507/0.5952, allocations: 2.416 MB / 0.6224 GB, free: 5.617 MB / 426.7 MB Notification: Performance of pre-optimization done (n=247): time 6.772e-06/0.5952, allocations: 0 / 0.6224 GB, free: 5.617 MB / 426.7 MB Notification: Performance of matching and sorting (n=247): time 0.1597/0.755, allocations: 36.28 MB / 0.6578 GB, free: 1.207 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.7552, allocations: 188.1 kB / 0.658 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004111/0.7593, allocations: 2.265 MB / 0.6602 GB, free: 14.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00115/0.7605, allocations: 77.69 kB / 0.6603 GB, free: 14.61 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001171/0.7616, allocations: 1.168 MB / 0.6614 GB, free: 13.44 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001405/0.7631, allocations: 0.8665 MB / 0.6622 GB, free: 12.56 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002416/0.7633, allocations: 64 kB / 0.6623 GB, free: 12.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.7635, allocations: 424.8 kB / 0.6627 GB, free: 12.07 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004541/0.7681, allocations: 2.134 MB / 0.6648 GB, free: 9.938 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004772/0.7729, allocations: 2.51 MB / 0.6673 GB, free: 7.336 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004813/0.7777, allocations: 2.392 MB / 0.6696 GB, free: 4.902 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.7777, allocations: 3.953 kB / 0.6696 GB, free: 4.898 MB / 474.7 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04526/0.823, allocations: 15.15 MB / 0.6844 GB, free: 5.676 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001254/0.8232, allocations: 116.4 kB / 0.6845 GB, free: 5.539 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.812e-05/0.8232, allocations: 8 kB / 0.6845 GB, free: 5.531 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02084/0.844, allocations: 6.366 MB / 0.6907 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003198/0.8473, allocations: 0.5617 MB / 0.6913 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06419/0.9115, allocations: 25.18 MB / 0.7159 GB, free: 5.258 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00568/0.9172, allocations: 0.587 MB / 0.7164 GB, free: 4.668 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008098/0.9181, allocations: 124 kB / 0.7166 GB, free: 4.547 MB / 0.5105 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.001746/0.9199, allocations: 0.5201 MB / 0.7171 GB, free: 4.008 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/0.921, allocations: 304.2 kB / 0.7173 GB, free: 3.707 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04436/0.9654, allocations: 14.72 MB / 0.7317 GB, free: 4.934 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.894e-05/0.9654, allocations: 28 kB / 0.7318 GB, free: 4.906 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-05/0.9655, allocations: 20 kB / 0.7318 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-05/0.9655, allocations: 15.89 kB / 0.7318 GB, free: 4.871 MB / 0.5261 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.05072/1.016, allocations: 18.32 MB / 0.7497 GB, free: 2.387 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-05/1.016, allocations: 0 / 0.7497 GB, free: 2.387 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/1.018, allocations: 239.7 kB / 0.7499 GB, free: 2.152 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01985/1.038, allocations: 6.264 MB / 0.756 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008183/1.039, allocations: 51.94 kB / 0.7561 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3782/1.417, allocations: 25.51 MB / 0.781 GB, free: 165.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.417, allocations: 2.594 kB / 0.781 GB, free: 165.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05109/1.468, allocations: 17.27 MB / 0.7979 GB, free: 162.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/1.47, allocations: 419.4 kB / 0.7983 GB, free: 162 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001166/1.471, allocations: 44.09 kB / 0.7983 GB, free: 162 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003882/1.475, allocations: 408.6 kB / 0.7987 GB, free: 161.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002814/1.478, allocations: 0.5762 MB / 0.7993 GB, free: 161.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004236/1.478, allocations: 68.59 kB / 0.7993 GB, free: 161.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00343/1.482, allocations: 1.487 MB / 0.8008 GB, free: 161.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.41e-07/1.482, allocations: 0 / 0.8008 GB, free: 161.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005948/1.488, allocations: 1.176 MB / 0.8019 GB, free: 161.1 MB / 0.5573 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.05147/1.539, allocations: 17.91 MB / 0.8194 GB, free: 154.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01926/1.558, allocations: 7.49 MB / 0.8267 GB, free: 148.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.558, allocations: 0 / 0.8267 GB, free: 148.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01433/1.573, allocations: 5.071 MB / 0.8317 GB, free: 143.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00279/1.576, allocations: 275.7 kB / 0.8319 GB, free: 143.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06976/1.645, allocations: 33.68 MB / 0.8648 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/1.646, allocations: 1.81 MB / 0.8666 GB, free: 107 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001285/1.648, allocations: 258.5 kB / 0.8668 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001254/1.649, allocations: 1.218 MB / 0.868 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.132e-06/1.649, allocations: 0 / 0.868 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/1.752, allocations: 80.76 MB / 0.9469 GB, free: 25.06 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001418/1.752, allocations: 234.7 kB / 0.9471 GB, free: 24.82 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.887/6.639, allocations: 0 / 0.9471 GB, free: 24.82 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)