Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.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_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001553/0.001554, allocations: 174.7 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.301/1.301, 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.0009074/0.0009075, allocations: 99.2 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.43/0.43, allocations: 78.08 MB / 414.6 MB, free: 11.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.111e-05/3.113e-05, allocations: 0 / 491.8 MB, free: 14.08 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3095, allocations: 69.33 MB / 0.548 GB, free: 20.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1171/0.4267, allocations: 102.4 MB / 0.648 GB, free: 14.19 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.4269, allocations: 75.95 kB / 0.648 GB, free: 14.11 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5184/0.9453, allocations: 100.1 MB / 0.7458 GB, free: 62.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.9454, allocations: 4 kB / 0.7458 GB, free: 62.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002467/0.9456, allocations: 91.88 kB / 0.7459 GB, free: 62.05 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01703/0.9627, allocations: 5.782 MB / 0.7515 GB, free: 56.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.9627, allocations: 11.97 kB / 0.7515 GB, free: 56.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01748/0.9802, allocations: 2.783 MB / 0.7542 GB, free: 53.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004954/0.9852, allocations: 2.287 MB / 0.7565 GB, free: 51.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006785/0.9859, allocations: 0.9595 MB / 0.7574 GB, free: 49.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007073/0.9866, allocations: 344 kB / 0.7577 GB, free: 49.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006492/0.9931, allocations: 4.104 MB / 0.7617 GB, free: 45.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.534e-05/0.9932, allocations: 3.906 kB / 0.7617 GB, free: 45.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003723/0.9936, allocations: 147.9 kB / 0.7619 GB, free: 45.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.011e-05/0.9937, allocations: 84 kB / 0.762 GB, free: 45.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005682/0.9993, allocations: 3.624 MB / 0.7655 GB, free: 41.6 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.03034/1.03, allocations: 18.74 MB / 0.7838 GB, free: 21.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009067/1.039, allocations: 4.789 MB / 0.7885 GB, free: 16.79 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003135/1.042, allocations: 2.241 MB / 0.7907 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004053/1.042, allocations: 74.86 kB / 0.7907 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/1.042, allocations: 73.55 kB / 0.7908 GB, free: 14.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=382): time 5.45e-06/1.042, allocations: 0 / 0.7908 GB, free: 14.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=382): time 0.04884/1.091, allocations: 17.47 MB / 0.8079 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.586e-05/1.091, allocations: 175.4 kB / 0.808 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004896/1.096, allocations: 2.682 MB / 0.8107 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000984/1.097, allocations: 85.7 kB / 0.8107 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001684/1.099, allocations: 2.014 MB / 0.8127 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001887/1.101, allocations: 1.301 MB / 0.814 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002889/1.101, allocations: 72 kB / 0.814 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002024/1.101, allocations: 437.6 kB / 0.8145 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003151/1.105, allocations: 1.835 MB / 0.8163 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003473/1.108, allocations: 2.422 MB / 0.8186 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003387/1.111, allocations: 2.091 MB / 0.8207 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/1.111, allocations: 4 kB / 0.8207 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.05218/1.164, allocations: 17.76 MB / 0.838 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002055/1.166, allocations: 6.683 MB / 0.8445 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/1.166, allocations: 12 kB / 0.8445 GB, free: 6.383 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02442/1.19, allocations: 7.009 MB / 0.8514 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002944/1.193, allocations: 0.5344 MB / 0.8519 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06569/1.259, allocations: 26.94 MB / 0.8782 GB, free: 3.582 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006805/1.266, allocations: 0.6879 MB / 0.8789 GB, free: 2.891 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007527/1.267, allocations: 132 kB / 0.879 GB, free: 2.762 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/1.267, allocations: 8 kB / 0.879 GB, free: 2.754 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05214/1.319, allocations: 17.34 MB / 0.896 GB, free: 1.363 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.869e-05/1.319, allocations: 12 kB / 0.896 GB, free: 1.352 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3594/1.678, allocations: 6.998 MB / 0.9028 GB, free: 127.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002872/1.681, allocations: 0.5257 MB / 0.9033 GB, free: 127.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05763/1.739, allocations: 26.92 MB / 0.9296 GB, free: 124.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005545/1.744, allocations: 0.6631 MB / 0.9303 GB, free: 124.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003601/1.745, allocations: 133.5 kB / 0.9304 GB, free: 124.8 MB / 0.573 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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.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 (325): * Single equations (assignments): 321 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008255/1.746, allocations: 325 kB / 0.9307 GB, free: 124.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007378/1.746, allocations: 458.4 kB / 0.9311 GB, free: 124.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04908/1.796, allocations: 18.03 MB / 0.9487 GB, free: 121.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.455e-05/1.796, allocations: 34.41 kB / 0.9488 GB, free: 121.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.134e-05/1.796, allocations: 27.88 kB / 0.9488 GB, free: 121.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.913e-05/1.796, allocations: 22.41 kB / 0.9488 GB, free: 121.1 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.05952/1.855, allocations: 23.32 MB / 0.9716 GB, free: 114 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.238e-05/1.855, allocations: 3.625 kB / 0.9716 GB, free: 114 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002667/1.858, allocations: 411.4 kB / 0.972 GB, free: 113.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02173/1.88, allocations: 6.942 MB / 0.9788 GB, free: 108.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009835/1.881, allocations: 75.75 kB / 0.9788 GB, free: 108.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04822/1.929, allocations: 22.56 MB / 1.001 GB, free: 88.64 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.929, allocations: 0 / 1.001 GB, free: 88.64 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05607/1.985, allocations: 20.87 MB / 1.021 GB, free: 71.52 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001596/1.987, allocations: 0.5609 MB / 1.022 GB, free: 71.03 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008428/1.988, allocations: 67.94 kB / 1.022 GB, free: 70.96 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004353/1.992, allocations: 488.7 kB / 1.022 GB, free: 70.59 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00274/1.995, allocations: 0.7693 MB / 1.023 GB, free: 70.17 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002989/1.995, allocations: 103.6 kB / 1.023 GB, free: 70.07 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002488/1.998, allocations: 2.036 MB / 1.025 GB, free: 68.19 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.1e-07/1.998, allocations: 1.094 kB / 1.025 GB, free: 68.19 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006775/2.004, allocations: 2.89 MB / 1.028 GB, free: 65.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,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 (252): * Single equations (assignments): 250 * 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 {(98,5.5%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004799/2.005, allocations: 222 kB / 1.028 GB, free: 65.21 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03658/2.041, allocations: 14.76 MB / 1.043 GB, free: 51.82 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/2.041, allocations: 3.938 kB / 1.043 GB, free: 51.82 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01569/2.057, allocations: 5.992 MB / 1.048 GB, free: 46.53 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/2.06, allocations: 311.9 kB / 1.049 GB, free: 46.24 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/2.071, allocations: 6.203 MB / 1.055 GB, free: 40.58 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/2.072, allocations: 2.602 MB / 1.057 GB, free: 38.64 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002728/2.075, allocations: 0.6104 MB / 1.058 GB, free: 38.23 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006537/2.076, allocations: 179.1 kB / 1.058 GB, free: 38.07 MB / 0.573 GB Notification: Performance of SimCode: time 9.42e-07/2.076, allocations: 0 / 1.058 GB, free: 38.07 MB / 0.573 GB Notification: Performance of Templates: time 0.4972/2.573, allocations: 113.6 MB / 1.169 GB, free: 149.2 MB / 0.6042 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)