Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_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.008522/0.008522, allocations: 172 kB / 15.11 MB, free: 5.969 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.348/1.348, allocations: 223.2 MB / 239 MB, free: 68 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000851/0.0008511, allocations: 93.14 kB / 290.2 MB, free: 4.539 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5106/0.5106, allocations: 78.51 MB / 419.8 MB, free: 36.33 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003758, allocations: 11.98 kB / 499.8 MB, free: 7.023 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1537, allocations: 69.37 MB / 0.5558 GB, free: 1.656 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4191/0.5728, allocations: 100.3 MB / 0.6538 GB, free: 1.496 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.5731, allocations: 86.41 kB / 0.6538 GB, free: 1.449 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1802/0.7533, allocations: 69.53 MB / 0.7217 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.405e-06/0.7534, allocations: 0 / 0.7217 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000213/0.7536, allocations: 59.94 kB / 0.7218 GB, free: 12.39 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01494/0.7685, allocations: 4.636 MB / 0.7263 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.7686, allocations: 16.02 kB / 0.7263 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001131/0.7697, allocations: 299.3 kB / 0.7266 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/0.7798, allocations: 1.615 MB / 0.7282 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004554/0.7844, allocations: 1.705 MB / 0.7299 GB, free: 3.949 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007251/0.7852, allocations: 0.7486 MB / 0.7306 GB, free: 3.086 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006703/0.7858, allocations: 204 kB / 0.7308 GB, free: 2.887 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00666/0.7925, allocations: 3.2 MB / 0.7339 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/0.7926, allocations: 3.953 kB / 0.7339 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002587/0.7928, allocations: 84 kB / 0.734 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.823e-05/0.7929, allocations: 52 kB / 0.7341 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006479/0.7994, allocations: 2.975 MB / 0.737 GB, free: 12.48 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.02025/0.8197, allocations: 9.919 MB / 0.7466 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0119/0.8316, allocations: 4.865 MB / 0.7514 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004682/0.8321, allocations: 37.97 kB / 0.7514 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00525/0.8374, allocations: 2.42 MB / 0.7538 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=248): time 5.931e-06/0.8374, allocations: 0 / 0.7538 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of matching and sorting (n=248): time 0.1125/0.9499, allocations: 30.9 MB / 0.784 GB, free: 11.65 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.9501, allocations: 188.2 kB / 0.7841 GB, free: 11.43 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003656/0.9537, allocations: 1.917 MB / 0.786 GB, free: 9.5 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007058/0.9545, allocations: 65.7 kB / 0.7861 GB, free: 9.43 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0011/0.9556, allocations: 1.188 MB / 0.7872 GB, free: 8.23 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001372/0.9569, allocations: 0.8548 MB / 0.7881 GB, free: 7.363 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.9572, allocations: 49.22 kB / 0.7881 GB, free: 7.316 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002157/0.9574, allocations: 399 kB / 0.7885 GB, free: 6.922 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004117/0.9615, allocations: 1.879 MB / 0.7903 GB, free: 5.039 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004385/0.9659, allocations: 2.191 MB / 0.7925 GB, free: 2.75 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004206/0.9701, allocations: 2.108 MB / 0.7945 GB, free: 0.5859 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/0.9702, allocations: 8 kB / 0.7945 GB, free: 0.5781 MB / 0.573 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.3437/1.314, allocations: 14.46 MB / 0.8087 GB, free: 122.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.473e-05/1.314, allocations: 121.6 kB / 0.8088 GB, free: 122.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/1.314, allocations: 7.656 kB / 0.8088 GB, free: 122.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02031/1.334, allocations: 6.429 MB / 0.8151 GB, free: 122.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/1.337, allocations: 420.3 kB / 0.8155 GB, free: 122.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06768/1.405, allocations: 26.45 MB / 0.8413 GB, free: 120 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00532/1.41, allocations: 0.5423 MB / 0.8418 GB, free: 119.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009688/1.411, allocations: 88.3 kB / 0.8419 GB, free: 119.9 MB / 0.573 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.003007/1.414, allocations: 0.5098 MB / 0.8424 GB, free: 119.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001611/1.416, allocations: 301.1 kB / 0.8427 GB, free: 119.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04556/1.461, allocations: 14.74 MB / 0.8571 GB, free: 118.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-05/1.461, allocations: 23.31 kB / 0.8571 GB, free: 118.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.559e-05/1.461, allocations: 20.56 kB / 0.8571 GB, free: 118.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001005/1.461, allocations: 14.06 kB / 0.8571 GB, free: 118.8 MB / 0.573 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.05285/1.514, allocations: 18.27 MB / 0.875 GB, free: 114.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.515e-05/1.514, allocations: 7.234 kB / 0.875 GB, free: 114.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001782/1.516, allocations: 248.2 kB / 0.8752 GB, free: 114.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01814/1.534, allocations: 6.2 MB / 0.8813 GB, free: 113.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008583/1.535, allocations: 58.7 kB / 0.8813 GB, free: 113.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0605/1.596, allocations: 26.89 MB / 0.9076 GB, free: 92.14 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.596, allocations: 6.234 kB / 0.9076 GB, free: 92.14 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04725/1.643, allocations: 17.33 MB / 0.9245 GB, free: 78.14 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/1.645, allocations: 412.6 kB / 0.9249 GB, free: 77.77 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001644/1.646, allocations: 49.75 kB / 0.925 GB, free: 77.73 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004701/1.651, allocations: 410.8 kB / 0.9254 GB, free: 77.41 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002888/1.654, allocations: 0.575 MB / 0.9259 GB, free: 77.11 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007465/1.655, allocations: 66.89 kB / 0.926 GB, free: 77.05 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00343/1.658, allocations: 1.485 MB / 0.9274 GB, free: 75.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.31e-07/1.658, allocations: 0 / 0.9274 GB, free: 75.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005434/1.664, allocations: 1.104 MB / 0.9285 GB, free: 74.73 MB / 0.573 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 {(63,8.1%) 25} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.04814/1.712, allocations: 18.1 MB / 0.9462 GB, free: 59.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01941/1.731, allocations: 7.045 MB / 0.9531 GB, free: 53.77 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.198e-06/1.731, allocations: 1.75 kB / 0.9531 GB, free: 53.77 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01459/1.746, allocations: 5.055 MB / 0.958 GB, free: 48.96 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003274/1.749, allocations: 231.7 kB / 0.9582 GB, free: 48.73 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/1.768, allocations: 11.9 MB / 0.9699 GB, free: 36.59 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002021/1.77, allocations: 1.872 MB / 0.9717 GB, free: 34.69 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001654/1.771, allocations: 211.2 kB / 0.9719 GB, free: 34.48 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001998/1.773, allocations: 1.19 MB / 0.9731 GB, free: 33.3 MB / 0.573 GB Notification: Performance of SimCode: time 3.286e-06/1.774, allocations: 4 kB / 0.9731 GB, free: 33.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4166/2.19, allocations: 77.79 MB / 1.049 GB, free: 136.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001445/2.19, allocations: 211.9 kB / 1.049 GB, free: 136.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.052/7.242, allocations: 0 / 1.049 GB, free: 136.1 MB / 0.5886 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)