Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.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_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009921/0.0009922, allocations: 169.3 kB / 7.64 MB, free: 1.414 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.353/1.353, allocations: 205.3 MB / 213.4 MB, free: 13.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008464/0.0008464, allocations: 80.72 kB / 261.4 MB, free: 13.45 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.07354/0.07354, allocations: 12.6 MB / 321.9 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3519/0.3519, allocations: 78.06 MB / 450.8 MB, free: 3.012 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.299e-05/1.303e-05, allocations: 4 kB / 0.5147 GB, free: 29.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1264, allocations: 69.33 MB / 0.5824 GB, free: 8.387 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4077/0.5342, allocations: 103.3 MB / 0.6833 GB, free: 4.727 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.5345, allocations: 83.88 kB / 0.6834 GB, free: 4.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2433/0.7778, allocations: 95.68 MB / 0.7768 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7778, allocations: 0 / 0.7768 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004664/0.7783, allocations: 95.88 kB / 0.7769 GB, free: 15.45 MB / 0.5105 GB 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.01985/0.7982, allocations: 5.782 MB / 0.7825 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.7982, allocations: 12.03 kB / 0.7825 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01739/0.8156, allocations: 2.787 MB / 0.7853 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006115/0.8218, allocations: 2.283 MB / 0.7875 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001009/0.8228, allocations: 0.8423 MB / 0.7883 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001341/0.8242, allocations: 204 kB / 0.7885 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007971/0.8322, allocations: 3.451 MB / 0.7919 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008511/0.8407, allocations: 3.602 MB / 0.7954 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.795e-05/0.8408, allocations: 4 kB / 0.7954 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005631/0.8414, allocations: 3.953 kB / 0.7954 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.601e-05/0.8415, allocations: 84 kB / 0.7955 GB, free: 12.08 MB / 0.5261 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.03692/0.8784, allocations: 18.2 MB / 0.8133 GB, free: 8.715 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/0.8892, allocations: 4.678 MB / 0.8178 GB, free: 3.949 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00361/0.8928, allocations: 2.128 MB / 0.8199 GB, free: 1.812 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005977/0.8935, allocations: 74.88 kB / 0.82 GB, free: 1.738 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.737e-05/0.8935, allocations: 77.5 kB / 0.82 GB, free: 1.652 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=382): time 5.67e-06/0.8935, allocations: 0 / 0.82 GB, free: 1.652 MB / 0.5417 GB Notification: Performance of matching and sorting (n=382): time 0.05258/0.9461, allocations: 17.18 MB / 0.8368 GB, free: 428 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.877e-05/0.9463, allocations: 172.5 kB / 0.837 GB, free: 224 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005519/0.9518, allocations: 2.476 MB / 0.8394 GB, free: 13.73 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.000974/0.9528, allocations: 25.7 kB / 0.8394 GB, free: 13.7 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001816/0.9546, allocations: 2.014 MB / 0.8414 GB, free: 11.66 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002207/0.9569, allocations: 1.254 MB / 0.8426 GB, free: 10.39 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007844/0.9577, allocations: 0 / 0.8426 GB, free: 10.39 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003496/0.958, allocations: 445.6 kB / 0.8431 GB, free: 9.949 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003682/0.9617, allocations: 1.773 MB / 0.8448 GB, free: 8.176 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004035/0.9658, allocations: 2.329 MB / 0.8471 GB, free: 5.645 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003782/0.9696, allocations: 1.961 MB / 0.849 GB, free: 3.672 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-05/0.9696, allocations: 7.938 kB / 0.849 GB, free: 3.664 MB / 0.573 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.05336/1.023, allocations: 17.35 MB / 0.8659 GB, free: 2.262 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.2736/1.297, allocations: 6.674 MB / 0.8724 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.717e-05/1.297, allocations: 15.22 kB / 0.8725 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02397/1.321, allocations: 6.925 MB / 0.8792 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002886/1.324, allocations: 0.5392 MB / 0.8797 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05958/1.383, allocations: 26.37 MB / 0.9055 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006058/1.389, allocations: 0.6254 MB / 0.9061 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000956/1.39, allocations: 127.8 kB / 0.9062 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/1.39, allocations: 5.469 kB / 0.9062 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0462/1.437, allocations: 16.86 MB / 0.9227 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.247e-05/1.437, allocations: 14.81 kB / 0.9227 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02132/1.458, allocations: 6.921 MB / 0.9295 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002624/1.461, allocations: 0.5289 MB / 0.93 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05105/1.512, allocations: 26.37 MB / 0.9557 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005389/1.517, allocations: 0.5898 MB / 0.9563 GB, free: 109.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006335/1.518, allocations: 133.4 kB / 0.9564 GB, free: 109.2 MB / 0.5886 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.0008865/1.519, allocations: 203.4 kB / 0.9566 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001062/1.52, allocations: 454.6 kB / 0.9571 GB, free: 108.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04719/1.567, allocations: 17.64 MB / 0.9743 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.681e-05/1.567, allocations: 36 kB / 0.9743 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.751e-05/1.567, allocations: 28 kB / 0.9744 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.734e-05/1.567, allocations: 20.2 kB / 0.9744 GB, free: 101.5 MB / 0.5886 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.05395/1.621, allocations: 22.6 MB / 0.9965 GB, free: 84.51 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/1.621, allocations: 4 kB / 0.9965 GB, free: 84.51 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002342/1.624, allocations: 408.2 kB / 0.9968 GB, free: 84.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02022/1.644, allocations: 6.876 MB / 1.004 GB, free: 78.86 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008422/1.645, allocations: 23.56 kB / 1.004 GB, free: 78.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04408/1.689, allocations: 22.31 MB / 1.025 GB, free: 59.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/1.689, allocations: 0 / 1.025 GB, free: 59.15 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05099/1.74, allocations: 20.51 MB / 1.045 GB, free: 42.34 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/1.741, allocations: 0.5626 MB / 1.046 GB, free: 41.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009185/1.742, allocations: 3.703 kB / 1.046 GB, free: 41.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004294/1.747, allocations: 434.2 kB / 1.046 GB, free: 41.52 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002586/1.749, allocations: 0.7756 MB / 1.047 GB, free: 41.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003453/1.749, allocations: 91.84 kB / 1.047 GB, free: 41.01 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002455/1.752, allocations: 1.839 MB / 1.049 GB, free: 39.33 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.81e-07/1.752, allocations: 0 / 1.049 GB, free: 39.33 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00767/1.76, allocations: 2.639 MB / 1.052 GB, free: 36.82 MB / 0.5886 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.0005829/1.76, allocations: 152.4 kB / 1.052 GB, free: 36.67 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03531/1.796, allocations: 14.29 MB / 1.066 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.796, allocations: 0 / 1.066 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01633/1.812, allocations: 5.846 MB / 1.071 GB, free: 18.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002859/1.815, allocations: 247.4 kB / 1.072 GB, free: 18.37 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/1.826, allocations: 6.06 MB / 1.078 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/1.827, allocations: 2.603 MB / 1.08 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002905/1.83, allocations: 0.6106 MB / 1.081 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006377/1.831, allocations: 173.3 kB / 1.081 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of SimCode: time 4.7e-07/1.831, allocations: 4 kB / 1.081 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of Templates: time 0.408/2.239, allocations: 105 MB / 1.183 GB, free: 110.2 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)