Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_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 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.0008189/0.0008188, allocations: 89.73 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4767/0.4767, allocations: 78.12 MB / 409.4 MB, free: 6.457 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.705e-05/1.7e-05, allocations: 7.938 kB / 485.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1161, allocations: 69.36 MB / 0.5414 GB, free: 6.852 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4546/0.5708, allocations: 99.98 MB / 0.6391 GB, free: 15.62 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.5711, allocations: 76.98 kB / 0.6391 GB, free: 15.55 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1785/0.7495, allocations: 69.27 MB / 0.7068 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7496, allocations: 0 / 0.7068 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000158/0.7497, allocations: 61.44 kB / 0.7068 GB, free: 10.09 MB / 0.5105 GB 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.01225/0.762, allocations: 4.069 MB / 0.7108 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.7621, allocations: 8.031 kB / 0.7108 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/0.7725, allocations: 1.6 MB / 0.7124 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00402/0.7765, allocations: 1.639 MB / 0.714 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000707/0.7773, allocations: 0.6744 MB / 0.7146 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005279/0.7778, allocations: 127.9 kB / 0.7148 GB, free: 1.707 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004217/0.782, allocations: 2.226 MB / 0.7169 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004291/0.7863, allocations: 2.286 MB / 0.7192 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.04e-05/0.7864, allocations: 0 / 0.7192 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002382/0.7867, allocations: 7.953 kB / 0.7192 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.473e-05/0.7867, allocations: 48 kB / 0.7192 GB, free: 13.06 MB / 0.5261 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.02026/0.807, allocations: 9.636 MB / 0.7286 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009372/0.8164, allocations: 4.109 MB / 0.7326 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002414/0.8188, allocations: 1.473 MB / 0.7341 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002859/0.8191, allocations: 41.97 kB / 0.7341 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002805/0.8219, allocations: 1.733 MB / 0.7358 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=249): time 3.808e-06/0.822, allocations: 0 / 0.7358 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of matching and sorting (n=249): time 0.03869/0.8606, allocations: 12.34 MB / 0.7479 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.678e-05/0.8608, allocations: 184.2 kB / 0.748 GB, free: 14.92 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0028/0.8636, allocations: 1.733 MB / 0.7497 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006328/0.8642, allocations: 25.7 kB / 0.7498 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008719/0.8651, allocations: 1.208 MB / 0.7509 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00104/0.8662, allocations: 0.8273 MB / 0.7517 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.8664, allocations: 0 / 0.7517 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.8666, allocations: 399 kB / 0.7521 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002099/0.8687, allocations: 1.224 MB / 0.7533 GB, free: 9.473 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/0.871, allocations: 1.51 MB / 0.7548 GB, free: 7.871 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00225/0.8733, allocations: 1.34 MB / 0.7561 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.178e-06/0.8733, allocations: 0 / 0.7561 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=318) (initialization): time 0.386/1.259, allocations: 12.3 MB / 0.7681 GB, free: 113.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-05/1.259, allocations: 113.5 kB / 0.7682 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/1.259, allocations: 5.875 kB / 0.7682 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01602/1.275, allocations: 4.997 MB / 0.7731 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00259/1.278, allocations: 434.8 kB / 0.7735 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03926/1.317, allocations: 17.54 MB / 0.7907 GB, free: 112 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00433/1.322, allocations: 499.9 kB / 0.7911 GB, free: 112 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004295/1.322, allocations: 96.97 kB / 0.7912 GB, free: 112 MB / 0.5573 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.0006462/1.323, allocations: 206.7 kB / 0.7914 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0394/1.362, allocations: 12.35 MB / 0.8035 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001362/1.364, allocations: 294.8 kB / 0.8038 GB, free: 111 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03652/1.4, allocations: 12.63 MB / 0.8161 GB, free: 110.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-05/1.4, allocations: 25.16 kB / 0.8161 GB, free: 110.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.922e-05/1.4, allocations: 19.66 kB / 0.8161 GB, free: 110.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.36e-05/1.4, allocations: 18.19 kB / 0.8162 GB, free: 110.3 MB / 0.5573 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.03977/1.44, allocations: 15.97 MB / 0.8318 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.233e-05/1.44, allocations: 4.344 kB / 0.8318 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/1.442, allocations: 244.8 kB / 0.832 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01466/1.457, allocations: 5.003 MB / 0.8369 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007469/1.457, allocations: 15.77 kB / 0.8369 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03649/1.494, allocations: 18.97 MB / 0.8554 GB, free: 97.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/1.494, allocations: 3.953 kB / 0.8554 GB, free: 97.14 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03802/1.532, allocations: 14.62 MB / 0.8697 GB, free: 86.93 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/1.533, allocations: 416.3 kB / 0.8701 GB, free: 86.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000726/1.534, allocations: 6 kB / 0.8701 GB, free: 86.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003267/1.537, allocations: 370.8 kB / 0.8705 GB, free: 86.29 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002556/1.54, allocations: 0.5811 MB / 0.871 GB, free: 85.97 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002683/1.54, allocations: 71.27 kB / 0.8711 GB, free: 85.91 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002486/1.542, allocations: 1.281 MB / 0.8723 GB, free: 84.73 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.81e-07/1.542, allocations: 0 / 0.8723 GB, free: 84.73 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005678/1.548, allocations: 1.015 MB / 0.8733 GB, free: 83.76 MB / 0.5573 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.03943/1.588, allocations: 15.36 MB / 0.8883 GB, free: 71.02 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01426/1.602, allocations: 5.599 MB / 0.8938 GB, free: 65.87 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/1.602, allocations: 0 / 0.8938 GB, free: 65.87 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01181/1.614, allocations: 4.303 MB / 0.898 GB, free: 62.02 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/1.617, allocations: 191.9 kB / 0.8982 GB, free: 61.84 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009884/1.626, allocations: 4.467 MB / 0.9026 GB, free: 57.88 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/1.628, allocations: 1.872 MB / 0.9044 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001092/1.629, allocations: 211.5 kB / 0.9046 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001424/1.63, allocations: 1.211 MB / 0.9058 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of SimCode: time 1.262e-06/1.63, allocations: 0 / 0.9058 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1161/1.746, allocations: 74.41 MB / 0.9784 GB, free: 1.711 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/1.747, allocations: 158.8 kB / 0.9786 GB, free: 1.512 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.59/6.336, allocations: 0 / 0.9786 GB, free: 1.512 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)