Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007577/0.007577, allocations: 170.7 kB / 15.11 MB, free: 5.582 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.4/1.4, 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.0008532/0.0008531, 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.06707/0.06707, allocations: 12.6 MB / 330.5 MB, free: 10.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4246/0.4246, allocations: 78.51 MB / 460 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005129/0.0005126, allocations: 22.16 kB / 0.5285 GB, free: 35.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1346, allocations: 69.33 MB / 0.5962 GB, free: 3.809 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4463/0.581, allocations: 103.9 MB / 0.6976 GB, free: 36.77 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.5813, allocations: 81.98 kB / 0.6977 GB, free: 36.77 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2143/0.7956, allocations: 97.25 MB / 0.7926 GB, free: 2.055 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.7957, allocations: 0 / 0.7926 GB, free: 2.055 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000215/0.7959, allocations: 91.88 kB / 0.7927 GB, free: 1.965 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.01965/0.8155, allocations: 6.55 MB / 0.7991 GB, free: 11.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.8156, allocations: 15.98 kB / 0.7991 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01771/0.8333, allocations: 2.806 MB / 0.8019 GB, free: 9.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007772/0.8411, allocations: 2.317 MB / 0.8041 GB, free: 7.422 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001197/0.8424, allocations: 0.9887 MB / 0.8051 GB, free: 6.422 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001837/0.8442, allocations: 337.2 kB / 0.8054 GB, free: 6.203 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01529/0.8595, allocations: 4.935 MB / 0.8102 GB, free: 1.387 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001356/0.8597, allocations: 0 / 0.8102 GB, free: 1.387 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001148/0.8609, allocations: 151.9 kB / 0.8104 GB, free: 1.238 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.363e-05/0.861, allocations: 91.95 kB / 0.8105 GB, free: 1.148 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/0.8724, allocations: 4.478 MB / 0.8149 GB, free: 12.66 MB / 0.4948 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 preOpt removeSimpleEquations (simulation): time 0.03939/0.9118, allocations: 18.57 MB / 0.833 GB, free: 8.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01368/0.9255, allocations: 5.67 MB / 0.8385 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005415/0.9261, allocations: 70.89 kB / 0.8386 GB, free: 3.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007093/0.9332, allocations: 3.426 MB / 0.8419 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=383): time 9.377e-06/0.9332, allocations: 0 / 0.8419 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=383): time 0.6001/1.533, allocations: 79.48 MB / 0.9196 GB, free: 135.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.859e-05/1.533, allocations: 143.7 kB / 0.9197 GB, free: 135.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004508/1.538, allocations: 2.706 MB / 0.9223 GB, free: 135.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001123/1.539, allocations: 89.42 kB / 0.9224 GB, free: 135.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001357/1.54, allocations: 2.001 MB / 0.9244 GB, free: 135.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001657/1.542, allocations: 1.299 MB / 0.9256 GB, free: 134.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/1.542, allocations: 73.69 kB / 0.9257 GB, free: 134.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.543, allocations: 445.7 kB / 0.9261 GB, free: 134.2 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005279/1.548, allocations: 2.657 MB / 0.9287 GB, free: 134.2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005486/1.553, allocations: 3.239 MB / 0.9319 GB, free: 133.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006035/1.559, allocations: 2.905 MB / 0.9347 GB, free: 133.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.8e-05/1.559, allocations: 4.531 kB / 0.9347 GB, free: 133.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=468) (initialization): time 0.05493/1.614, allocations: 20.18 MB / 0.9544 GB, free: 133 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.699e-05/1.615, allocations: 66.7 kB / 0.9545 GB, free: 133 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.655e-05/1.615, allocations: 17.12 kB / 0.9545 GB, free: 133 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02534/1.64, allocations: 8.55 MB / 0.9629 GB, free: 132.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003028/1.643, allocations: 0.5592 MB / 0.9634 GB, free: 132.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07753/1.721, allocations: 37.07 MB / 0.9996 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005927/1.727, allocations: 0.6948 MB / 1 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004271/1.727, allocations: 139.4 kB / 1 GB, free: 122.7 MB / 0.5886 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (331): * Single equations (assignments): 328 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.002125/1.729, allocations: 0.652 MB / 1.001 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/1.73, allocations: 466.1 kB / 1.002 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05216/1.782, allocations: 20.55 MB / 1.022 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.172e-05/1.782, allocations: 36 kB / 1.022 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.983e-05/1.782, allocations: 29.78 kB / 1.022 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000112/1.783, allocations: 21.39 kB / 1.022 GB, free: 105.8 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.05854/1.841, allocations: 25.5 MB / 1.047 GB, free: 86.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-05/1.841, allocations: 0 / 1.047 GB, free: 86.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002407/1.844, allocations: 392.9 kB / 1.047 GB, free: 86.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02394/1.868, allocations: 8.611 MB / 1.055 GB, free: 79.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001037/1.869, allocations: 79.36 kB / 1.055 GB, free: 79.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07099/1.94, allocations: 34.36 MB / 1.089 GB, free: 49.28 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.94, allocations: 0 / 1.089 GB, free: 49.28 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05921/1.999, allocations: 24.2 MB / 1.113 GB, free: 25 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001671/2.001, allocations: 0.5609 MB / 1.113 GB, free: 24.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001116/2.002, allocations: 64 kB / 1.113 GB, free: 24.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004123/2.006, allocations: 499.6 kB / 1.114 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002884/2.009, allocations: 0.7763 MB / 1.114 GB, free: 23.08 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003289/2.009, allocations: 95.97 kB / 1.115 GB, free: 22.98 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00282/2.012, allocations: 2.066 MB / 1.117 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.2e-07/2.012, allocations: 0 / 1.117 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005146/2.017, allocations: 1.756 MB / 1.118 GB, free: 19.16 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (247): * Single equations (assignments): 244 * 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 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000525/2.018, allocations: 216.5 kB / 1.118 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02311/2.041, allocations: 9.952 MB / 1.128 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/2.041, allocations: 3.609 kB / 1.128 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0186/2.059, allocations: 7.038 MB / 1.135 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003198/2.063, allocations: 308 kB / 1.135 GB, free: 1.574 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01662/2.079, allocations: 9.639 MB / 1.145 GB, free: 7.879 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002158/2.082, allocations: 2.534 MB / 1.147 GB, free: 5.309 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001804/2.083, allocations: 302.8 kB / 1.148 GB, free: 5.023 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008486/2.084, allocations: 203.4 kB / 1.148 GB, free: 4.828 MB / 0.6042 GB Notification: Performance of SimCode: time 9.32e-07/2.084, allocations: 0 / 1.148 GB, free: 4.828 MB / 0.6042 GB Notification: Performance of Templates: time 0.3821/2.466, allocations: 78.23 MB / 1.224 GB, free: 142.9 MB / 0.6042 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)