Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_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.008197/0.008197, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.534/1.534, allocations: 223.2 MB / 239 MB, free: 1.785 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.0008627/0.0008625, allocations: 96.06 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5012/0.5012, allocations: 78.53 MB / 419.8 MB, free: 44.08 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004138/0.0004139, allocations: 8 kB / 499.8 MB, free: 2.668 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.421, allocations: 69.36 MB / 0.5558 GB, free: 38.41 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1378/0.5588, allocations: 99.57 MB / 0.653 GB, free: 6.691 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.5591, allocations: 83.95 kB / 0.6531 GB, free: 6.609 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2143/0.7735, allocations: 69.39 MB / 0.7209 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7735, allocations: 0 / 0.7209 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001876/0.7737, allocations: 55.94 kB / 0.7209 GB, free: 0.7812 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01471/0.7885, allocations: 4.629 MB / 0.7255 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.7885, allocations: 8.031 kB / 0.7255 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001323/0.7899, allocations: 307.2 kB / 0.7258 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/0.8005, allocations: 1.615 MB / 0.7273 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005004/0.8055, allocations: 1.693 MB / 0.729 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007765/0.8064, allocations: 0.7487 MB / 0.7297 GB, free: 7.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008283/0.8072, allocations: 207.9 kB / 0.7299 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006905/0.8141, allocations: 3.207 MB / 0.7331 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.581e-05/0.8142, allocations: 0 / 0.7331 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002588/0.8145, allocations: 80 kB / 0.7331 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.163e-05/0.8145, allocations: 52 kB / 0.7332 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006624/0.8211, allocations: 2.975 MB / 0.7361 GB, free: 0.8906 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 preOpt removeSimpleEquations (simulation): time 0.02097/0.8421, allocations: 9.896 MB / 0.7457 GB, free: 6.574 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01191/0.8541, allocations: 4.862 MB / 0.7505 GB, free: 1.57 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005146/0.8546, allocations: 37.97 kB / 0.7505 GB, free: 1.535 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005793/0.8604, allocations: 2.412 MB / 0.7529 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=247): time 7.674e-06/0.8605, allocations: 3.938 kB / 0.7529 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=247): time 0.417/1.277, allocations: 33.26 MB / 0.7854 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/1.278, allocations: 181.7 kB / 0.7856 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003679/1.281, allocations: 1.928 MB / 0.7874 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008469/1.282, allocations: 67.11 kB / 0.7875 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001107/1.283, allocations: 1.211 MB / 0.7887 GB, free: 118 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001279/1.285, allocations: 0.8412 MB / 0.7895 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/1.285, allocations: 52.81 kB / 0.7896 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001686/1.285, allocations: 398 kB / 0.7899 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003937/1.289, allocations: 1.876 MB / 0.7918 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004601/1.294, allocations: 2.194 MB / 0.7939 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004923/1.299, allocations: 2.095 MB / 0.796 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-05/1.299, allocations: 2.656 kB / 0.796 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.04736/1.346, allocations: 14.46 MB / 0.8101 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/1.346, allocations: 112.8 kB / 0.8102 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-05/1.346, allocations: 13.42 kB / 0.8102 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01913/1.365, allocations: 6.371 MB / 0.8164 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002512/1.368, allocations: 416.3 kB / 0.8168 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05729/1.425, allocations: 26.5 MB / 0.8427 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004416/1.43, allocations: 0.5488 MB / 0.8432 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003306/1.43, allocations: 87.7 kB / 0.8433 GB, free: 109.1 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(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(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(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 (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.001366/1.431, allocations: 0.5041 MB / 0.8438 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006386/1.432, allocations: 296 kB / 0.8441 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03946/1.472, allocations: 14.73 MB / 0.8585 GB, free: 101.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.774e-05/1.472, allocations: 34.86 kB / 0.8585 GB, free: 101.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.631e-05/1.472, allocations: 16 kB / 0.8585 GB, free: 101.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.212e-05/1.472, allocations: 15.48 kB / 0.8585 GB, free: 101.1 MB / 0.5573 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.0444/1.516, allocations: 18.26 MB / 0.8764 GB, free: 87.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-05/1.516, allocations: 3.609 kB / 0.8764 GB, free: 87.19 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/1.518, allocations: 246.2 kB / 0.8766 GB, free: 86.97 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01682/1.535, allocations: 6.227 MB / 0.8827 GB, free: 82.12 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007133/1.535, allocations: 51.66 kB / 0.8827 GB, free: 82.08 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0534/1.589, allocations: 26.91 MB / 0.909 GB, free: 57.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.589, allocations: 0 / 0.909 GB, free: 57.43 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0444/1.633, allocations: 17.31 MB / 0.9259 GB, free: 40 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/1.635, allocations: 419.7 kB / 0.9263 GB, free: 39.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006772/1.635, allocations: 47.95 kB / 0.9264 GB, free: 39.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003067/1.638, allocations: 407.6 kB / 0.9268 GB, free: 39.14 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00201/1.64, allocations: 0.5838 MB / 0.9273 GB, free: 38.56 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/1.641, allocations: 63.98 kB / 0.9274 GB, free: 38.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002019/1.643, allocations: 1.492 MB / 0.9289 GB, free: 37 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.1e-07/1.643, allocations: 0 / 0.9289 GB, free: 37 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00346/1.646, allocations: 1.111 MB / 0.9299 GB, free: 35.89 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 {(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.04428/1.69, allocations: 18.1 MB / 0.9476 GB, free: 17.69 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01777/1.708, allocations: 7.026 MB / 0.9545 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.708, allocations: 0.5 kB / 0.9545 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01328/1.721, allocations: 5.066 MB / 0.9594 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/1.724, allocations: 227 kB / 0.9596 GB, free: 5.242 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/1.737, allocations: 11.82 MB / 0.9712 GB, free: 9.148 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001566/1.739, allocations: 1.871 MB / 0.973 GB, free: 7.242 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001214/1.74, allocations: 210.6 kB / 0.9732 GB, free: 7.039 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001716/1.742, allocations: 1.198 MB / 0.9744 GB, free: 5.844 MB / 0.573 GB Notification: Performance of SimCode: time 1.784e-06/1.742, allocations: 0 / 0.9744 GB, free: 5.844 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4288/2.171, allocations: 77.82 MB / 1.05 GB, free: 136.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001609/2.171, allocations: 204.6 kB / 1.051 GB, free: 136.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.178/7.349, allocations: 0 / 1.051 GB, free: 136.6 MB / 0.5886 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)