Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.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.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001481/0.001481, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.301/1.301, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0008049/0.0008049, allocations: 95.34 kB / 266.6 MB, free: 9.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06631/0.06631, allocations: 12.58 MB / 327.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2818/0.2818, allocations: 78.02 MB / 456.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.05e-05/3.053e-05, allocations: 8 kB / 0.5218 GB, free: 23.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0985/0.09855, allocations: 69.32 MB / 0.5895 GB, free: 2.496 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3518/0.4504, allocations: 100.4 MB / 0.6876 GB, free: 15.05 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.4507, allocations: 83.56 kB / 0.6876 GB, free: 15 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09673/0.5474, allocations: 35.51 MB / 0.7223 GB, free: 1.047 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.5474, allocations: 0 / 0.7223 GB, free: 1.047 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.025e-05/0.5475, allocations: 24 kB / 0.7223 GB, free: 1.023 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004186/0.5517, allocations: 1.707 MB / 0.724 GB, free: 15.37 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.5517, allocations: 11.98 kB / 0.724 GB, free: 15.36 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003371/0.5551, allocations: 0.5646 MB / 0.7246 GB, free: 14.83 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.5565, allocations: 0.7838 MB / 0.7253 GB, free: 14.16 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002732/0.5568, allocations: 258.8 kB / 0.7256 GB, free: 13.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.557, allocations: 80 kB / 0.7256 GB, free: 13.85 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.5586, allocations: 0.9356 MB / 0.7266 GB, free: 13.23 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.5587, allocations: 0 / 0.7266 GB, free: 13.23 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.624e-05/0.5588, allocations: 31.25 kB / 0.7266 GB, free: 13.23 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.5588, allocations: 27.89 kB / 0.7266 GB, free: 13.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.5602, allocations: 0.8377 MB / 0.7274 GB, free: 12.67 MB / 474.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.006224/0.5665, allocations: 3.783 MB / 0.7311 GB, free: 9.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007554/0.574, allocations: 2.658 MB / 0.7337 GB, free: 7.246 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009475/0.575, allocations: 0.5473 MB / 0.7343 GB, free: 6.941 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.5751, allocations: 12.73 kB / 0.7343 GB, free: 6.93 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/0.5762, allocations: 0.6716 MB / 0.7349 GB, free: 6.469 MB / 474.7 MB Notification: Performance of pre-optimization done (n=96): time 3.216e-06/0.5762, allocations: 0 / 0.7349 GB, free: 6.469 MB / 474.7 MB Notification: Performance of matching and sorting (n=96): time 0.01249/0.5887, allocations: 4.035 MB / 0.7389 GB, free: 2.965 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.5888, allocations: 111.6 kB / 0.739 GB, free: 2.832 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.5901, allocations: 0.881 MB / 0.7398 GB, free: 2.168 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001677/0.5903, allocations: 44 kB / 0.7399 GB, free: 2.129 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003014/0.5906, allocations: 0.5026 MB / 0.7404 GB, free: 1.855 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003383/0.591, allocations: 347.9 kB / 0.7407 GB, free: 1.555 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.185e-05/0.591, allocations: 20.81 kB / 0.7407 GB, free: 1.551 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5912, allocations: 347.7 kB / 0.7411 GB, free: 1.223 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007609/0.5919, allocations: 454.2 kB / 0.7415 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008125/0.5927, allocations: 0.5876 MB / 0.7421 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000844/0.5936, allocations: 0.5509 MB / 0.7426 GB, free: 212 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5936, allocations: 4 kB / 0.7426 GB, free: 208 kB / 474.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01248/0.6061, allocations: 4.093 MB / 0.7466 GB, free: 12.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.085e-05/0.6062, allocations: 63.36 kB / 0.7467 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.6062, allocations: 4 kB / 0.7467 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005609/0.6118, allocations: 1.522 MB / 0.7481 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.6129, allocations: 187.7 kB / 0.7483 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01445/0.6274, allocations: 6.743 MB / 0.7549 GB, free: 4.102 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.6291, allocations: 203 kB / 0.7551 GB, free: 3.902 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002493/0.6294, allocations: 35.98 kB / 0.7551 GB, free: 3.867 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.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 (96): * Single equations (assignments): 93 * 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.0004435/0.6298, allocations: 195.6 kB / 0.7553 GB, free: 3.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003953/0.6303, allocations: 130.4 kB / 0.7555 GB, free: 3.531 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01286/0.6431, allocations: 4.135 MB / 0.7595 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/0.6432, allocations: 12 kB / 0.7595 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/0.6432, allocations: 4 kB / 0.7595 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.641e-05/0.6433, allocations: 3.984 kB / 0.7595 GB, free: 15.35 MB / 0.4948 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.01462/0.6579, allocations: 5.71 MB / 0.7651 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-06/0.6579, allocations: 0 / 0.7651 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006504/0.6586, allocations: 95.89 kB / 0.7652 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005032/0.6637, allocations: 1.489 MB / 0.7666 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001853/0.6639, allocations: 23.94 kB / 0.7667 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01467/0.6786, allocations: 7.721 MB / 0.7742 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.6786, allocations: 0 / 0.7742 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01389/0.6925, allocations: 4.873 MB / 0.779 GB, free: 11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005104/0.693, allocations: 227.3 kB / 0.7792 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003495/0.6934, allocations: 23.95 kB / 0.7792 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/0.6948, allocations: 143.9 kB / 0.7793 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006154/0.6954, allocations: 192.7 kB / 0.7795 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.6956, allocations: 27.98 kB / 0.7795 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001112/0.6967, allocations: 0.6856 MB / 0.7802 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.643e-06/0.6967, allocations: 96 / 0.7802 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00161/0.6983, allocations: 443.4 kB / 0.7806 GB, free: 9.25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003821/0.6987, allocations: 151.1 kB / 0.7808 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005291/0.704, allocations: 2.069 MB / 0.7828 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.704, allocations: 0 / 0.7828 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00428/0.7083, allocations: 1.572 MB / 0.7843 GB, free: 5.371 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.7094, allocations: 111.9 kB / 0.7844 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003563/0.713, allocations: 1.724 MB / 0.7861 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007821/0.7138, allocations: 1.143 MB / 0.7872 GB, free: 2.328 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004831/0.7143, allocations: 98.75 kB / 0.7873 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.7146, allocations: 71.36 kB / 0.7874 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of SimCode: time 2.294e-06/0.7146, allocations: 4 kB / 0.7874 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of Templates: time 0.03385/0.7484, allocations: 20.47 MB / 0.8074 GB, free: 13.68 MB / 0.5417 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)