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/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.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 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.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/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.235/1.235, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008068/0.0008067, allocations: 90.25 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4264/0.4264, allocations: 78.03 MB / 414.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.626e-05/3.654e-05, allocations: 0 / 491.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3262, allocations: 69.34 MB / 0.548 GB, free: 20.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.119/0.4452, allocations: 100.9 MB / 0.6466 GB, free: 15.53 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.4455, allocations: 75.95 kB / 0.6466 GB, free: 15.45 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4526/0.8981, allocations: 70.57 MB / 0.7155 GB, free: 93.22 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.8981, allocations: 0 / 0.7155 GB, free: 93.22 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000153/0.8983, allocations: 56 kB / 0.7156 GB, free: 93.17 MB / 490.7 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.01128/0.9096, allocations: 4.09 MB / 0.7196 GB, free: 89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.9096, allocations: 15.95 kB / 0.7196 GB, free: 88.98 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007917/0.9104, allocations: 303.3 kB / 0.7199 GB, free: 88.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009417/0.9198, allocations: 1.603 MB / 0.7215 GB, free: 87.06 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003834/0.9237, allocations: 1.655 MB / 0.7231 GB, free: 85.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005273/0.9243, allocations: 0.7487 MB / 0.7238 GB, free: 84.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005038/0.9248, allocations: 216 kB / 0.724 GB, free: 84.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00408/0.9289, allocations: 2.58 MB / 0.7265 GB, free: 81.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.69e-05/0.9289, allocations: 0 / 0.7265 GB, free: 81.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002461/0.9292, allocations: 87.94 kB / 0.7266 GB, free: 81.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/0.9292, allocations: 51.98 kB / 0.7267 GB, free: 81.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003628/0.9328, allocations: 2.344 MB / 0.729 GB, free: 79.12 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01708/0.9499, allocations: 10 MB / 0.7387 GB, free: 68.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008662/0.9586, allocations: 4.227 MB / 0.7429 GB, free: 64.33 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002574/0.9612, allocations: 1.555 MB / 0.7444 GB, free: 62.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003395/0.9616, allocations: 37.95 kB / 0.7444 GB, free: 62.74 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00286/0.9645, allocations: 1.816 MB / 0.7462 GB, free: 60.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=250): time 4.499e-06/0.9645, allocations: 0 / 0.7462 GB, free: 60.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=250): time 0.03613/1.001, allocations: 12.58 MB / 0.7585 GB, free: 48.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.957e-05/1.001, allocations: 184.2 kB / 0.7586 GB, free: 48.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002957/1.004, allocations: 1.902 MB / 0.7605 GB, free: 46.13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007717/1.005, allocations: 73.64 kB / 0.7606 GB, free: 46.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008479/1.005, allocations: 1.212 MB / 0.7618 GB, free: 44.83 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001752/1.007, allocations: 0.8663 MB / 0.7626 GB, free: 43.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/1.007, allocations: 48 kB / 0.7627 GB, free: 43.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/1.008, allocations: 403.1 kB / 0.763 GB, free: 43.51 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002087/1.01, allocations: 1.274 MB / 0.7643 GB, free: 42.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002129/1.012, allocations: 1.586 MB / 0.7658 GB, free: 40.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/1.014, allocations: 1.498 MB / 0.7673 GB, free: 38.99 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/1.014, allocations: 4 kB / 0.7673 GB, free: 38.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=320) (initialization): time 0.03493/1.049, allocations: 12.72 MB / 0.7797 GB, free: 26.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.936e-05/1.049, allocations: 114.8 kB / 0.7798 GB, free: 26.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/1.049, allocations: 8 kB / 0.7798 GB, free: 26.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01637/1.065, allocations: 5.349 MB / 0.7851 GB, free: 20.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002283/1.068, allocations: 415.4 kB / 0.7855 GB, free: 20.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03879/1.107, allocations: 19.24 MB / 0.8042 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004163/1.111, allocations: 0.5406 MB / 0.8048 GB, free: 204 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004192/1.111, allocations: 91.95 kB / 0.8049 GB, free: 112 kB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (229): * Single equations (assignments): 223 * 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 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.0006819/1.112, allocations: 307.1 kB / 0.8052 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007552/1.113, allocations: 300.2 kB / 0.8054 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03954/1.152, allocations: 12.94 MB / 0.8181 GB, free: 2.461 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.29e-05/1.152, allocations: 27.98 kB / 0.8181 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-05/1.152, allocations: 20 kB / 0.8181 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.907e-05/1.152, allocations: 15.91 kB / 0.8181 GB, free: 2.398 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.04521/1.198, allocations: 16.53 MB / 0.8343 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.126e-05/1.198, allocations: 4 kB / 0.8343 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/1.199, allocations: 243.7 kB / 0.8345 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01593/1.215, allocations: 5.008 MB / 0.8394 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006654/1.216, allocations: 47.98 kB / 0.8395 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04134/1.257, allocations: 19.32 MB / 0.8583 GB, free: 8.602 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.257, allocations: 0 / 0.8583 GB, free: 8.602 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04301/1.3, allocations: 14.93 MB / 0.8729 GB, free: 9.52 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/1.302, allocations: 424.8 kB / 0.8733 GB, free: 9.082 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007888/1.303, allocations: 48 kB / 0.8733 GB, free: 9.035 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003515/1.306, allocations: 411.6 kB / 0.8737 GB, free: 8.633 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002479/1.309, allocations: 0.5836 MB / 0.8743 GB, free: 8.047 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00034/1.309, allocations: 67.98 kB / 0.8744 GB, free: 7.98 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002845/1.312, allocations: 1.449 MB / 0.8758 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.5e-07/1.312, allocations: 0 / 0.8758 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004683/1.317, allocations: 1.127 MB / 0.8769 GB, free: 5.395 MB / 0.5573 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 () * 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 {(64,8.0%) 24} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.04278/1.359, allocations: 15.69 MB / 0.8922 GB, free: 5.559 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.3054/1.665, allocations: 5.926 MB / 0.898 GB, free: 176.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.665, allocations: 0 / 0.898 GB, free: 176.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01312/1.678, allocations: 4.402 MB / 0.9023 GB, free: 176.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00237/1.68, allocations: 233.3 kB / 0.9025 GB, free: 176 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/1.691, allocations: 4.744 MB / 0.9072 GB, free: 174.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001576/1.692, allocations: 1.88 MB / 0.909 GB, free: 174.1 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001062/1.693, allocations: 216.5 kB / 0.9092 GB, free: 174.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/1.695, allocations: 1.224 MB / 0.9104 GB, free: 174 MB / 0.573 GB Notification: Performance of SimCode: time 1.624e-06/1.695, allocations: 0 / 0.9104 GB, free: 174 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1039/1.799, allocations: 79.8 MB / 0.9883 GB, free: 120.7 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/1.799, allocations: 185 kB / 0.9885 GB, free: 120.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.693/6.492, allocations: 0 / 0.9885 GB, free: 120.5 MB / 0.573 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)