Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_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.001092/0.001092, 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 3.2.3+maint.om/package.mo): time 1.29/1.29, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0009085/0.0009086, allocations: 86.61 kB / 266.6 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06583/0.06583, allocations: 12.19 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2735/0.2735, allocations: 78.03 MB / 455.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.093e-05/3.095e-05, allocations: 4 kB / 0.5213 GB, free: 24.13 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1031, allocations: 69.25 MB / 0.5889 GB, free: 2.934 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3678/0.471, allocations: 102.2 MB / 0.6887 GB, free: 14.16 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.4713, allocations: 77.95 kB / 0.6888 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1779/0.6493, allocations: 68.27 MB / 0.7555 GB, free: 4.391 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6493, allocations: 0 / 0.7555 GB, free: 4.391 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003192/0.6496, allocations: 59.94 kB / 0.7555 GB, free: 4.332 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01418/0.6638, allocations: 4.061 MB / 0.7595 GB, free: 192 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.046e-05/0.6639, allocations: 11.98 kB / 0.7595 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001121/0.665, allocations: 303.2 kB / 0.7598 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01031/0.6754, allocations: 1.607 MB / 0.7614 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004544/0.6799, allocations: 1.655 MB / 0.763 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008192/0.6808, allocations: 0.7525 MB / 0.7637 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001017/0.6818, allocations: 215.9 kB / 0.7639 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007095/0.6889, allocations: 2.576 MB / 0.7665 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.23e-05/0.689, allocations: 4 kB / 0.7665 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005592/0.6896, allocations: 84 kB / 0.7665 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.462e-05/0.6897, allocations: 48 kB / 0.7666 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005149/0.6948, allocations: 2.332 MB / 0.7689 GB, free: 6.32 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 preOpt removeSimpleEquations (simulation): time 0.02107/0.7159, allocations: 9.967 MB / 0.7786 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/0.7271, allocations: 4.202 MB / 0.7827 GB, free: 7.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002411/0.7295, allocations: 1.539 MB / 0.7842 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002984/0.7298, allocations: 45.95 kB / 0.7842 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003148/0.733, allocations: 1.803 MB / 0.786 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=249): time 7.234e-06/0.733, allocations: 0 / 0.786 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of matching and sorting (n=249): time 0.03832/0.7713, allocations: 12.57 MB / 0.7983 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.7715, allocations: 188.3 kB / 0.7985 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00411/0.7756, allocations: 1.89 MB / 0.8003 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006683/0.7763, allocations: 65.7 kB / 0.8004 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001092/0.7774, allocations: 1.212 MB / 0.8016 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00138/0.7788, allocations: 0.8586 MB / 0.8024 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005667/0.7794, allocations: 52 kB / 0.8024 GB, free: 3.223 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002474/0.7796, allocations: 395 kB / 0.8028 GB, free: 2.832 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002717/0.7824, allocations: 1.263 MB / 0.8041 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002729/0.7851, allocations: 1.583 MB / 0.8056 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002671/0.7878, allocations: 1.492 MB / 0.8071 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.7878, allocations: 4 kB / 0.8071 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of matching and sorting (n=318) (initialization): time 0.03739/0.8252, allocations: 12.63 MB / 0.8194 GB, free: 1.613 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.125e-05/0.8253, allocations: 122.8 kB / 0.8195 GB, free: 1.469 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.8253, allocations: 4 kB / 0.8195 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01707/0.8424, allocations: 5.29 MB / 0.8247 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002534/0.845, allocations: 431.4 kB / 0.8251 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03931/0.8843, allocations: 17.87 MB / 0.8425 GB, free: 9.727 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004319/0.8887, allocations: 0.5445 MB / 0.8431 GB, free: 9.18 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004446/0.8892, allocations: 95.97 kB / 0.8432 GB, free: 9.086 MB / 0.573 GB Warning: Assuming fixed start value for the following 7 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.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-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 (228): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.0006381/0.8898, allocations: 293.4 kB / 0.8434 GB, free: 8.777 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006661/0.8905, allocations: 304.2 kB / 0.8437 GB, free: 8.477 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03657/0.9271, allocations: 12.92 MB / 0.8564 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.157e-05/0.9272, allocations: 24 kB / 0.8564 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-05/0.9272, allocations: 20 kB / 0.8564 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.827e-05/0.9273, allocations: 15.95 kB / 0.8564 GB, free: 11.41 MB / 0.5886 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.326/1.253, allocations: 16.47 MB / 0.8725 GB, free: 154.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.398e-05/1.253, allocations: 7.125 kB / 0.8725 GB, free: 154.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/1.255, allocations: 247.2 kB / 0.8727 GB, free: 154.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0177/1.273, allocations: 5.041 MB / 0.8777 GB, free: 154.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001032/1.274, allocations: 57.03 kB / 0.8777 GB, free: 154.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04444/1.318, allocations: 19.27 MB / 0.8965 GB, free: 150.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.318, allocations: 0 / 0.8965 GB, free: 150.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03915/1.358, allocations: 14.9 MB / 0.9111 GB, free: 149.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/1.359, allocations: 424.5 kB / 0.9115 GB, free: 149.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007474/1.36, allocations: 54.03 kB / 0.9115 GB, free: 149.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00331/1.363, allocations: 405.1 kB / 0.9119 GB, free: 149.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00234/1.365, allocations: 0.5811 MB / 0.9125 GB, free: 149.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003014/1.366, allocations: 66.25 kB / 0.9126 GB, free: 149.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00207/1.368, allocations: 1.436 MB / 0.914 GB, free: 148.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.71e-07/1.368, allocations: 3.969 kB / 0.914 GB, free: 148.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003596/1.371, allocations: 1.12 MB / 0.9151 GB, free: 148.8 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (158): * Single equations (assignments): 153 * 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.03915/1.411, allocations: 15.67 MB / 0.9304 GB, free: 144.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01529/1.426, allocations: 5.775 MB / 0.936 GB, free: 142.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/1.426, allocations: 6.047 kB / 0.936 GB, free: 142.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01245/1.438, allocations: 4.426 MB / 0.9403 GB, free: 140.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/1.441, allocations: 228.6 kB / 0.9406 GB, free: 140.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009964/1.451, allocations: 4.662 MB / 0.9451 GB, free: 136.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/1.453, allocations: 1.876 MB / 0.9469 GB, free: 135.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0011/1.454, allocations: 217.4 kB / 0.9471 GB, free: 135.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001303/1.455, allocations: 1.209 MB / 0.9483 GB, free: 134.1 MB / 0.5886 GB Notification: Performance of SimCode: time 1.522e-06/1.455, allocations: 0 / 0.9483 GB, free: 134.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1054/1.56, allocations: 79.26 MB / 1.026 GB, free: 69.18 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/1.561, allocations: 195.9 kB / 1.026 GB, free: 68.96 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.954/6.515, allocations: 0 / 1.026 GB, free: 68.96 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)