Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 221.5 MB / 229.6 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009057/0.0009057, allocations: 87.56 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4337/0.4337, allocations: 78.12 MB / 409.4 MB, free: 6.473 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.51e-05/1.504e-05, allocations: 4 kB / 485 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1106, allocations: 69.36 MB / 0.5413 GB, free: 6.953 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3524/0.4631, allocations: 102.1 MB / 0.641 GB, free: 13.62 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.4634, allocations: 80.48 kB / 0.6411 GB, free: 13.54 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3082/0.7716, allocations: 100.1 MB / 0.7389 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7716, allocations: 0 / 0.7389 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002182/0.7719, allocations: 87.94 kB / 0.7389 GB, free: 8.969 MB / 0.5417 GB 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.01693/0.7888, allocations: 5.798 MB / 0.7446 GB, free: 3.094 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.7888, allocations: 12.03 kB / 0.7446 GB, free: 3.082 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01772/0.8066, allocations: 2.772 MB / 0.7473 GB, free: 308 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005495/0.8121, allocations: 2.265 MB / 0.7495 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009034/0.813, allocations: 0.8688 MB / 0.7504 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008158/0.8139, allocations: 207.9 kB / 0.7506 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006646/0.8205, allocations: 3.451 MB / 0.7539 GB, free: 9.301 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007464/0.828, allocations: 3.602 MB / 0.7575 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.203e-05/0.8281, allocations: 3.938 kB / 0.7575 GB, free: 5.668 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003356/0.8284, allocations: 4 kB / 0.7575 GB, free: 5.664 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.643e-05/0.8285, allocations: 84 kB / 0.7576 GB, free: 5.582 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 preOpt removeSimpleEquations (simulation): time 0.3634/1.192, allocations: 18.13 MB / 0.7753 GB, free: 87.24 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00953/1.201, allocations: 4.72 MB / 0.7799 GB, free: 86.81 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003168/1.205, allocations: 2.136 MB / 0.782 GB, free: 86.78 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000421/1.205, allocations: 69.66 kB / 0.782 GB, free: 86.78 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003466/1.209, allocations: 2.501 MB / 0.7845 GB, free: 86.64 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=385): time 6.562e-06/1.209, allocations: 1.5 kB / 0.7845 GB, free: 86.64 MB / 0.5573 GB Notification: Performance of matching and sorting (n=385): time 0.05138/1.26, allocations: 17.32 MB / 0.8014 GB, free: 85.91 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.358e-05/1.26, allocations: 143.6 kB / 0.8015 GB, free: 85.78 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004288/1.264, allocations: 2.482 MB / 0.8039 GB, free: 85.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009635/1.265, allocations: 34.77 kB / 0.804 GB, free: 85.46 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001381/1.267, allocations: 1.996 MB / 0.8059 GB, free: 85.04 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001994/1.269, allocations: 1.265 MB / 0.8072 GB, free: 84.37 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000329/1.269, allocations: 0 / 0.8072 GB, free: 84.37 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002141/1.269, allocations: 442.3 kB / 0.8076 GB, free: 84.06 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003043/1.272, allocations: 1.783 MB / 0.8093 GB, free: 84.05 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003505/1.276, allocations: 2.341 MB / 0.8116 GB, free: 83.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003375/1.279, allocations: 1.98 MB / 0.8135 GB, free: 83.43 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.975e-05/1.279, allocations: 4.281 kB / 0.8135 GB, free: 83.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.05025/1.33, allocations: 17.43 MB / 0.8306 GB, free: 82.33 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.806e-05/1.33, allocations: 65.12 kB / 0.8306 GB, free: 82.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-05/1.33, allocations: 13.97 kB / 0.8306 GB, free: 82.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02306/1.353, allocations: 6.984 MB / 0.8375 GB, free: 81.85 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003114/1.356, allocations: 0.5501 MB / 0.838 GB, free: 81.85 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05527/1.411, allocations: 26.57 MB / 0.8639 GB, free: 70.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006445/1.418, allocations: 0.6302 MB / 0.8646 GB, free: 70.14 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006283/1.418, allocations: 135.9 kB / 0.8647 GB, free: 70.11 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.0008772/1.419, allocations: 205.8 kB / 0.8649 GB, free: 69.96 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000983/1.42, allocations: 452.1 kB / 0.8653 GB, free: 69.73 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04854/1.469, allocations: 17.79 MB / 0.8827 GB, free: 61.92 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.242e-05/1.469, allocations: 36 kB / 0.8827 GB, free: 61.89 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.433e-05/1.469, allocations: 28.66 kB / 0.8827 GB, free: 61.86 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000117/1.469, allocations: 17.95 kB / 0.8828 GB, free: 61.86 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.05416/1.523, allocations: 22.45 MB / 0.9047 GB, free: 44.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.317e-05/1.523, allocations: 0 / 0.9047 GB, free: 44.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002434/1.526, allocations: 391.2 kB / 0.9051 GB, free: 44.57 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0209/1.547, allocations: 6.963 MB / 0.9119 GB, free: 39.17 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001197/1.548, allocations: 27.27 kB / 0.9119 GB, free: 39.15 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04817/1.596, allocations: 24.18 MB / 0.9355 GB, free: 17.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.596, allocations: 0.7812 kB / 0.9355 GB, free: 17.55 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05293/1.649, allocations: 20.66 MB / 0.9557 GB, free: 0.5859 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001753/1.651, allocations: 0.5658 MB / 0.9562 GB, free: 32 kB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002044/1.653, allocations: 0.5 kB / 0.9562 GB, free: 32 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007621/1.661, allocations: 0.5708 MB / 0.9568 GB, free: 0 / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005094/1.666, allocations: 0.8814 MB / 0.9576 GB, free: 15.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008383/1.667, allocations: 93.69 kB / 0.9577 GB, free: 15.71 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00364/1.67, allocations: 1.849 MB / 0.9595 GB, free: 14.02 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.67, allocations: 0 / 0.9595 GB, free: 14.02 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00735/1.678, allocations: 1.595 MB / 0.9611 GB, free: 12.43 MB / 0.573 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.000758/1.679, allocations: 164.2 kB / 0.9613 GB, free: 12.27 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02227/1.701, allocations: 8.118 MB / 0.9692 GB, free: 4.629 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/1.701, allocations: 0 / 0.9692 GB, free: 4.629 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01839/1.719, allocations: 5.994 MB / 0.975 GB, free: 14.61 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/1.722, allocations: 250.1 kB / 0.9753 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/1.735, allocations: 5.921 MB / 0.9811 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002119/1.737, allocations: 2.548 MB / 0.9835 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001793/1.739, allocations: 296.8 kB / 0.9838 GB, free: 5.555 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000866/1.74, allocations: 199.4 kB / 0.984 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of SimCode: time 8.02e-07/1.74, allocations: 0 / 0.984 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of Templates: time 0.4049/2.145, allocations: 73.04 MB / 1.055 GB, free: 111.4 MB / 0.5886 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)