Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.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_AVRIII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII",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.001047/0.001047, allocations: 180.9 kB / 7.65 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.374/1.374, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0008739/0.0008737, allocations: 90.94 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4777/0.4777, allocations: 78.12 MB / 409.4 MB, free: 6.449 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.838e-05/1.842e-05, allocations: 0 / 485.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1245, allocations: 69.36 MB / 0.5414 GB, free: 6.848 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3828/0.5073, allocations: 97.92 MB / 0.6371 GB, free: 1.672 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.5076, allocations: 82.33 kB / 0.6371 GB, free: 1.594 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1525/0.6601, allocations: 60.02 MB / 0.6957 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6601, allocations: 0 / 0.6957 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001424/0.6603, allocations: 55.92 kB / 0.6958 GB, free: 5.41 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.01195/0.6722, allocations: 3.734 MB / 0.6994 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.6723, allocations: 8.031 kB / 0.6994 GB, free: 1.613 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009992/0.6823, allocations: 1.573 MB / 0.701 GB, free: 36 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003331/0.6857, allocations: 1.456 MB / 0.7024 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005795/0.6863, allocations: 0.6123 MB / 0.703 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004665/0.6868, allocations: 124.6 kB / 0.7031 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003707/0.6905, allocations: 2.075 MB / 0.7051 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003724/0.6942, allocations: 2.145 MB / 0.7072 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/0.6943, allocations: 0 / 0.7072 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002264/0.6945, allocations: 0 / 0.7072 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-05/0.6945, allocations: 55.95 kB / 0.7073 GB, free: 9.387 MB / 0.5105 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.01823/0.7128, allocations: 9.283 MB / 0.7164 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009574/0.7224, allocations: 3.958 MB / 0.7202 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002675/0.7251, allocations: 1.378 MB / 0.7216 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003128/0.7255, allocations: 37.95 kB / 0.7216 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.833e-05/0.7255, allocations: 60.52 kB / 0.7217 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=228): time 4.558e-06/0.7256, allocations: 4 kB / 0.7217 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=228): time 0.03787/0.7634, allocations: 11.9 MB / 0.7333 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.7635, allocations: 124.8 kB / 0.7334 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002418/0.766, allocations: 1.487 MB / 0.7349 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005747/0.7665, allocations: 26.64 kB / 0.7349 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007717/0.7673, allocations: 1.12 MB / 0.736 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00101/0.7683, allocations: 0.7542 MB / 0.7367 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.7685, allocations: 0 / 0.7367 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.7687, allocations: 382.2 kB / 0.7371 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001918/0.7706, allocations: 1.114 MB / 0.7382 GB, free: 9.137 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00211/0.7728, allocations: 1.4 MB / 0.7395 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/0.7748, allocations: 1.227 MB / 0.7407 GB, free: 6.406 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.7749, allocations: 4 kB / 0.7407 GB, free: 6.402 MB / 0.5417 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.03793/0.8128, allocations: 12.01 MB / 0.7525 GB, free: 10.37 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008629/0.8137, allocations: 2.726 MB / 0.7551 GB, free: 7.414 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/0.8137, allocations: 8 kB / 0.7551 GB, free: 7.406 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01721/0.831, allocations: 4.969 MB / 0.76 GB, free: 2.43 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/0.8327, allocations: 327.5 kB / 0.7603 GB, free: 2.109 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3085/1.141, allocations: 17.55 MB / 0.7774 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003907/1.145, allocations: 443.7 kB / 0.7779 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005004/1.146, allocations: 73.89 kB / 0.7779 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/1.146, allocations: 8.25 kB / 0.7779 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03546/1.181, allocations: 11.7 MB / 0.7894 GB, free: 114.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.899e-05/1.181, allocations: 6.375 kB / 0.7894 GB, free: 114.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01668/1.198, allocations: 4.965 MB / 0.7942 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/1.2, allocations: 310.7 kB / 0.7945 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03926/1.239, allocations: 17.54 MB / 0.8117 GB, free: 111 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003695/1.243, allocations: 419.3 kB / 0.8121 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003828/1.243, allocations: 75.33 kB / 0.8121 GB, free: 110.9 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * 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.0007864/1.244, allocations: 153.8 kB / 0.8123 GB, free: 110.8 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03492/1.279, allocations: 11.91 MB / 0.8239 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001047/1.28, allocations: 269 kB / 0.8242 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0346/1.314, allocations: 12.17 MB / 0.836 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.071e-05/1.315, allocations: 23.19 kB / 0.8361 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.03e-05/1.315, allocations: 18.81 kB / 0.8361 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.736e-05/1.315, allocations: 10.41 kB / 0.8361 GB, free: 106.2 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.04022/1.355, allocations: 15.47 MB / 0.8512 GB, free: 102.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/1.355, allocations: 0 / 0.8512 GB, free: 102.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/1.357, allocations: 249.9 kB / 0.8514 GB, free: 102.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01447/1.371, allocations: 4.792 MB / 0.8561 GB, free: 99.64 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006097/1.372, allocations: 19.94 kB / 0.8561 GB, free: 99.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03157/1.403, allocations: 15.16 MB / 0.8709 GB, free: 86.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/1.403, allocations: 4 kB / 0.871 GB, free: 86.16 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03702/1.44, allocations: 14.07 MB / 0.8847 GB, free: 74.64 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008553/1.441, allocations: 373.8 kB / 0.885 GB, free: 74.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004799/1.442, allocations: 5.594 kB / 0.885 GB, free: 74.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002646/1.444, allocations: 330.4 kB / 0.8854 GB, free: 74.06 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001631/1.446, allocations: 0.5499 MB / 0.8859 GB, free: 73.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/1.446, allocations: 55.66 kB / 0.886 GB, free: 73.72 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001279/1.448, allocations: 1.101 MB / 0.887 GB, free: 72.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/1.448, allocations: 4 kB / 0.887 GB, free: 72.69 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004337/1.452, allocations: 1.541 MB / 0.8885 GB, free: 71.22 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (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.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03655/1.488, allocations: 14.92 MB / 0.9031 GB, free: 58.86 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02468/1.513, allocations: 9.103 MB / 0.912 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/1.513, allocations: 4.062 kB / 0.912 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01144/1.525, allocations: 3.799 MB / 0.9157 GB, free: 47.42 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/1.527, allocations: 148.7 kB / 0.9159 GB, free: 47.28 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00955/1.536, allocations: 4.207 MB / 0.92 GB, free: 43.54 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009928/1.538, allocations: 1.793 MB / 0.9217 GB, free: 42.13 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001686/1.539, allocations: 349.6 kB / 0.922 GB, free: 41.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/1.54, allocations: 1.053 MB / 0.9231 GB, free: 40.94 MB / 0.5573 GB Notification: Performance of SimCode: time 9.11e-07/1.54, allocations: 0 / 0.9231 GB, free: 40.94 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3911/1.931, allocations: 89.84 MB / 1.011 GB, free: 124.8 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001349/1.932, allocations: 156.4 kB / 1.011 GB, free: 124.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.312/7.243, allocations: 1.547 kB / 1.011 GB, free: 124.6 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)