Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_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.01009/0.01009, allocations: 171.8 kB / 15.11 MB, free: 5.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.507/1.507, allocations: 223.2 MB / 239 MB, free: 1.812 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.001032/0.001032, allocations: 92.41 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.522/0.522, allocations: 79.44 MB / 420.7 MB, free: 43.6 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004079/0.0004079, allocations: 12 kB / 0.4891 GB, free: 1.938 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.401, allocations: 69.51 MB / 0.557 GB, free: 38.79 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1468/0.5478, allocations: 101 MB / 0.6556 GB, free: 4.602 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.5481, allocations: 88.48 kB / 0.6557 GB, free: 4.516 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1784/0.7265, allocations: 70.75 MB / 0.7248 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7265, allocations: 4 kB / 0.7248 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001607/0.7267, allocations: 52 kB / 0.7248 GB, free: 13.33 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01424/0.741, allocations: 4.637 MB / 0.7294 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.741, allocations: 8.031 kB / 0.7294 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001202/0.7422, allocations: 299.3 kB / 0.7297 GB, free: 8.285 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009907/0.7522, allocations: 1.623 MB / 0.7313 GB, free: 6.656 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004295/0.7565, allocations: 1.697 MB / 0.7329 GB, free: 4.895 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006819/0.7572, allocations: 0.7486 MB / 0.7336 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004784/0.7577, allocations: 204 kB / 0.7338 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006333/0.764, allocations: 3.207 MB / 0.737 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/0.7641, allocations: 0 / 0.737 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002486/0.7643, allocations: 83.98 kB / 0.737 GB, free: 476 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.836e-05/0.7644, allocations: 52 kB / 0.7371 GB, free: 424 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005746/0.7701, allocations: 2.975 MB / 0.74 GB, free: 13.42 MB / 0.5417 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.01835/0.7885, allocations: 9.955 MB / 0.7497 GB, free: 3.043 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/0.7996, allocations: 4.85 MB / 0.7545 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004254/0.8001, allocations: 41.97 kB / 0.7545 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005136/0.8052, allocations: 2.416 MB / 0.7569 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=248): time 5.18e-06/0.8053, allocations: 7.875 kB / 0.7569 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of matching and sorting (n=248): time 0.429/1.234, allocations: 30.89 MB / 0.787 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.975e-05/1.234, allocations: 185.2 kB / 0.7872 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003392/1.238, allocations: 1.917 MB / 0.7891 GB, free: 117 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007588/1.239, allocations: 67.45 kB / 0.7891 GB, free: 117 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009531/1.24, allocations: 1.2 MB / 0.7903 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001013/1.241, allocations: 0.8458 MB / 0.7911 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/1.241, allocations: 46.62 kB / 0.7912 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.241, allocations: 400.7 kB / 0.7916 GB, free: 116 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004072/1.245, allocations: 1.881 MB / 0.7934 GB, free: 116 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004455/1.249, allocations: 2.183 MB / 0.7955 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004572/1.254, allocations: 2.102 MB / 0.7976 GB, free: 115.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.699e-05/1.254, allocations: 2.375 kB / 0.7976 GB, free: 115.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.05002/1.304, allocations: 14.47 MB / 0.8117 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001873/1.304, allocations: 116.2 kB / 0.8118 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.592e-05/1.304, allocations: 7.125 kB / 0.8118 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01959/1.324, allocations: 6.434 MB / 0.8181 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002398/1.326, allocations: 418.3 kB / 0.8185 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05862/1.385, allocations: 26.46 MB / 0.8444 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004268/1.389, allocations: 0.5446 MB / 0.8449 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006912/1.39, allocations: 89.89 kB / 0.845 GB, free: 107.4 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 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 order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4_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 (226): * Single equations (assignments): 221 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.002196/1.392, allocations: 0.5058 MB / 0.8455 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/1.394, allocations: 299.9 kB / 0.8458 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04126/1.435, allocations: 14.74 MB / 0.8602 GB, free: 98.62 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-05/1.435, allocations: 27.95 kB / 0.8602 GB, free: 98.59 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.865e-05/1.435, allocations: 20 kB / 0.8602 GB, free: 98.57 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.676e-05/1.435, allocations: 10.64 kB / 0.8602 GB, free: 98.57 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.04582/1.481, allocations: 18.29 MB / 0.8781 GB, free: 84.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-05/1.481, allocations: 0 / 0.8781 GB, free: 84.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/1.483, allocations: 245.8 kB / 0.8783 GB, free: 84.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01707/1.5, allocations: 6.241 MB / 0.8844 GB, free: 79.52 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008186/1.501, allocations: 51.58 kB / 0.8845 GB, free: 79.47 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.056/1.557, allocations: 26.88 MB / 0.9107 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/1.557, allocations: 0 / 0.9107 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04457/1.601, allocations: 17.33 MB / 0.9276 GB, free: 37.22 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/1.603, allocations: 411.5 kB / 0.928 GB, free: 36.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009625/1.603, allocations: 51.95 kB / 0.9281 GB, free: 36.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003415/1.607, allocations: 407.6 kB / 0.9285 GB, free: 36.38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002261/1.609, allocations: 0.5793 MB / 0.929 GB, free: 35.81 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002684/1.609, allocations: 67.98 kB / 0.9291 GB, free: 35.74 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002458/1.612, allocations: 1.48 MB / 0.9305 GB, free: 34.26 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.91e-07/1.612, allocations: 0 / 0.9305 GB, free: 34.26 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004181/1.616, allocations: 1.121 MB / 0.9316 GB, free: 33.14 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (157): * Single equations (assignments): 152 * 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 {(65,7.8%) 23} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.04584/1.662, allocations: 18.09 MB / 0.9493 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0173/1.679, allocations: 7.044 MB / 0.9562 GB, free: 7.816 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.679, allocations: 1.75 kB / 0.9562 GB, free: 7.816 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01327/1.693, allocations: 5.081 MB / 0.9611 GB, free: 2.676 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/1.695, allocations: 229.6 kB / 0.9614 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01489/1.71, allocations: 11.9 MB / 0.973 GB, free: 6.289 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/1.711, allocations: 1.868 MB / 0.9748 GB, free: 4.387 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001159/1.713, allocations: 213.8 kB / 0.975 GB, free: 4.184 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001472/1.714, allocations: 1.19 MB / 0.9762 GB, free: 2.992 MB / 0.573 GB Notification: Performance of SimCode: time 1.463e-06/1.714, allocations: 0 / 0.9762 GB, free: 2.992 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4328/2.147, allocations: 77.8 MB / 1.052 GB, free: 134.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001461/2.147, allocations: 215 kB / 1.052 GB, free: 134 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.041/7.188, allocations: 4 kB / 1.052 GB, free: 134 MB / 0.5886 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)