Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.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: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 175.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008345/0.0008344, allocations: 84.75 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5064/0.5064, allocations: 78.07 MB / 414.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/2.988e-05, allocations: 0 / 491.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3731, allocations: 69.34 MB / 0.548 GB, free: 20.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.4913, allocations: 98.52 MB / 0.6442 GB, free: 2.027 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.4915, allocations: 75.97 kB / 0.6443 GB, free: 1.953 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08405/0.5756, allocations: 31.27 MB / 0.6748 GB, free: 2.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5756, allocations: 0 / 0.6748 GB, free: 2.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.665e-05/0.5757, allocations: 24 kB / 0.6748 GB, free: 2.457 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004271/0.58, allocations: 1.691 MB / 0.6765 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.58, allocations: 11.97 kB / 0.6765 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00347/0.5835, allocations: 0.5719 MB / 0.6771 GB, free: 120 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2748/0.8584, allocations: 0.7498 MB / 0.6778 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003709/0.8588, allocations: 261.1 kB / 0.678 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.859, allocations: 85.38 kB / 0.6781 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.8607, allocations: 0.9316 MB / 0.679 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.8607, allocations: 0.9688 kB / 0.679 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.375e-05/0.8608, allocations: 31 kB / 0.6791 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.8609, allocations: 18.47 kB / 0.6791 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.8625, allocations: 0.8415 MB / 0.6799 GB, free: 103.6 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.007288/0.8698, allocations: 3.794 MB / 0.6836 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007725/0.8775, allocations: 2.648 MB / 0.6862 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.8787, allocations: 0.5398 MB / 0.6867 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.8788, allocations: 19.86 kB / 0.6867 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009608/0.8798, allocations: 0.6711 MB / 0.6874 GB, free: 102 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 2.966e-06/0.8798, allocations: 3.625 kB / 0.6874 GB, free: 102 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01155/0.8914, allocations: 4.016 MB / 0.6913 GB, free: 101.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.8914, allocations: 117.7 kB / 0.6914 GB, free: 101.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.8928, allocations: 0.8915 MB / 0.6923 GB, free: 101.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001835/0.893, allocations: 41.17 kB / 0.6923 GB, free: 101.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/0.8932, allocations: 0.5095 MB / 0.6928 GB, free: 101 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000264/0.8935, allocations: 341.7 kB / 0.6932 GB, free: 100.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.541e-05/0.8936, allocations: 20.94 kB / 0.6932 GB, free: 100.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.907e-05/0.8936, allocations: 341.3 kB / 0.6935 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007093/0.8944, allocations: 459.2 kB / 0.6939 GB, free: 100.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007109/0.8951, allocations: 0.5771 MB / 0.6945 GB, free: 99.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007448/0.8958, allocations: 0.5452 MB / 0.695 GB, free: 99.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.8958, allocations: 0 / 0.695 GB, free: 99.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01147/0.9073, allocations: 4.098 MB / 0.699 GB, free: 98.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.884e-05/0.9074, allocations: 57.69 kB / 0.6991 GB, free: 98.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.9074, allocations: 6.484 kB / 0.6991 GB, free: 98.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005108/0.9125, allocations: 1.525 MB / 0.7006 GB, free: 98.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009697/0.9135, allocations: 182 kB / 0.7008 GB, free: 98.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/0.9259, allocations: 6.787 MB / 0.7074 GB, free: 94.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.9276, allocations: 203.4 kB / 0.7076 GB, free: 94.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.9278, allocations: 35.66 kB / 0.7076 GB, free: 94.49 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 91 * 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: 0 * Non-linear torn systems: 1 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.000264/0.928, allocations: 194.1 kB / 0.7078 GB, free: 94.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.9282, allocations: 130.4 kB / 0.7079 GB, free: 94.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/0.9392, allocations: 4.142 MB / 0.712 GB, free: 90.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.9392, allocations: 8 kB / 0.712 GB, free: 90.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.9392, allocations: 11.5 kB / 0.712 GB, free: 90.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.222e-05/0.9393, allocations: 7.219 kB / 0.712 GB, free: 90.93 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 postOpt removeSimpleEquations (simulation): time 0.01257/0.9519, allocations: 5.708 MB / 0.7176 GB, free: 86.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.9519, allocations: 0 / 0.7176 GB, free: 86.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006021/0.9525, allocations: 102.7 kB / 0.7177 GB, free: 86.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004685/0.9572, allocations: 1.507 MB / 0.7191 GB, free: 85.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/0.9574, allocations: 20 kB / 0.7192 GB, free: 85.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/0.9698, allocations: 7.702 MB / 0.7267 GB, free: 77.83 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.9698, allocations: 0 / 0.7267 GB, free: 77.83 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/0.9822, allocations: 4.878 MB / 0.7315 GB, free: 73.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005431/0.9828, allocations: 231.2 kB / 0.7317 GB, free: 73.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002729/0.9831, allocations: 19.98 kB / 0.7317 GB, free: 73.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/0.9844, allocations: 143.9 kB / 0.7318 GB, free: 73.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006034/0.9851, allocations: 196.7 kB / 0.732 GB, free: 72.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.981e-05/0.9851, allocations: 24.08 kB / 0.732 GB, free: 72.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008277/0.986, allocations: 0.6936 MB / 0.7327 GB, free: 72.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.986, allocations: 4 kB / 0.7327 GB, free: 72.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001237/0.9872, allocations: 434.2 kB / 0.7331 GB, free: 71.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002821/0.9875, allocations: 146.7 kB / 0.7333 GB, free: 71.62 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00448/0.992, allocations: 2.062 MB / 0.7353 GB, free: 69.53 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.992, allocations: 0 / 0.7353 GB, free: 69.53 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003726/0.9958, allocations: 1.589 MB / 0.7368 GB, free: 67.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007841/0.9966, allocations: 110 kB / 0.7369 GB, free: 67.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.9992, allocations: 1.664 MB / 0.7386 GB, free: 66.13 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.9997, allocations: 1.143 MB / 0.7397 GB, free: 64.96 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004201/1, allocations: 98.17 kB / 0.7398 GB, free: 64.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/1, allocations: 67.42 kB / 0.7398 GB, free: 64.8 MB / 490.7 MB Notification: Performance of SimCode: time 4.71e-07/1, allocations: 4 kB / 0.7398 GB, free: 64.79 MB / 490.7 MB Notification: Performance of Templates: time 0.02691/1.027, allocations: 20.54 MB / 0.7599 GB, free: 44.48 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)