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.001484/0.001484, allocations: 172 kB / 12.73 MB, free: 2.586 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.366/1.366, 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.0008075/0.0008075, allocations: 103.7 kB / 285.6 MB, free: 13.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4303/0.4303, allocations: 78.07 MB / 414.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.724e-05/3.741e-05, allocations: 0 / 491.8 MB, free: 14.1 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3142, allocations: 69.35 MB / 0.548 GB, free: 20.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.4384, allocations: 102.8 MB / 0.6483 GB, free: 13.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.4387, allocations: 75.95 kB / 0.6484 GB, free: 13.73 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5212/0.9599, allocations: 101.4 MB / 0.7475 GB, free: 60.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.9599, allocations: 0 / 0.7475 GB, free: 60.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002507/0.9602, allocations: 91.94 kB / 0.7476 GB, free: 60.39 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.01671/0.9769, allocations: 5.799 MB / 0.7532 GB, free: 54.51 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.977, allocations: 11.97 kB / 0.7532 GB, free: 54.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01747/0.9945, allocations: 2.779 MB / 0.7559 GB, free: 51.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005798/1, allocations: 2.265 MB / 0.7582 GB, free: 49.37 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001183/1.002, allocations: 0.9847 MB / 0.7591 GB, free: 48.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001787/1.003, allocations: 347.9 kB / 0.7595 GB, free: 47.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0132/1.017, allocations: 4.104 MB / 0.7635 GB, free: 43.78 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-05/1.017, allocations: 0 / 0.7635 GB, free: 43.78 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006981/1.017, allocations: 151.9 kB / 0.7636 GB, free: 43.63 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.189e-05/1.017, allocations: 84 kB / 0.7637 GB, free: 43.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008755/1.026, allocations: 3.625 MB / 0.7672 GB, free: 39.92 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.03864/1.065, allocations: 18.68 MB / 0.7855 GB, free: 20.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/1.075, allocations: 4.834 MB / 0.7902 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004098/1.079, allocations: 2.239 MB / 0.7924 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005635/1.08, allocations: 70.92 kB / 0.7924 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004296/1.084, allocations: 2.627 MB / 0.795 GB, free: 10.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=385): time 6.372e-06/1.084, allocations: 0 / 0.795 GB, free: 10.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=385): time 0.05166/1.136, allocations: 17.6 MB / 0.8122 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.86e-05/1.136, allocations: 141.8 kB / 0.8123 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004495/1.141, allocations: 2.694 MB / 0.815 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009275/1.142, allocations: 89.73 kB / 0.8151 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001368/1.143, allocations: 2.002 MB / 0.817 GB, free: 3.496 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001697/1.145, allocations: 1.317 MB / 0.8183 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002893/1.145, allocations: 76 kB / 0.8184 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001951/1.145, allocations: 437.8 kB / 0.8188 GB, free: 1.652 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00324/1.148, allocations: 1.859 MB / 0.8206 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003726/1.152, allocations: 2.43 MB / 0.823 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003844/1.156, allocations: 2.124 MB / 0.825 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.8e-05/1.156, allocations: 4 kB / 0.825 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.05426/1.21, allocations: 17.84 MB / 0.8425 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.661e-05/1.21, allocations: 71.33 kB / 0.8425 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.533e-05/1.21, allocations: 16 kB / 0.8426 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02476/1.235, allocations: 7.056 MB / 0.8494 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002967/1.238, allocations: 0.55 MB / 0.85 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06044/1.299, allocations: 27.12 MB / 0.8765 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005875/1.305, allocations: 0.7112 MB / 0.8772 GB, free: 5.238 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006876/1.305, allocations: 128 kB / 0.8773 GB, free: 5.113 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.000926/1.306, allocations: 338.9 kB / 0.8776 GB, free: 4.77 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001222/1.307, allocations: 458.3 kB / 0.8781 GB, free: 4.316 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05356/1.361, allocations: 18.17 MB / 0.8958 GB, free: 2.078 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.724e-05/1.361, allocations: 40 kB / 0.8958 GB, free: 2.039 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.207e-05/1.361, allocations: 28 kB / 0.8959 GB, free: 2.012 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001086/1.361, allocations: 23.88 kB / 0.8959 GB, free: 1.988 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.4128/1.774, allocations: 23.17 MB / 0.9185 GB, free: 135.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-05/1.774, allocations: 0 / 0.9185 GB, free: 135.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002492/1.777, allocations: 396.3 kB / 0.9189 GB, free: 135.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02112/1.798, allocations: 7.027 MB / 0.9257 GB, free: 135.1 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008914/1.799, allocations: 71.28 kB / 0.9258 GB, free: 135.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05198/1.851, allocations: 24.52 MB / 0.9498 GB, free: 128.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.851, allocations: 0 / 0.9498 GB, free: 128.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05483/1.906, allocations: 21.02 MB / 0.9703 GB, free: 118.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001918/1.908, allocations: 0.567 MB / 0.9708 GB, free: 117.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001722/1.909, allocations: 71.61 kB / 0.9709 GB, free: 117.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005332/1.915, allocations: 495.9 kB / 0.9714 GB, free: 117.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003283/1.918, allocations: 0.7856 MB / 0.9722 GB, free: 116.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000647/1.919, allocations: 91.7 kB / 0.9722 GB, free: 116.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003152/1.922, allocations: 2.042 MB / 0.9742 GB, free: 114.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.922, allocations: 0 / 0.9742 GB, free: 114.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006112/1.928, allocations: 1.776 MB / 0.976 GB, free: 113.1 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.0007733/1.929, allocations: 217.9 kB / 0.9762 GB, free: 112.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0208/1.95, allocations: 8.389 MB / 0.9844 GB, free: 105.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.95, allocations: 0 / 0.9844 GB, free: 105.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01708/1.967, allocations: 6.153 MB / 0.9904 GB, free: 99.82 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002739/1.969, allocations: 311.7 kB / 0.9907 GB, free: 99.52 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/1.98, allocations: 6.071 MB / 0.9966 GB, free: 93.99 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/1.982, allocations: 2.55 MB / 0.9991 GB, free: 92.09 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001657/1.984, allocations: 298.6 kB / 0.9994 GB, free: 91.88 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008748/1.984, allocations: 197 kB / 0.9996 GB, free: 91.71 MB / 0.573 GB Notification: Performance of SimCode: time 1.322e-06/1.984, allocations: 0 / 0.9996 GB, free: 91.71 MB / 0.573 GB Notification: Performance of Templates: time 0.1111/2.096, allocations: 78.9 MB / 1.077 GB, free: 25.99 MB / 0.573 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)