Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.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.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 174.2 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.29/1.29, 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.0009615/0.0009616, allocations: 93.33 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4197/0.4197, allocations: 78.01 MB / 414.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.252e-05/2.253e-05, allocations: 0 / 491.8 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2828, allocations: 69.34 MB / 0.5479 GB, free: 20.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1111/0.3939, allocations: 101.7 MB / 0.6473 GB, free: 14.72 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.3942, allocations: 79.95 kB / 0.6474 GB, free: 14.64 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4882/0.8824, allocations: 98.7 MB / 0.7437 GB, free: 63.94 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.8825, allocations: 0 / 0.7437 GB, free: 63.94 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002075/0.8827, allocations: 95.88 kB / 0.7438 GB, free: 63.85 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: 890 * Number of variables: 890 Notification: Performance of Generate backend data structure: time 0.01642/0.8991, allocations: 5.723 MB / 0.7494 GB, free: 58.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.8991, allocations: 15.97 kB / 0.7494 GB, free: 58.03 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01686/0.916, allocations: 2.783 MB / 0.7522 GB, free: 55.24 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005001/0.9211, allocations: 2.263 MB / 0.7544 GB, free: 52.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007661/0.9219, allocations: 0.9595 MB / 0.7553 GB, free: 51.81 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001191/0.9231, allocations: 343.9 kB / 0.7556 GB, free: 51.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00738/0.9305, allocations: 4.073 MB / 0.7596 GB, free: 47.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-05/0.9306, allocations: 0 / 0.7596 GB, free: 47.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003788/0.9309, allocations: 148 kB / 0.7598 GB, free: 47.22 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.357e-05/0.931, allocations: 84 kB / 0.7598 GB, free: 47.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006143/0.9371, allocations: 3.616 MB / 0.7634 GB, free: 43.52 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.03139/0.9686, allocations: 18.63 MB / 0.7816 GB, free: 23.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00966/0.9783, allocations: 4.768 MB / 0.7862 GB, free: 18.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003455/0.9818, allocations: 2.219 MB / 0.7884 GB, free: 16.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004964/0.9823, allocations: 66.92 kB / 0.7884 GB, free: 16.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.9823, allocations: 69.55 kB / 0.7885 GB, free: 16.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=380): time 5.51e-06/0.9823, allocations: 0 / 0.7885 GB, free: 16.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=380): time 0.04987/1.032, allocations: 17.45 MB / 0.8055 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/1.032, allocations: 167.5 kB / 0.8057 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005198/1.038, allocations: 2.637 MB / 0.8083 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009233/1.039, allocations: 89.7 kB / 0.8084 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001733/1.04, allocations: 1.979 MB / 0.8103 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001978/1.042, allocations: 1.294 MB / 0.8116 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006555/1.043, allocations: 76 kB / 0.8116 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002928/1.043, allocations: 437.6 kB / 0.8121 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003757/1.047, allocations: 1.823 MB / 0.8138 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004083/1.051, allocations: 2.398 MB / 0.8162 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003857/1.055, allocations: 2.074 MB / 0.8182 GB, free: 1.676 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.541e-05/1.055, allocations: 4 kB / 0.8182 GB, free: 1.672 MB / 0.4948 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.05443/1.109, allocations: 17.66 MB / 0.8355 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002436/1.112, allocations: 6.673 MB / 0.842 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.384e-05/1.112, allocations: 12 kB / 0.842 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0244/1.136, allocations: 6.915 MB / 0.8487 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002977/1.139, allocations: 0.5344 MB / 0.8493 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06554/1.205, allocations: 25.55 MB / 0.8742 GB, free: 7.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006013/1.211, allocations: 0.6918 MB / 0.8749 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000939/1.212, allocations: 131.9 kB / 0.875 GB, free: 6.746 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/1.212, allocations: 4 kB / 0.875 GB, free: 6.742 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05602/1.268, allocations: 17.23 MB / 0.8918 GB, free: 5.453 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.629e-05/1.268, allocations: 15.98 kB / 0.8919 GB, free: 5.438 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3064/1.575, allocations: 6.907 MB / 0.8986 GB, free: 128 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002961/1.578, allocations: 0.5314 MB / 0.8991 GB, free: 128 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05751/1.635, allocations: 25.54 MB / 0.9241 GB, free: 126.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005596/1.641, allocations: 0.6547 MB / 0.9247 GB, free: 126.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006707/1.641, allocations: 132.9 kB / 0.9248 GB, free: 126.3 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" 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 order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 319 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.0009667/1.642, allocations: 337.5 kB / 0.9252 GB, free: 126.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/1.644, allocations: 455.7 kB / 0.9256 GB, free: 126 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04974/1.693, allocations: 17.98 MB / 0.9431 GB, free: 122.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.887e-05/1.693, allocations: 41.39 kB / 0.9432 GB, free: 122.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.489e-05/1.693, allocations: 26.19 kB / 0.9432 GB, free: 122.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.56e-05/1.694, allocations: 23.08 kB / 0.9432 GB, free: 122.8 MB / 0.573 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.05771/1.751, allocations: 23.22 MB / 0.9659 GB, free: 117.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/1.751, allocations: 3.438 kB / 0.9659 GB, free: 117.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002356/1.754, allocations: 404.4 kB / 0.9663 GB, free: 117.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02128/1.775, allocations: 6.97 MB / 0.9731 GB, free: 113.1 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008338/1.776, allocations: 71.23 kB / 0.9732 GB, free: 113 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.048/1.824, allocations: 22.54 MB / 0.9952 GB, free: 93.34 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.824, allocations: 1.312 kB / 0.9952 GB, free: 93.34 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05366/1.878, allocations: 20.81 MB / 1.016 GB, free: 76.32 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/1.879, allocations: 0.5567 MB / 1.016 GB, free: 75.82 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000969/1.88, allocations: 64.66 kB / 1.016 GB, free: 75.76 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004279/1.884, allocations: 489.9 kB / 1.017 GB, free: 75.39 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002648/1.887, allocations: 0.7617 MB / 1.017 GB, free: 74.98 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003401/1.887, allocations: 90.44 kB / 1.017 GB, free: 74.89 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002513/1.89, allocations: 2.004 MB / 1.019 GB, free: 73.04 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.21e-07/1.89, allocations: 0 / 1.019 GB, free: 73.04 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006845/1.897, allocations: 2.865 MB / 1.022 GB, free: 70.3 MB / 0.573 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,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 248 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000548/1.897, allocations: 211.4 kB / 1.022 GB, free: 70.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03574/1.933, allocations: 14.43 MB / 1.036 GB, free: 57.04 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.933, allocations: 4 kB / 1.036 GB, free: 57.04 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01617/1.949, allocations: 5.986 MB / 1.042 GB, free: 51.75 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/1.952, allocations: 313.5 kB / 1.043 GB, free: 51.45 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009697/1.961, allocations: 6.007 MB / 1.048 GB, free: 45.95 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/1.963, allocations: 2.593 MB / 1.051 GB, free: 44.02 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002722/1.965, allocations: 0.6053 MB / 1.052 GB, free: 43.62 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000664/1.966, allocations: 171 kB / 1.052 GB, free: 43.46 MB / 0.573 GB Notification: Performance of SimCode: time 6.01e-07/1.966, allocations: 3.938 kB / 1.052 GB, free: 43.46 MB / 0.573 GB Notification: Performance of Templates: time 0.4297/2.396, allocations: 112.5 MB / 1.162 GB, free: 154.9 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)