Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00434/0.004341, allocations: 169.5 kB / 15.11 MB, free: 5.582 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.201/1.201, allocations: 223.2 MB / 239 MB, free: 64 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.0008377/0.0008378, allocations: 96.56 kB / 290.2 MB, free: 4.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4191/0.4191, allocations: 78.58 MB / 419.9 MB, free: 36.37 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003816, allocations: 8 kB / 499.8 MB, free: 7.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1031, allocations: 69.36 MB / 0.5558 GB, free: 1.844 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2946/0.3977, allocations: 97.71 MB / 0.6512 GB, free: 4.457 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001874/0.398, allocations: 81.45 kB / 0.6513 GB, free: 4.414 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0825/0.4805, allocations: 32.85 MB / 0.6834 GB, free: 4.16 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.4805, allocations: 4 kB / 0.6834 GB, free: 4.156 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.463e-05/0.4806, allocations: 24 kB / 0.6834 GB, free: 4.133 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004209/0.4848, allocations: 1.821 MB / 0.6852 GB, free: 2.262 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.4848, allocations: 12.03 kB / 0.6852 GB, free: 2.25 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003163/0.488, allocations: 0.5577 MB / 0.6857 GB, free: 1.691 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.4891, allocations: 0.7045 MB / 0.6864 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002515/0.4894, allocations: 268.2 kB / 0.6867 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.4895, allocations: 67.91 kB / 0.6867 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/0.4918, allocations: 1.24 MB / 0.6879 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.4918, allocations: 0 / 0.6879 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.681e-05/0.4919, allocations: 32 kB / 0.688 GB, free: 15.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.4919, allocations: 16 kB / 0.688 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.4938, allocations: 1.016 MB / 0.689 GB, free: 14.23 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.005447/0.4993, allocations: 3.519 MB / 0.6924 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007727/0.507, allocations: 2.843 MB / 0.6952 GB, free: 7.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.5072, allocations: 20.64 kB / 0.6952 GB, free: 7.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.5072, allocations: 43.2 kB / 0.6953 GB, free: 7.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 3.035e-06/0.5072, allocations: 0 / 0.6953 GB, free: 7.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.02712/0.5343, allocations: 8.162 MB / 0.7032 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.949e-05/0.5345, allocations: 95.36 kB / 0.7033 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.5356, allocations: 0.8043 MB / 0.7041 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.5358, allocations: 41.7 kB / 0.7041 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/0.5361, allocations: 484.9 kB / 0.7046 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002709/0.5363, allocations: 299.6 kB / 0.7049 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.829e-05/0.5364, allocations: 16 kB / 0.7049 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.5365, allocations: 341.9 kB / 0.7052 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.5377, allocations: 0.5759 MB / 0.7058 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.5389, allocations: 0.7598 MB / 0.7065 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.5401, allocations: 0.6374 MB / 0.7072 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.5401, allocations: 0 / 0.7072 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.01286/0.553, allocations: 4.501 MB / 0.7116 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.553, allocations: 12.92 kB / 0.7116 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.5531, allocations: 4 kB / 0.7116 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005874/0.5589, allocations: 1.842 MB / 0.7134 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006717/0.5596, allocations: 147.8 kB / 0.7135 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01978/0.5794, allocations: 9.217 MB / 0.7225 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.5808, allocations: 167.3 kB / 0.7227 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.736e-05/0.5809, allocations: 36 kB / 0.7227 GB, free: 11.08 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 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 order4.delta:VARIABLE(start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004931/0.5814, allocations: 247.4 kB / 0.7229 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009508/0.5823, allocations: 366.4 kB / 0.7233 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/0.5945, allocations: 4.428 MB / 0.7276 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.5945, allocations: 8 kB / 0.7276 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.5945, allocations: 11.98 kB / 0.7276 GB, free: 6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.5945, allocations: 3.984 kB / 0.7276 GB, free: 5.996 MB / 0.5105 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.01389/0.6084, allocations: 5.807 MB / 0.7333 GB, free: 80 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-06/0.6085, allocations: 0 / 0.7333 GB, free: 80 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005896/0.6091, allocations: 111.8 kB / 0.7334 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005391/0.6145, allocations: 1.86 MB / 0.7352 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.828e-05/0.6146, allocations: 16 kB / 0.7352 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01917/0.6337, allocations: 11.21 MB / 0.7462 GB, free: 2.547 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6338, allocations: 3.953 kB / 0.7462 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01477/0.6486, allocations: 5.529 MB / 0.7516 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003899/0.649, allocations: 215.5 kB / 0.7518 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.6491, allocations: 19.95 kB / 0.7518 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009539/0.6501, allocations: 119.9 kB / 0.7519 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004733/0.6506, allocations: 176.7 kB / 0.7521 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-05/0.6506, allocations: 24 kB / 0.7521 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007967/0.6515, allocations: 0.6317 MB / 0.7527 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6515, allocations: 2.438 kB / 0.7527 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001088/0.6526, allocations: 407.5 kB / 0.7531 GB, free: 11.38 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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 {(19,24.4%) 13} * Non-linear torn systems: 1 {3 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002482/0.6528, allocations: 155.5 kB / 0.7533 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005372/0.6582, allocations: 2.255 MB / 0.7555 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6582, allocations: 0 / 0.7555 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003907/0.6621, allocations: 1.513 MB / 0.757 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.6632, allocations: 370.4 kB / 0.7573 GB, free: 7.059 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/0.6667, allocations: 2.419 MB / 0.7597 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/0.6672, allocations: 1.1 MB / 0.7608 GB, free: 3.492 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002943/0.6675, allocations: 74.03 kB / 0.7608 GB, free: 3.418 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.6677, allocations: 59.44 kB / 0.7609 GB, free: 3.359 MB / 0.5417 GB Notification: Performance of SimCode: time 3.51e-07/0.6677, allocations: 4 kB / 0.7609 GB, free: 3.355 MB / 0.5417 GB Notification: Performance of Templates: time 0.02571/0.6934, allocations: 18.38 MB / 0.7788 GB, free: 1.027 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1)