Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.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.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_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.001468/0.001468, 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.363/1.363, allocations: 221.5 MB / 229.6 MB, free: 3.133 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.0008642/0.0008641, allocations: 85.44 kB / 280.5 MB, free: 1.16 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.449/0.449, allocations: 78.06 MB / 409.3 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.363e-05/2.368e-05, allocations: 4 kB / 485 MB, free: 3.957 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3179, allocations: 69.36 MB / 0.5414 GB, free: 21.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1202/0.4382, allocations: 98.57 MB / 0.6376 GB, free: 6.004 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.4384, allocations: 79.95 kB / 0.6377 GB, free: 5.926 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4443/0.8828, allocations: 61.24 MB / 0.6975 GB, free: 97.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.8828, allocations: 4 kB / 0.6975 GB, free: 97.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001276/0.8829, allocations: 46.59 kB / 0.6976 GB, free: 97.96 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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01131/0.8943, allocations: 3.784 MB / 0.7013 GB, free: 96.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.8943, allocations: 11.91 kB / 0.7013 GB, free: 96.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009956/0.9043, allocations: 1.576 MB / 0.7028 GB, free: 96.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003813/0.9081, allocations: 1.488 MB / 0.7043 GB, free: 96.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005699/0.9087, allocations: 0.6147 MB / 0.7049 GB, free: 95.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006824/0.9094, allocations: 114.5 kB / 0.705 GB, free: 95.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004339/0.9138, allocations: 2.092 MB / 0.707 GB, free: 95.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003782/0.9176, allocations: 2.164 MB / 0.7091 GB, free: 94.26 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.9177, allocations: 0 / 0.7091 GB, free: 94.26 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002224/0.9179, allocations: 3.953 kB / 0.7091 GB, free: 94.26 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.9179, allocations: 52.88 kB / 0.7092 GB, free: 94.25 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.01932/0.9373, allocations: 9.39 MB / 0.7183 GB, free: 88.13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009284/0.9466, allocations: 4.001 MB / 0.7223 GB, free: 85.03 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002615/0.9493, allocations: 1.389 MB / 0.7236 GB, free: 83.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003305/0.9496, allocations: 33.89 kB / 0.7236 GB, free: 83.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.9497, allocations: 56.56 kB / 0.7237 GB, free: 83.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=230): time 5.39e-06/0.9497, allocations: 0 / 0.7237 GB, free: 83.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=230): time 0.03403/0.9837, allocations: 11.94 MB / 0.7354 GB, free: 71.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.9838, allocations: 128.8 kB / 0.7355 GB, free: 71.44 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002417/0.9862, allocations: 1.527 MB / 0.737 GB, free: 69.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007217/0.987, allocations: 25.7 kB / 0.737 GB, free: 69.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006859/0.9876, allocations: 1.14 MB / 0.7381 GB, free: 68.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009896/0.9886, allocations: 0.7696 MB / 0.7389 GB, free: 67.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.9888, allocations: 0 / 0.7389 GB, free: 67.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.9889, allocations: 382.3 kB / 0.7392 GB, free: 67.55 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.9906, allocations: 1.133 MB / 0.7403 GB, free: 66.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/0.9922, allocations: 1.42 MB / 0.7417 GB, free: 64.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.994, allocations: 1.24 MB / 0.7429 GB, free: 63.65 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.994, allocations: 0 / 0.7429 GB, free: 63.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.03361/1.028, allocations: 12.11 MB / 0.7548 GB, free: 51.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005383/1.028, allocations: 2.731 MB / 0.7574 GB, free: 48.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/1.028, allocations: 8 kB / 0.7574 GB, free: 48.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01603/1.044, allocations: 5.058 MB / 0.7624 GB, free: 43.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/1.046, allocations: 315.5 kB / 0.7627 GB, free: 43.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03938/1.086, allocations: 18.89 MB / 0.7811 GB, free: 24.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003996/1.09, allocations: 449.8 kB / 0.7816 GB, free: 23.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006884/1.09, allocations: 79.97 kB / 0.7816 GB, free: 23.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/1.09, allocations: 4 kB / 0.7816 GB, free: 23.6 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03339/1.124, allocations: 11.79 MB / 0.7931 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.28e-05/1.124, allocations: 11.95 kB / 0.7932 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01568/1.14, allocations: 5.056 MB / 0.7981 GB, free: 6.762 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/1.141, allocations: 299.6 kB / 0.7984 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04041/1.182, allocations: 18.9 MB / 0.8168 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003668/1.185, allocations: 422 kB / 0.8172 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000518/1.186, allocations: 75.98 kB / 0.8173 GB, free: 2.836 MB / 0.4948 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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 (189): * Single equations (assignments): 187 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0007583/1.187, allocations: 145.7 kB / 0.8174 GB, free: 2.688 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03699/1.224, allocations: 11.94 MB / 0.8291 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/1.225, allocations: 280.6 kB / 0.8294 GB, free: 6.457 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03672/1.262, allocations: 12.2 MB / 0.8413 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.909e-05/1.262, allocations: 27.95 kB / 0.8413 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.927e-05/1.262, allocations: 16 kB / 0.8413 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.837e-05/1.262, allocations: 15.95 kB / 0.8413 GB, free: 10.18 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.04239/1.304, allocations: 15.56 MB / 0.8565 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.018e-05/1.304, allocations: 3.984 kB / 0.8565 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/1.306, allocations: 255.7 kB / 0.8568 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0152/1.321, allocations: 4.832 MB / 0.8615 GB, free: 5.418 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006545/1.322, allocations: 11.98 kB / 0.8615 GB, free: 5.406 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03665/1.359, allocations: 15.16 MB / 0.8763 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-06/1.359, allocations: 0 / 0.8763 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04135/1.4, allocations: 14.15 MB / 0.8901 GB, free: 7.922 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009868/1.401, allocations: 381.2 kB / 0.8905 GB, free: 7.527 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000731/1.402, allocations: 4 kB / 0.8905 GB, free: 7.523 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003305/1.405, allocations: 323.7 kB / 0.8908 GB, free: 7.207 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001983/1.407, allocations: 0.5486 MB / 0.8913 GB, free: 6.656 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000297/1.408, allocations: 59.98 kB / 0.8914 GB, free: 6.598 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0018/1.409, allocations: 1.15 MB / 0.8925 GB, free: 5.438 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.01e-07/1.409, allocations: 0 / 0.8925 GB, free: 5.438 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005418/1.415, allocations: 1.564 MB / 0.8941 GB, free: 3.871 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,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 (149): * Single equations (assignments): 148 * 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 {(66,7.7%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3102/1.725, allocations: 14.99 MB / 0.9087 GB, free: 178 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0263/1.751, allocations: 9.409 MB / 0.9179 GB, free: 177.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.751, allocations: 5.531 kB / 0.9179 GB, free: 177.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01102/1.762, allocations: 3.84 MB / 0.9216 GB, free: 176.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/1.764, allocations: 155.8 kB / 0.9218 GB, free: 176.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008052/1.772, allocations: 4.418 MB / 0.9261 GB, free: 175.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/1.773, allocations: 1.805 MB / 0.9279 GB, free: 174.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001468/1.775, allocations: 345.6 kB / 0.9282 GB, free: 174.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.776, allocations: 1.082 MB / 0.9292 GB, free: 174.4 MB / 0.573 GB Notification: Performance of SimCode: time 6.32e-07/1.776, allocations: 0 / 0.9292 GB, free: 174.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1243/1.9, allocations: 91.27 MB / 1.018 GB, free: 96.71 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001441/1.9, allocations: 144.9 kB / 1.019 GB, free: 96.52 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.625/7.525, allocations: 3.25 kB / 1.019 GB, free: 96.52 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)