Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008841/0.0008841, allocations: 169.3 kB / 7.64 MB, free: 1.414 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.295/1.295, allocations: 221.5 MB / 229.6 MB, free: 7.508 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.0008409/0.000841, allocations: 99.2 kB / 280.5 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4579/0.4579, allocations: 78.05 MB / 409.3 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.335e-05/1.337e-05, allocations: 0 / 484.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1303, allocations: 69.36 MB / 0.5413 GB, free: 6.805 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3963/0.5267, allocations: 97.2 MB / 0.6362 GB, free: 2.352 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.527, allocations: 76.48 kB / 0.6363 GB, free: 2.277 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1531/0.6801, allocations: 59.89 MB / 0.6948 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6802, allocations: 0 / 0.6948 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.00013/0.6803, allocations: 52 kB / 0.6948 GB, free: 6.238 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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.01169/0.692, allocations: 3.737 MB / 0.6985 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.6921, allocations: 12.03 kB / 0.6985 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/0.7021, allocations: 1.569 MB / 0.7 GB, free: 0.8594 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003215/0.7054, allocations: 1.448 MB / 0.7014 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006293/0.706, allocations: 0.6129 MB / 0.702 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004452/0.7065, allocations: 112 kB / 0.7021 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003835/0.7103, allocations: 2.079 MB / 0.7042 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003821/0.7142, allocations: 2.141 MB / 0.7062 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/0.7142, allocations: 0 / 0.7062 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002157/0.7145, allocations: 7.781 kB / 0.7063 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.342e-05/0.7145, allocations: 48 kB / 0.7063 GB, free: 10.23 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.01761/0.7321, allocations: 9.279 MB / 0.7154 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009368/0.7415, allocations: 3.958 MB / 0.7192 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002481/0.744, allocations: 1.366 MB / 0.7206 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003027/0.7443, allocations: 37.95 kB / 0.7206 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.7444, allocations: 56.56 kB / 0.7206 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=227): time 5.09e-06/0.7444, allocations: 0 / 0.7206 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=227): time 0.03746/0.7819, allocations: 11.91 MB / 0.7323 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.09e-05/0.782, allocations: 124.8 kB / 0.7324 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/0.7845, allocations: 1.487 MB / 0.7338 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006293/0.7851, allocations: 25.7 kB / 0.7339 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008494/0.786, allocations: 1.124 MB / 0.735 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001066/0.787, allocations: 0.7503 MB / 0.7357 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.7872, allocations: 0 / 0.7357 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.7874, allocations: 382.9 kB / 0.7361 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/0.7893, allocations: 1.11 MB / 0.7372 GB, free: 10 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/0.7913, allocations: 1.404 MB / 0.7385 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/0.7933, allocations: 1.221 MB / 0.7397 GB, free: 7.277 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.7933, allocations: 4 kB / 0.7397 GB, free: 7.273 MB / 0.5417 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.03654/0.8298, allocations: 12 MB / 0.7514 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001012/0.8309, allocations: 2.73 MB / 0.7541 GB, free: 8.297 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.8309, allocations: 9.969 kB / 0.7541 GB, free: 8.289 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01688/0.8478, allocations: 4.957 MB / 0.759 GB, free: 3.328 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/0.8497, allocations: 315.5 kB / 0.7593 GB, free: 3.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3339/1.184, allocations: 17.59 MB / 0.7764 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003401/1.187, allocations: 444.4 kB / 0.7769 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002861/1.187, allocations: 81.78 kB / 0.7769 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/1.187, allocations: 2.906 kB / 0.7769 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03513/1.223, allocations: 11.69 MB / 0.7884 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.242e-05/1.223, allocations: 10.86 kB / 0.7884 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01662/1.239, allocations: 4.956 MB / 0.7932 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/1.241, allocations: 303.5 kB / 0.7935 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04116/1.282, allocations: 17.6 MB / 0.8107 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003406/1.286, allocations: 426.7 kB / 0.8111 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002305/1.286, allocations: 74.42 kB / 0.8112 GB, free: 110.6 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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_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 (184): * Single equations (assignments): 183 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.0005884/1.287, allocations: 143.8 kB / 0.8113 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004304/1.287, allocations: 269.6 kB / 0.8116 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03387/1.321, allocations: 12.17 MB / 0.8234 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.467e-05/1.321, allocations: 20.53 kB / 0.8235 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.574e-05/1.321, allocations: 24.33 kB / 0.8235 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.099e-05/1.321, allocations: 10.41 kB / 0.8235 GB, free: 108.1 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.03746/1.359, allocations: 15.46 MB / 0.8386 GB, free: 104 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/1.359, allocations: 4.078 kB / 0.8386 GB, free: 104 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/1.36, allocations: 249.5 kB / 0.8388 GB, free: 104 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01352/1.374, allocations: 4.825 MB / 0.8435 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004318/1.374, allocations: 15.06 kB / 0.8436 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02967/1.404, allocations: 15.18 MB / 0.8584 GB, free: 95.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/1.404, allocations: 0 / 0.8584 GB, free: 95.71 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03666/1.44, allocations: 14.06 MB / 0.8721 GB, free: 84.28 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/1.442, allocations: 373 kB / 0.8725 GB, free: 83.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000684/1.442, allocations: 9.219 kB / 0.8725 GB, free: 83.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002559/1.445, allocations: 329 kB / 0.8728 GB, free: 83.69 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001583/1.447, allocations: 0.5433 MB / 0.8733 GB, free: 83.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/1.447, allocations: 56 kB / 0.8734 GB, free: 83.35 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00127/1.448, allocations: 1.113 MB / 0.8745 GB, free: 82.32 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.31e-07/1.448, allocations: 0 / 0.8745 GB, free: 82.32 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004093/1.452, allocations: 1.534 MB / 0.876 GB, free: 80.86 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (146): * Single equations (assignments): 145 * 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003602/1.452, allocations: 149.8 kB / 0.8761 GB, free: 80.73 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0226/1.475, allocations: 9.065 MB / 0.885 GB, free: 72.66 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/1.475, allocations: 0 / 0.885 GB, free: 72.66 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01007/1.485, allocations: 3.805 MB / 0.8887 GB, free: 69.33 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/1.487, allocations: 152.3 kB / 0.8888 GB, free: 69.19 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006165/1.493, allocations: 3.814 MB / 0.8925 GB, free: 65.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009055/1.494, allocations: 1.787 MB / 0.8943 GB, free: 64.33 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001507/1.495, allocations: 349.8 kB / 0.8946 GB, free: 64.11 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003643/1.496, allocations: 99.33 kB / 0.8947 GB, free: 64.02 MB / 0.5573 GB Notification: Performance of SimCode: time 8.82e-07/1.496, allocations: 0 / 0.8947 GB, free: 64.02 MB / 0.5573 GB Notification: Performance of Templates: time 0.08257/1.578, allocations: 69.32 MB / 0.9624 GB, free: 2.332 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)