Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.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_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI",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.001076/0.001076, 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.271/1.271, allocations: 221.5 MB / 229.6 MB, free: 3.184 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.000946/0.0009459, allocations: 90.78 kB / 280.5 MB, free: 1.172 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4682/0.4682, allocations: 78.11 MB / 409.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.56e-05/1.563e-05, allocations: 8 kB / 485.1 MB, free: 4.09 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3393, allocations: 69.35 MB / 0.5414 GB, free: 21.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1293/0.4687, allocations: 99.57 MB / 0.6387 GB, free: 5.105 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.4689, allocations: 75.95 kB / 0.6387 GB, free: 5.031 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4459/0.9148, allocations: 66.58 MB / 0.7037 GB, free: 98.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.9149, allocations: 0 / 0.7037 GB, free: 98.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001871/0.9151, allocations: 55.88 kB / 0.7038 GB, free: 98.23 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.01152/0.9266, allocations: 4.032 MB / 0.7077 GB, free: 96.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.9266, allocations: 7.688 kB / 0.7077 GB, free: 96.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009819/0.9365, allocations: 1.6 MB / 0.7093 GB, free: 95.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003283/0.9398, allocations: 1.665 MB / 0.7109 GB, free: 94.33 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004804/0.9403, allocations: 0.613 MB / 0.7115 GB, free: 93.79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003525/0.9407, allocations: 122.9 kB / 0.7117 GB, free: 93.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003486/0.9441, allocations: 2.237 MB / 0.7138 GB, free: 92.76 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003538/0.9477, allocations: 2.279 MB / 0.7161 GB, free: 91.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.014e-05/0.9477, allocations: 4 kB / 0.7161 GB, free: 91.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002218/0.948, allocations: 0 / 0.7161 GB, free: 91.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.768e-05/0.948, allocations: 48.41 kB / 0.7161 GB, free: 91.46 MB / 490.7 MB 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.01562/0.9636, allocations: 9.749 MB / 0.7256 GB, free: 82.11 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008028/0.9717, allocations: 3.957 MB / 0.7295 GB, free: 78.03 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001916/0.9736, allocations: 1.468 MB / 0.7309 GB, free: 76.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002637/0.9739, allocations: 44.81 kB / 0.731 GB, free: 76.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.9739, allocations: 68.48 kB / 0.731 GB, free: 76.44 MB / 490.7 MB Notification: Performance of pre-optimization done (n=243): time 4.028e-06/0.9739, allocations: 0 / 0.731 GB, free: 76.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=243): time 0.04035/1.014, allocations: 12.08 MB / 0.7428 GB, free: 64.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.336e-05/1.014, allocations: 236.6 kB / 0.7431 GB, free: 64.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003564/1.018, allocations: 1.713 MB / 0.7447 GB, free: 62.35 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000769/1.019, allocations: 33.7 kB / 0.7448 GB, free: 62.31 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001012/1.02, allocations: 1.207 MB / 0.7459 GB, free: 61.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001371/1.021, allocations: 0.8081 MB / 0.7467 GB, free: 60.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/1.021, allocations: 3.938 kB / 0.7467 GB, free: 60.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/1.022, allocations: 390.6 kB / 0.7471 GB, free: 59.88 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00289/1.025, allocations: 1.192 MB / 0.7483 GB, free: 58.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002943/1.027, allocations: 1.492 MB / 0.7497 GB, free: 57.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002407/1.03, allocations: 1.307 MB / 0.751 GB, free: 55.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/1.03, allocations: 7.938 kB / 0.751 GB, free: 55.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.03166/1.062, allocations: 11.33 MB / 0.7621 GB, free: 44.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005042/1.062, allocations: 2.874 MB / 0.7649 GB, free: 41.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/1.062, allocations: 4 kB / 0.7649 GB, free: 41.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01415/1.076, allocations: 4.63 MB / 0.7694 GB, free: 36.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003571/1.08, allocations: 0.6906 MB / 0.7701 GB, free: 35.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03271/1.113, allocations: 16.33 MB / 0.786 GB, free: 19.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004221/1.117, allocations: 485.7 kB / 0.7865 GB, free: 18.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005425/1.117, allocations: 87.97 kB / 0.7866 GB, free: 18.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/1.118, allocations: 8 kB / 0.7866 GB, free: 18.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03102/1.149, allocations: 11.01 MB / 0.7973 GB, free: 7.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.33e-05/1.149, allocations: 8 kB / 0.7973 GB, free: 7.832 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01386/1.163, allocations: 4.626 MB / 0.8019 GB, free: 3.203 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003648/1.166, allocations: 0.6749 MB / 0.8025 GB, free: 2.527 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03578/1.202, allocations: 16.32 MB / 0.8185 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004313/1.206, allocations: 461.9 kB / 0.8189 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003859/1.207, allocations: 83.98 kB / 0.819 GB, free: 1.539 MB / 0.4948 GB Warning: Assuming fixed start value for the following 7 variables: 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.e1q:VARIABLE(start = Syn2.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" ) "Rotor angle" 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 (219): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {59 20} Notification: Performance of prepare postOptimizeDAE: time 0.0007711/1.208, allocations: 205.5 kB / 0.8192 GB, free: 1.32 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03776/1.245, allocations: 12.09 MB / 0.831 GB, free: 5.211 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001495/1.247, allocations: 288.4 kB / 0.8313 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.037/1.284, allocations: 12.36 MB / 0.8433 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.49e-05/1.284, allocations: 32 kB / 0.8434 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.383e-05/1.284, allocations: 19.95 kB / 0.8434 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.119e-05/1.284, allocations: 11.95 kB / 0.8434 GB, free: 8.473 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 postOpt removeSimpleEquations (simulation): time 0.0426/1.327, allocations: 15.9 MB / 0.8589 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.902e-05/1.327, allocations: 3.938 kB / 0.8589 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/1.329, allocations: 283.7 kB / 0.8592 GB, free: 8.219 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01476/1.343, allocations: 4.751 MB / 0.8638 GB, free: 3.461 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006656/1.344, allocations: 15.98 kB / 0.8639 GB, free: 3.445 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03471/1.379, allocations: 15.22 MB / 0.8787 GB, free: 4.109 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/1.379, allocations: 0 / 0.8787 GB, free: 4.109 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04236/1.421, allocations: 14.33 MB / 0.8927 GB, free: 5.73 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/1.423, allocations: 408.9 kB / 0.8931 GB, free: 5.309 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005706/1.423, allocations: 8 kB / 0.8931 GB, free: 5.301 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003074/1.426, allocations: 355.7 kB / 0.8934 GB, free: 4.953 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001743/1.428, allocations: 0.5486 MB / 0.894 GB, free: 4.406 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001909/1.428, allocations: 63.98 kB / 0.894 GB, free: 4.344 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001772/1.43, allocations: 1.288 MB / 0.8953 GB, free: 3.051 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.603e-06/1.43, allocations: 3.938 kB / 0.8953 GB, free: 3.047 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004465/1.434, allocations: 1.587 MB / 0.8968 GB, free: 1.457 MB / 0.573 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.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 161 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(62,8.3%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4017/1.836, allocations: 15.05 MB / 0.9116 GB, free: 178.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02593/1.862, allocations: 9.702 MB / 0.921 GB, free: 176.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/1.862, allocations: 0 / 0.921 GB, free: 176.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01219/1.874, allocations: 3.966 MB / 0.9249 GB, free: 176.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/1.876, allocations: 190.1 kB / 0.9251 GB, free: 176.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009321/1.886, allocations: 4.551 MB / 0.9295 GB, free: 174.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/1.887, allocations: 1.897 MB / 0.9314 GB, free: 174 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002047/1.889, allocations: 450.4 kB / 0.9318 GB, free: 173.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/1.89, allocations: 1.184 MB / 0.933 GB, free: 173.4 MB / 0.573 GB Notification: Performance of SimCode: time 2.514e-06/1.89, allocations: 0 / 0.933 GB, free: 173.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1243/2.014, allocations: 91.67 MB / 1.022 GB, free: 93.47 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001219/2.015, allocations: 149.8 kB / 1.023 GB, free: 93.28 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.199/7.214, allocations: 2.25 kB / 1.023 GB, free: 93.28 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)