Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_release_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.0009382/0.0009383, allocations: 172.5 kB / 7.646 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.418/1.418, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.0008427/0.0008429, allocations: 89.59 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4914/0.4914, allocations: 78.13 MB / 409.4 MB, free: 6.449 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.789e-05/1.79e-05, allocations: 3.938 kB / 485.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1489, allocations: 69.36 MB / 0.5414 GB, free: 6.852 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4736/0.6226, allocations: 98.56 MB / 0.6377 GB, free: 1.02 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.6229, allocations: 76.8 kB / 0.6377 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1556/0.7784, allocations: 61.23 MB / 0.6975 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.665e-06/0.7785, allocations: 0 / 0.6975 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001185/0.7786, allocations: 55.88 kB / 0.6976 GB, free: 3.539 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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01148/0.7901, allocations: 3.793 MB / 0.7013 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.7901, allocations: 12.03 kB / 0.7013 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.8003, allocations: 1.575 MB / 0.7028 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003409/0.8037, allocations: 1.488 MB / 0.7043 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006233/0.8044, allocations: 0.6084 MB / 0.7049 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006084/0.805, allocations: 123.9 kB / 0.705 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003959/0.809, allocations: 2.097 MB / 0.7071 GB, free: 9.621 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003831/0.8128, allocations: 2.158 MB / 0.7092 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.368e-05/0.8129, allocations: 0 / 0.7092 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002128/0.8131, allocations: 0.8438 kB / 0.7092 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.97e-05/0.8131, allocations: 51.95 kB / 0.7092 GB, free: 7.395 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.01995/0.8331, allocations: 9.397 MB / 0.7184 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009732/0.8429, allocations: 3.99 MB / 0.7223 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002455/0.8454, allocations: 1.382 MB / 0.7236 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003118/0.8457, allocations: 53.84 kB / 0.7237 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.8457, allocations: 56.55 kB / 0.7237 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=230): time 3.456e-06/0.8457, allocations: 0 / 0.7237 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of matching and sorting (n=230): time 0.03676/0.8825, allocations: 11.94 MB / 0.7354 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.835e-05/0.8826, allocations: 137.6 kB / 0.7355 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002506/0.8852, allocations: 1.523 MB / 0.737 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006163/0.8858, allocations: 29.7 kB / 0.737 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007954/0.8866, allocations: 1.132 MB / 0.7381 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001008/0.8876, allocations: 0.7657 MB / 0.7389 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.8878, allocations: 0 / 0.7389 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.888, allocations: 390.3 kB / 0.7393 GB, free: 7.984 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002049/0.89, allocations: 1.129 MB / 0.7404 GB, free: 6.852 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002085/0.8921, allocations: 1.42 MB / 0.7418 GB, free: 5.332 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002087/0.8942, allocations: 1.241 MB / 0.743 GB, free: 4.09 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.667e-06/0.8943, allocations: 4 kB / 0.743 GB, free: 4.086 MB / 0.5417 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.03833/0.9326, allocations: 12.11 MB / 0.7548 GB, free: 7.949 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008855/0.9335, allocations: 2.734 MB / 0.7575 GB, free: 4.992 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.9336, allocations: 4 kB / 0.7575 GB, free: 4.988 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3531/1.287, allocations: 5.052 MB / 0.7624 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001804/1.289, allocations: 312.8 kB / 0.7627 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03892/1.327, allocations: 18.89 MB / 0.7812 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003632/1.331, allocations: 451.1 kB / 0.7816 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002564/1.331, allocations: 74.36 kB / 0.7817 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/1.331, allocations: 7.781 kB / 0.7817 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03584/1.367, allocations: 11.79 MB / 0.7932 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-05/1.367, allocations: 7.344 kB / 0.7932 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01766/1.385, allocations: 5.055 MB / 0.7981 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/1.387, allocations: 303.9 kB / 0.7984 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04204/1.429, allocations: 18.89 MB / 0.8169 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003687/1.433, allocations: 418.2 kB / 0.8173 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004518/1.433, allocations: 82.62 kB / 0.8173 GB, free: 105.3 MB / 0.5573 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.000715/1.434, allocations: 149 kB / 0.8175 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03386/1.468, allocations: 11.94 MB / 0.8291 GB, free: 103 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/1.469, allocations: 268.6 kB / 0.8294 GB, free: 102.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03458/1.504, allocations: 12.22 MB / 0.8413 GB, free: 100.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-05/1.504, allocations: 22.75 kB / 0.8414 GB, free: 100.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.443e-05/1.504, allocations: 17.69 kB / 0.8414 GB, free: 100.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.739e-05/1.504, allocations: 12.05 kB / 0.8414 GB, free: 100.5 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.03956/1.543, allocations: 15.55 MB / 0.8566 GB, free: 96.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.299e-05/1.543, allocations: 0 / 0.8566 GB, free: 96.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001902/1.545, allocations: 251.5 kB / 0.8568 GB, free: 96.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01386/1.559, allocations: 4.831 MB / 0.8615 GB, free: 93.64 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006454/1.56, allocations: 13.45 kB / 0.8615 GB, free: 93.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03143/1.591, allocations: 15.16 MB / 0.8763 GB, free: 80.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.591, allocations: 4 kB / 0.8763 GB, free: 80.16 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03704/1.628, allocations: 14.14 MB / 0.8902 GB, free: 68.56 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008491/1.629, allocations: 382.5 kB / 0.8905 GB, free: 68.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007093/1.63, allocations: 8.656 kB / 0.8905 GB, free: 68.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003094/1.633, allocations: 328.8 kB / 0.8908 GB, free: 67.97 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001736/1.635, allocations: 0.5468 MB / 0.8914 GB, free: 67.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000216/1.635, allocations: 55.7 kB / 0.8914 GB, free: 67.62 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001401/1.637, allocations: 1.148 MB / 0.8926 GB, free: 66.56 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.637, allocations: 0 / 0.8926 GB, free: 66.56 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005859/1.642, allocations: 1.566 MB / 0.8941 GB, free: 65.07 MB / 0.5573 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.03696/1.679, allocations: 15 MB / 0.9087 GB, free: 52.63 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02549/1.705, allocations: 9.404 MB / 0.9179 GB, free: 44.21 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.705, allocations: 0 / 0.9179 GB, free: 44.21 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01137/1.716, allocations: 3.844 MB / 0.9217 GB, free: 40.84 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/1.718, allocations: 156.8 kB / 0.9218 GB, free: 40.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009193/1.727, allocations: 4.414 MB / 0.9261 GB, free: 36.81 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/1.728, allocations: 1.803 MB / 0.9279 GB, free: 35.39 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001614/1.73, allocations: 356.6 kB / 0.9282 GB, free: 35.16 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/1.731, allocations: 1.07 MB / 0.9293 GB, free: 34.18 MB / 0.5573 GB Notification: Performance of SimCode: time 1.002e-06/1.731, allocations: 0 / 0.9293 GB, free: 34.18 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4215/2.153, allocations: 91.28 MB / 1.018 GB, free: 126.9 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001495/2.153, allocations: 150.7 kB / 1.019 GB, free: 126.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.381/7.534, allocations: 0 / 1.019 GB, free: 126.7 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)