Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 174.3 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.3 MB / 213.4 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 93.45 kB / 261.4 MB, free: 13.46 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08717/0.08717, allocations: 12.19 MB / 321.5 MB, free: 1.203 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3155/0.3155, allocations: 78.05 MB / 450.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.351e-05/2.353e-05, allocations: 0 / 0.5142 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1654, allocations: 69.24 MB / 0.5819 GB, free: 8.859 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5414/0.7068, allocations: 100.4 MB / 0.6799 GB, free: 8.23 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.7072, allocations: 73.41 kB / 0.68 GB, free: 8.195 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1661/0.8734, allocations: 66.51 MB / 0.7449 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.8734, allocations: 0 / 0.7449 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001551/0.8736, allocations: 55.94 kB / 0.745 GB, free: 0.6328 MB / 474.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.01177/0.8854, allocations: 4.025 MB / 0.7489 GB, free: 12.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.8854, allocations: 8.031 kB / 0.7489 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/0.8955, allocations: 1.607 MB / 0.7505 GB, free: 10.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003957/0.8995, allocations: 1.619 MB / 0.7521 GB, free: 9.219 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007087/0.9002, allocations: 0.6666 MB / 0.7527 GB, free: 8.438 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005558/0.9008, allocations: 131.9 kB / 0.7528 GB, free: 8.309 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004442/0.9052, allocations: 2.215 MB / 0.755 GB, free: 6.086 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004309/0.9095, allocations: 2.274 MB / 0.7572 GB, free: 3.742 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.89e-05/0.9096, allocations: 3.984 kB / 0.7572 GB, free: 3.738 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002167/0.9098, allocations: 0 / 0.7572 GB, free: 3.738 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-05/0.9099, allocations: 52 kB / 0.7573 GB, free: 3.688 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.02115/0.931, allocations: 9.568 MB / 0.7666 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00948/0.9405, allocations: 4.095 MB / 0.7706 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002869/0.9435, allocations: 1.457 MB / 0.772 GB, free: 4.031 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003572/0.9439, allocations: 41.95 kB / 0.7721 GB, free: 3.988 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002986/0.9468, allocations: 1.713 MB / 0.7738 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=247): time 4.368e-06/0.9469, allocations: 0 / 0.7738 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of matching and sorting (n=247): time 0.03938/0.9863, allocations: 12.32 MB / 0.7858 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001551/0.9865, allocations: 188.2 kB / 0.786 GB, free: 5.676 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003311/0.9898, allocations: 1.696 MB / 0.7876 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008329/0.9906, allocations: 33.77 kB / 0.7877 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.9917, allocations: 1.204 MB / 0.7888 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001285/0.993, allocations: 0.8235 MB / 0.7896 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.9932, allocations: 0 / 0.7896 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.9934, allocations: 398.9 kB / 0.79 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002162/0.9956, allocations: 1.204 MB / 0.7912 GB, free: 288 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002337/0.9979, allocations: 1.507 MB / 0.7927 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002277/1, allocations: 1.314 MB / 0.7939 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/1, allocations: 7.938 kB / 0.794 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.03967/1.04, allocations: 12.28 MB / 0.8059 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001325/1.04, allocations: 112.4 kB / 0.8061 GB, free: 0.8594 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/1.04, allocations: 8 kB / 0.8061 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01654/1.057, allocations: 4.964 MB / 0.8109 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002243/1.059, allocations: 411.4 kB / 0.8113 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03968/1.099, allocations: 17.6 MB / 0.8285 GB, free: 9.734 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005712/1.104, allocations: 0.4937 MB / 0.829 GB, free: 9.238 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008688/1.105, allocations: 91.95 kB / 0.8291 GB, free: 9.148 MB / 0.5573 GB 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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.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 (224): * Single equations (assignments): 219 * 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.000907/1.106, allocations: 201.5 kB / 0.8292 GB, free: 8.934 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04846/1.155, allocations: 12.33 MB / 0.8413 GB, free: 12.57 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001213/1.156, allocations: 296.3 kB / 0.8416 GB, free: 12.28 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4197/1.576, allocations: 12.59 MB / 0.8539 GB, free: 140.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.849e-05/1.576, allocations: 24.69 kB / 0.8539 GB, free: 140.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.169e-05/1.576, allocations: 22.27 kB / 0.8539 GB, free: 140.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001042/1.576, allocations: 16.83 kB / 0.8539 GB, free: 140.8 MB / 0.573 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.04708/1.623, allocations: 15.91 MB / 0.8695 GB, free: 140 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.607e-05/1.623, allocations: 0 / 0.8695 GB, free: 140 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/1.625, allocations: 252.4 kB / 0.8697 GB, free: 140 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01646/1.641, allocations: 4.962 MB / 0.8746 GB, free: 140 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008149/1.642, allocations: 20.27 kB / 0.8746 GB, free: 140 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03558/1.678, allocations: 19.01 MB / 0.8931 GB, free: 135.9 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/1.678, allocations: 3.875 kB / 0.8932 GB, free: 135.9 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0403/1.718, allocations: 14.57 MB / 0.9074 GB, free: 134.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001842/1.72, allocations: 414.5 kB / 0.9078 GB, free: 134 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001728/1.722, allocations: 2.75 kB / 0.9078 GB, free: 134 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004504/1.726, allocations: 367 kB / 0.9081 GB, free: 134 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002757/1.729, allocations: 0.5867 MB / 0.9087 GB, free: 133.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004289/1.73, allocations: 69.36 kB / 0.9088 GB, free: 133.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002313/1.732, allocations: 1.263 MB / 0.91 GB, free: 133.4 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.31e-07/1.732, allocations: 0 / 0.91 GB, free: 133.4 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005153/1.737, allocations: 1.004 MB / 0.911 GB, free: 133.3 MB / 0.573 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 () * 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 {(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.04462/1.782, allocations: 15.31 MB / 0.9259 GB, free: 129.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02213/1.804, allocations: 5.548 MB / 0.9314 GB, free: 126.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/1.804, allocations: 1.75 kB / 0.9314 GB, free: 126.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01765/1.822, allocations: 4.263 MB / 0.9355 GB, free: 122.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004598/1.827, allocations: 182.9 kB / 0.9357 GB, free: 122.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02128/1.848, allocations: 4.298 MB / 0.9399 GB, free: 118.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002526/1.851, allocations: 1.861 MB / 0.9417 GB, free: 117.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001881/1.852, allocations: 212 kB / 0.9419 GB, free: 117.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002179/1.855, allocations: 1.196 MB / 0.9431 GB, free: 116 MB / 0.573 GB Notification: Performance of SimCode: time 1.473e-06/1.855, allocations: 0 / 0.9431 GB, free: 116 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1554/2.01, allocations: 73.82 MB / 1.015 GB, free: 54.81 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002435/2.01, allocations: 153.2 kB / 1.015 GB, free: 54.61 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.273/7.284, allocations: 0 / 1.015 GB, free: 54.61 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)