Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, 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.392/1.392, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.0008925/0.0008925, allocations: 94.05 kB / 280.4 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4619/0.4619, allocations: 78.11 MB / 409.4 MB, free: 6.426 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.292e-05/1.29e-05, allocations: 3.938 kB / 485 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1159, allocations: 69.36 MB / 0.5413 GB, free: 6.941 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3679/0.4839, allocations: 98.75 MB / 0.6378 GB, free: 1 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.4842, allocations: 71.97 kB / 0.6378 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08618/0.5704, allocations: 32.21 MB / 0.6693 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.5705, allocations: 0 / 0.6693 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.134e-05/0.5705, allocations: 23.94 kB / 0.6693 GB, free: 0.7188 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004069/0.5746, allocations: 1.758 MB / 0.671 GB, free: 14.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.5746, allocations: 8.031 kB / 0.671 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003204/0.5779, allocations: 0.5641 MB / 0.6716 GB, free: 14.33 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.5791, allocations: 0.7942 MB / 0.6724 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000257/0.5793, allocations: 240.1 kB / 0.6726 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.5795, allocations: 47.91 kB / 0.6726 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001352/0.5808, allocations: 0.8201 MB / 0.6734 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.5822, allocations: 0.8485 MB / 0.6743 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.5823, allocations: 0 / 0.6743 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.389e-05/0.5823, allocations: 4 kB / 0.6743 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.5824, allocations: 16 kB / 0.6743 GB, free: 11.46 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.005977/0.5883, allocations: 3.756 MB / 0.6779 GB, free: 7.539 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007076/0.5954, allocations: 2.65 MB / 0.6805 GB, free: 4.797 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008008/0.5963, allocations: 0.5324 MB / 0.6811 GB, free: 4.262 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.5964, allocations: 16.7 kB / 0.6811 GB, free: 4.246 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009833/0.5974, allocations: 0.6609 MB / 0.6817 GB, free: 3.566 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 2.826e-06/0.5974, allocations: 0 / 0.6817 GB, free: 3.566 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.01195/0.6093, allocations: 3.966 MB / 0.6856 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.6094, allocations: 115.6 kB / 0.6857 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.6108, allocations: 0.8551 MB / 0.6865 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001972/0.611, allocations: 37.67 kB / 0.6866 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/0.6114, allocations: 0.5208 MB / 0.6871 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003688/0.6118, allocations: 338.9 kB / 0.6874 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.155e-05/0.6118, allocations: 3.938 kB / 0.6874 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.612, allocations: 350.5 kB / 0.6877 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007374/0.6127, allocations: 454.6 kB / 0.6882 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007995/0.6135, allocations: 0.5849 MB / 0.6887 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007981/0.6143, allocations: 0.5008 MB / 0.6892 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.6143, allocations: 4 kB / 0.6892 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01256/0.6269, allocations: 4.045 MB / 0.6932 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.735e-05/0.627, allocations: 63.41 kB / 0.6932 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.627, allocations: 4.844 kB / 0.6933 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005803/0.6328, allocations: 1.593 MB / 0.6948 GB, free: 6.004 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009963/0.6339, allocations: 187.7 kB / 0.695 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/0.6485, allocations: 7.879 MB / 0.7027 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/0.6503, allocations: 187 kB / 0.7029 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.6504, allocations: 39.98 kB / 0.7029 GB, free: 13.49 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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: 13 * 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 (99): * Single equations (assignments): 95 * 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 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003695/0.6508, allocations: 160.7 kB / 0.703 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002385/0.6511, allocations: 128.1 kB / 0.7032 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01225/0.6633, allocations: 4.079 MB / 0.7072 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/0.6634, allocations: 12 kB / 0.7072 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.6634, allocations: 4 kB / 0.7072 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.234e-05/0.6634, allocations: 7.984 kB / 0.7072 GB, free: 9.074 MB / 0.5105 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.01432/0.6778, allocations: 5.584 MB / 0.7126 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.6778, allocations: 8.031 kB / 0.7126 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007248/0.6785, allocations: 103.8 kB / 0.7127 GB, free: 3.285 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004805/0.6834, allocations: 1.485 MB / 0.7142 GB, free: 1.793 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/0.6835, allocations: 8 kB / 0.7142 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01375/0.6973, allocations: 7.532 MB / 0.7216 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.6973, allocations: 4 kB / 0.7216 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01352/0.7109, allocations: 4.84 MB / 0.7263 GB, free: 5.137 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005203/0.7114, allocations: 235.2 kB / 0.7265 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.7116, allocations: 6.188 kB / 0.7265 GB, free: 4.883 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.7129, allocations: 131.9 kB / 0.7266 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005619/0.7135, allocations: 196.9 kB / 0.7268 GB, free: 4.562 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-05/0.7136, allocations: 29.2 kB / 0.7269 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009243/0.7145, allocations: 0.6575 MB / 0.7275 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7145, allocations: 0 / 0.7275 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001339/0.7159, allocations: 403.5 kB / 0.7279 GB, free: 3.477 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,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 (66): * Single equations (assignments): 63 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002996/0.7162, allocations: 150.8 kB / 0.728 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005255/0.7215, allocations: 2.171 MB / 0.7301 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.7215, allocations: 0 / 0.7301 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003871/0.7254, allocations: 1.559 MB / 0.7317 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008469/0.7262, allocations: 94.81 kB / 0.7318 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003498/0.7297, allocations: 1.874 MB / 0.7336 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007047/0.7305, allocations: 1.159 MB / 0.7347 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004572/0.7309, allocations: 98.75 kB / 0.7348 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/0.7312, allocations: 67.42 kB / 0.7349 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of SimCode: time 5.21e-07/0.7312, allocations: 0 / 0.7349 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of Templates: time 0.04655/0.7777, allocations: 19.64 MB / 0.7541 GB, free: 8.723 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)