Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009586/0.0009586, allocations: 169 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.3 MB / 213.4 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008675/0.0008675, allocations: 86.25 kB / 261.4 MB, free: 1.621 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.06398/0.06398, allocations: 12.6 MB / 321.9 MB, free: 15.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4321/0.4321, allocations: 78.05 MB / 450.8 MB, free: 8.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.576e-05/1.57e-05, allocations: 3.969 kB / 0.5147 GB, free: 41.65 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1216, allocations: 69.33 MB / 0.5824 GB, free: 324 kB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1331/0.2547, allocations: 103.7 MB / 0.6837 GB, free: 8.449 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.2551, allocations: 75.95 kB / 0.6838 GB, free: 8.375 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4999/0.755, allocations: 97 MB / 0.7785 GB, free: 32.18 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.7551, allocations: 0 / 0.7785 GB, free: 32.18 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002473/0.7553, allocations: 87.94 kB / 0.7786 GB, free: 32.09 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.01574/0.7711, allocations: 5.805 MB / 0.7842 GB, free: 26.21 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.225e-05/0.7711, allocations: 8.031 kB / 0.7843 GB, free: 26.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01631/0.7875, allocations: 2.783 MB / 0.787 GB, free: 23.41 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004881/0.7924, allocations: 2.249 MB / 0.7892 GB, free: 21.09 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007591/0.7932, allocations: 0.8714 MB / 0.79 GB, free: 20.08 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00106/0.7942, allocations: 200 kB / 0.7902 GB, free: 19.88 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006492/0.8007, allocations: 3.443 MB / 0.7936 GB, free: 16.44 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006317/0.8071, allocations: 3.621 MB / 0.7971 GB, free: 12.79 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-05/0.8072, allocations: 3.984 kB / 0.7971 GB, free: 12.79 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000336/0.8075, allocations: 0 / 0.7971 GB, free: 12.79 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.455e-05/0.8076, allocations: 84 kB / 0.7972 GB, free: 12.7 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.03437/0.842, allocations: 18.13 MB / 0.8149 GB, free: 9.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/0.8529, allocations: 4.725 MB / 0.8195 GB, free: 4.602 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003885/0.8569, allocations: 2.132 MB / 0.8216 GB, free: 2.461 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005141/0.8574, allocations: 70.92 kB / 0.8217 GB, free: 2.391 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004651/0.8621, allocations: 2.504 MB / 0.8241 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=385): time 6.923e-06/0.8621, allocations: 0 / 0.8241 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=385): time 0.05389/0.916, allocations: 17.32 MB / 0.841 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.9161, allocations: 149.9 kB / 0.8412 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004237/0.9204, allocations: 2.476 MB / 0.8436 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000913/0.9213, allocations: 25.7 kB / 0.8436 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001521/0.9229, allocations: 2.002 MB / 0.8456 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00191/0.9248, allocations: 1.258 MB / 0.8468 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002861/0.9251, allocations: 0 / 0.8468 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002513/0.9253, allocations: 449.8 kB / 0.8472 GB, free: 8.035 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003148/0.9285, allocations: 1.781 MB / 0.849 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003417/0.9319, allocations: 2.35 MB / 0.8513 GB, free: 3.707 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003084/0.935, allocations: 1.973 MB / 0.8532 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.61e-05/0.935, allocations: 4 kB / 0.8532 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.05236/0.9874, allocations: 17.43 MB / 0.8702 GB, free: 240 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.48e-05/0.9875, allocations: 63.41 kB / 0.8703 GB, free: 164 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-05/0.9876, allocations: 15.95 kB / 0.8703 GB, free: 148 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02433/1.012, allocations: 6.985 MB / 0.8771 GB, free: 9.145 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003001/1.015, allocations: 0.5538 MB / 0.8777 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.371/1.386, allocations: 26.56 MB / 0.9036 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006642/1.393, allocations: 0.628 MB / 0.9042 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001059/1.394, allocations: 137.8 kB / 0.9043 GB, free: 110.5 MB / 0.5573 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 330 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.001064/1.395, allocations: 200 kB / 0.9045 GB, free: 110.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001536/1.396, allocations: 459.9 kB / 0.905 GB, free: 110.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05152/1.448, allocations: 17.78 MB / 0.9223 GB, free: 110 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.869e-05/1.448, allocations: 37.47 kB / 0.9224 GB, free: 110 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-05/1.448, allocations: 30.88 kB / 0.9224 GB, free: 110 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.059e-05/1.448, allocations: 21.94 kB / 0.9224 GB, free: 110 MB / 0.5573 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.05479/1.503, allocations: 22.44 MB / 0.9443 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.141e-05/1.503, allocations: 0 / 0.9443 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002362/1.505, allocations: 400.3 kB / 0.9447 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02108/1.526, allocations: 6.962 MB / 0.9515 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008919/1.527, allocations: 19.2 kB / 0.9515 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0496/1.577, allocations: 24.19 MB / 0.9751 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/1.577, allocations: 7.547 kB / 0.9751 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05214/1.629, allocations: 20.67 MB / 0.9953 GB, free: 85.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/1.631, allocations: 0.565 MB / 0.9959 GB, free: 84.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001212/1.632, allocations: 0 / 0.9959 GB, free: 84.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004557/1.637, allocations: 439.3 kB / 0.9963 GB, free: 84.57 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002722/1.639, allocations: 0.7803 MB / 0.9971 GB, free: 84.15 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003523/1.64, allocations: 102.9 kB / 0.9972 GB, free: 84.06 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00246/1.642, allocations: 1.837 MB / 0.999 GB, free: 82.38 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.9e-07/1.642, allocations: 0 / 0.999 GB, free: 82.38 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005349/1.648, allocations: 1.597 MB / 1.001 GB, free: 80.85 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (249): * Single equations (assignments): 246 * 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.0005115/1.648, allocations: 154.1 kB / 1.001 GB, free: 80.73 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01899/1.667, allocations: 8.122 MB / 1.009 GB, free: 73.34 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.545e-06/1.667, allocations: 1.875 kB / 1.009 GB, free: 73.34 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01671/1.684, allocations: 5.995 MB / 1.014 GB, free: 68.09 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002929/1.687, allocations: 241.8 kB / 1.015 GB, free: 67.86 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/1.697, allocations: 5.93 MB / 1.02 GB, free: 62.48 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001505/1.699, allocations: 2.549 MB / 1.023 GB, free: 60.58 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001718/1.701, allocations: 294.1 kB / 1.023 GB, free: 60.38 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008131/1.701, allocations: 200.2 kB / 1.023 GB, free: 60.2 MB / 0.5573 GB Notification: Performance of SimCode: time 9.52e-07/1.701, allocations: 0 / 1.023 GB, free: 60.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.09826/1.8, allocations: 73.06 MB / 1.095 GB, free: 13.77 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)