Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005385/0.005385, allocations: 170.9 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.4 MB / 221.3 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008523/0.0008522, allocations: 86.86 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06989/0.06989, allocations: 12.6 MB / 330.4 MB, free: 10.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4169/0.4169, allocations: 78.52 MB / 460 MB, free: 3.461 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000502/0.000502, allocations: 22.66 kB / 0.5285 GB, free: 35.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1364, allocations: 69.33 MB / 0.5962 GB, free: 3.812 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4536/0.59, allocations: 100.8 MB / 0.6946 GB, free: 35.21 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.5903, allocations: 78.14 kB / 0.6947 GB, free: 35.21 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1476/0.738, allocations: 64.91 MB / 0.7581 GB, free: 21.04 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.738, allocations: 0 / 0.7581 GB, free: 21.04 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001544/0.7382, allocations: 70.28 kB / 0.7581 GB, free: 21.03 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01303/0.7512, allocations: 4.581 MB / 0.7626 GB, free: 18.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.7513, allocations: 11.73 kB / 0.7626 GB, free: 18.49 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/0.7613, allocations: 1.62 MB / 0.7642 GB, free: 17.9 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004683/0.7661, allocations: 1.694 MB / 0.7659 GB, free: 17.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005353/0.7666, allocations: 0.6942 MB / 0.7665 GB, free: 16.48 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004526/0.7671, allocations: 201.6 kB / 0.7667 GB, free: 16.48 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005943/0.7731, allocations: 3.218 MB / 0.7699 GB, free: 15.62 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.457e-05/0.7731, allocations: 0 / 0.7699 GB, free: 15.62 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002363/0.7734, allocations: 78.16 kB / 0.7699 GB, free: 15.62 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.113e-05/0.7734, allocations: 50.5 kB / 0.77 GB, free: 15.62 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005567/0.779, allocations: 3.022 MB / 0.7729 GB, free: 15.13 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01812/0.7971, allocations: 9.991 MB / 0.7827 GB, free: 10.05 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009992/0.8072, allocations: 4.744 MB / 0.7873 GB, free: 8.008 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004622/0.8077, allocations: 37.61 kB / 0.7874 GB, free: 7.977 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.8077, allocations: 59.38 kB / 0.7874 GB, free: 7.926 MB / 474.7 MB Notification: Performance of pre-optimization done (n=241): time 4.829e-06/0.8077, allocations: 0 / 0.7874 GB, free: 7.926 MB / 474.7 MB Notification: Performance of matching and sorting (n=241): time 0.1055/0.9133, allocations: 30.13 MB / 0.8168 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.9135, allocations: 235.6 kB / 0.8171 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003749/0.9172, allocations: 1.916 MB / 0.8189 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007954/0.918, allocations: 65.7 kB / 0.819 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009131/0.919, allocations: 1.212 MB / 0.8202 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001267/0.9202, allocations: 0.8315 MB / 0.821 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.9204, allocations: 47.94 kB / 0.821 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.9206, allocations: 394.6 kB / 0.8214 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00408/0.9247, allocations: 1.867 MB / 0.8232 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004438/0.9291, allocations: 2.178 MB / 0.8254 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004478/0.9337, allocations: 2.095 MB / 0.8274 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.9337, allocations: 7.953 kB / 0.8274 GB, free: 15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.04287/0.9766, allocations: 14.31 MB / 0.8414 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.00158/0.9782, allocations: 2.875 MB / 0.8442 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.648e-05/0.9783, allocations: 7.984 kB / 0.8442 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02078/0.9991, allocations: 6.321 MB / 0.8504 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/1.002, allocations: 383.4 kB / 0.8508 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07229/1.074, allocations: 26.05 MB / 0.8762 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00472/1.079, allocations: 0.5134 MB / 0.8767 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000807/1.08, allocations: 83.97 kB / 0.8768 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/1.08, allocations: 4 kB / 0.8768 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04372/1.123, allocations: 14 MB / 0.8905 GB, free: 13.91 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.733e-05/1.123, allocations: 8 kB / 0.8905 GB, free: 13.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01982/1.143, allocations: 6.321 MB / 0.8966 GB, free: 7.574 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002238/1.145, allocations: 363.5 kB / 0.897 GB, free: 7.219 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3627/1.508, allocations: 26.04 MB / 0.9224 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004549/1.513, allocations: 492.5 kB / 0.9229 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000831/1.514, allocations: 85.05 kB / 0.923 GB, free: 157.4 MB / 0.5886 GB Warning: Assuming fixed start value for the following 6 variables: order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 4 * 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.002815/1.517, allocations: 0.5803 MB / 0.9235 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001476/1.518, allocations: 301.1 kB / 0.9238 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04207/1.56, allocations: 14.51 MB / 0.938 GB, free: 156.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-05/1.56, allocations: 23.73 kB / 0.938 GB, free: 156.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-05/1.56, allocations: 19.22 kB / 0.938 GB, free: 156.9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.448e-05/1.56, allocations: 10.64 kB / 0.938 GB, free: 156.9 MB / 0.5886 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04289/1.603, allocations: 18.22 MB / 0.9558 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-05/1.603, allocations: 0 / 0.9558 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001758/1.605, allocations: 280.4 kB / 0.9561 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01615/1.621, allocations: 6.072 MB / 0.962 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008056/1.622, allocations: 49.28 kB / 0.9621 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05437/1.676, allocations: 22.66 MB / 0.9842 GB, free: 150.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.677, allocations: 11.73 kB / 0.9842 GB, free: 150.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04525/1.722, allocations: 17.07 MB / 1.001 GB, free: 136.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001393/1.723, allocations: 414.5 kB / 1.001 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008141/1.724, allocations: 48 kB / 1.001 GB, free: 136.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003071/1.727, allocations: 399.8 kB / 1.002 GB, free: 135.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001946/1.729, allocations: 0.5492 MB / 1.002 GB, free: 135.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001965/1.729, allocations: 67.28 kB / 1.002 GB, free: 135.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002242/1.732, allocations: 1.485 MB / 1.004 GB, free: 134.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2e-07/1.732, allocations: 0 / 1.004 GB, free: 134.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005136/1.737, allocations: 1.765 MB / 1.005 GB, free: 132.5 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 159 * 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004553/1.737, allocations: 180.8 kB / 1.006 GB, free: 132.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02862/1.766, allocations: 11.92 MB / 1.017 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.766, allocations: 2.344 kB / 1.017 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01215/1.778, allocations: 4.78 MB / 1.022 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/1.78, allocations: 235.4 kB / 1.022 GB, free: 117.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008862/1.789, allocations: 6.408 MB / 1.028 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/1.79, allocations: 1.893 MB / 1.03 GB, free: 110.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001391/1.792, allocations: 266.7 kB / 1.031 GB, free: 110.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005151/1.792, allocations: 139.2 kB / 1.031 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of SimCode: time 1.272e-06/1.792, allocations: 0 / 1.031 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.09319/1.886, allocations: 72.23 MB / 1.101 GB, free: 42.5 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe 2>&1)