Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008275/0.008275, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.321/1.321, allocations: 223.2 MB / 239 MB, free: 68 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008063/0.0008064, allocations: 98.36 kB / 290.2 MB, free: 4.516 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4586/0.4586, allocations: 78.57 MB / 419.9 MB, free: 36.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003522, allocations: 12 kB / 499.8 MB, free: 7.305 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1255, allocations: 69.36 MB / 0.5558 GB, free: 1.871 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3251/0.4506, allocations: 98.88 MB / 0.6524 GB, free: 3.273 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.4509, allocations: 80.55 kB / 0.6524 GB, free: 3.23 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0958/0.5467, allocations: 36.53 MB / 0.6881 GB, free: 15.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5467, allocations: 0 / 0.6881 GB, free: 15.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001132/0.5468, allocations: 28 kB / 0.6881 GB, free: 15.29 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.005642/0.5525, allocations: 1.989 MB / 0.6901 GB, free: 13.24 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.5525, allocations: 8.031 kB / 0.6901 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003496/0.556, allocations: 0.568 MB / 0.6906 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/0.5579, allocations: 0.8238 MB / 0.6914 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002838/0.5582, allocations: 264.2 kB / 0.6917 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/0.5584, allocations: 75.91 kB / 0.6918 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/0.561, allocations: 1.141 MB / 0.6929 GB, free: 10.26 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.561, allocations: 0 / 0.6929 GB, free: 10.26 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.5611, allocations: 28 kB / 0.6929 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.5612, allocations: 20 kB / 0.6929 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002413/0.5636, allocations: 1.05 MB / 0.694 GB, free: 9.16 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.007336/0.5709, allocations: 3.789 MB / 0.6977 GB, free: 5.195 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00785/0.5788, allocations: 2.896 MB / 0.7005 GB, free: 2.207 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.579, allocations: 20.97 kB / 0.7005 GB, free: 2.188 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00184/0.5808, allocations: 0.8816 MB / 0.7014 GB, free: 1.289 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.276e-06/0.5809, allocations: 0 / 0.7014 GB, free: 1.289 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.03041/0.6113, allocations: 8.704 MB / 0.7099 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.6114, allocations: 115.8 kB / 0.71 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.6129, allocations: 0.921 MB / 0.7109 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.6131, allocations: 41.7 kB / 0.7109 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003715/0.6135, allocations: 0.5051 MB / 0.7114 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003615/0.6139, allocations: 339.1 kB / 0.7117 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.776e-05/0.6139, allocations: 20 kB / 0.7117 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.6141, allocations: 345.9 kB / 0.7121 GB, free: 6.191 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/0.6155, allocations: 0.6465 MB / 0.7127 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.6169, allocations: 0.7809 MB / 0.7135 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.6182, allocations: 0.7394 MB / 0.7142 GB, free: 3.973 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.6183, allocations: 4 kB / 0.7142 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01329/0.6316, allocations: 4.68 MB / 0.7188 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.773e-05/0.6317, allocations: 60.91 kB / 0.7188 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.6317, allocations: 4 kB / 0.7188 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006506/0.6382, allocations: 1.9 MB / 0.7207 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.6393, allocations: 187.7 kB / 0.7209 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02102/0.6603, allocations: 9.429 MB / 0.7301 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/0.662, allocations: 206.9 kB / 0.7303 GB, free: 3.332 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.6622, allocations: 39.98 kB / 0.7303 GB, free: 3.293 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 93 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.00063/0.6628, allocations: 285.9 kB / 0.7306 GB, free: 3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/0.663, allocations: 126.5 kB / 0.7307 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01404/0.6771, allocations: 4.725 MB / 0.7353 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.6771, allocations: 8 kB / 0.7353 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.6771, allocations: 11.98 kB / 0.7353 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.819e-05/0.6772, allocations: 8.547 kB / 0.7353 GB, free: 14.09 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01639/0.6936, allocations: 6.277 MB / 0.7415 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.6936, allocations: 0 / 0.7415 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007407/0.6944, allocations: 99.83 kB / 0.7416 GB, free: 7.609 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005868/0.7002, allocations: 1.864 MB / 0.7434 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002528/0.7005, allocations: 23.98 kB / 0.7434 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02095/0.7215, allocations: 10.14 MB / 0.7533 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.7215, allocations: 3.938 kB / 0.7533 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01567/0.7372, allocations: 5.654 MB / 0.7588 GB, free: 5.605 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004982/0.7378, allocations: 231.2 kB / 0.7591 GB, free: 5.359 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/0.738, allocations: 20 kB / 0.7591 GB, free: 5.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.7392, allocations: 143.9 kB / 0.7592 GB, free: 5.199 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000571/0.7398, allocations: 196.7 kB / 0.7594 GB, free: 5.008 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-05/0.7399, allocations: 28 kB / 0.7594 GB, free: 4.98 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001122/0.741, allocations: 0.7195 MB / 0.7601 GB, free: 4.254 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.741, allocations: 0 / 0.7601 GB, free: 4.254 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00131/0.7424, allocations: 435.5 kB / 0.7606 GB, free: 3.828 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * 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 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002914/0.7427, allocations: 155.8 kB / 0.7607 GB, free: 3.664 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005907/0.7486, allocations: 2.468 MB / 0.7631 GB, free: 1.16 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.7486, allocations: 4.75 kB / 0.7631 GB, free: 1.156 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004284/0.7529, allocations: 1.789 MB / 0.7649 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008492/0.7538, allocations: 107 kB / 0.765 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/0.7578, allocations: 2.661 MB / 0.7676 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006723/0.7584, allocations: 1.143 MB / 0.7687 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004446/0.7589, allocations: 98.75 kB / 0.7688 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.7591, allocations: 67.42 kB / 0.7688 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of SimCode: time 7.31e-07/0.7591, allocations: 0 / 0.7688 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.03075/0.7899, allocations: 20.51 MB / 0.7889 GB, free: 6.77 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)