Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_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_dev_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.001342/0.001342, allocations: 174.2 kB / 7.647 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.343/1.343, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.0008612/0.0008611, allocations: 103.5 kB / 280.5 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.4814/0.4814, allocations: 78.95 MB / 410.2 MB, free: 5.973 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.05e-05/2.08e-05, allocations: 4 kB / 485.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1671, allocations: 69.51 MB / 0.5424 GB, free: 5.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4047/0.5719, allocations: 97.66 MB / 0.6378 GB, free: 496 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.5722, allocations: 76.56 kB / 0.6379 GB, free: 420 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09346/0.6656, allocations: 32.97 MB / 0.6701 GB, free: 15.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6657, allocations: 4 kB / 0.6701 GB, free: 15.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001092/0.6658, allocations: 20 kB / 0.6701 GB, free: 15.41 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.005142/0.6709, allocations: 1.569 MB / 0.6716 GB, free: 13.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.671, allocations: 8.031 kB / 0.6716 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003747/0.6748, allocations: 0.5487 MB / 0.6722 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/0.6766, allocations: 0.7044 MB / 0.6729 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003492/0.677, allocations: 244.2 kB / 0.6731 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002622/0.6773, allocations: 51.83 kB / 0.6731 GB, free: 12.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001743/0.679, allocations: 0.7538 MB / 0.6739 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.681, allocations: 0.8865 MB / 0.6747 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.6811, allocations: 0 / 0.6747 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.583e-05/0.6812, allocations: 4 kB / 0.6748 GB, free: 10.49 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/0.6812, allocations: 16 kB / 0.6748 GB, free: 10.48 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.007662/0.6889, allocations: 3.42 MB / 0.6781 GB, free: 6.879 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007399/0.6963, allocations: 2.529 MB / 0.6806 GB, free: 4.258 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009001/0.6972, allocations: 0.4922 MB / 0.6811 GB, free: 3.762 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.6974, allocations: 16.72 kB / 0.6811 GB, free: 3.746 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.6974, allocations: 47.33 kB / 0.6811 GB, free: 3.691 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 3.166e-06/0.6974, allocations: 4.844 kB / 0.6811 GB, free: 3.688 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01255/0.71, allocations: 3.844 MB / 0.6849 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.7102, allocations: 93.88 kB / 0.685 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.7116, allocations: 0.7209 MB / 0.6857 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002207/0.7119, allocations: 29.69 kB / 0.6857 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004037/0.7123, allocations: 476.8 kB / 0.6862 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004627/0.7128, allocations: 291.6 kB / 0.6864 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.361e-05/0.7129, allocations: 0 / 0.6864 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.713, allocations: 341.9 kB / 0.6868 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006887/0.7137, allocations: 375.4 kB / 0.6871 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007896/0.7145, allocations: 0.5419 MB / 0.6876 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008018/0.7153, allocations: 430.7 kB / 0.6881 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.7153, allocations: 0 / 0.6881 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.01237/0.7277, allocations: 3.819 MB / 0.6918 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.7278, allocations: 8 kB / 0.6918 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.7278, allocations: 4 kB / 0.6918 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005411/0.7332, allocations: 1.445 MB / 0.6932 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007646/0.734, allocations: 149.2 kB / 0.6934 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01427/0.7483, allocations: 6.385 MB / 0.6996 GB, free: 500 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.7499, allocations: 151.3 kB / 0.6997 GB, free: 348 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/0.7501, allocations: 35.94 kB / 0.6998 GB, free: 312 kB / 0.4948 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "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 () * 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.0004253/0.7505, allocations: 142.4 kB / 0.6999 GB, free: 168 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/0.7516, allocations: 304.9 kB / 0.7002 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/0.7634, allocations: 3.771 MB / 0.7039 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/0.7635, allocations: 9.562 kB / 0.7039 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.65e-05/0.7635, allocations: 8 kB / 0.7039 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.85e-05/0.7635, allocations: 3.984 kB / 0.7039 GB, free: 12.05 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.01442/0.778, allocations: 5.071 MB / 0.7088 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/0.778, allocations: 4 kB / 0.7089 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007103/0.7787, allocations: 107.8 kB / 0.709 GB, free: 6.766 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004917/0.7837, allocations: 1.446 MB / 0.7104 GB, free: 5.312 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002002/0.7839, allocations: 11.98 kB / 0.7104 GB, free: 5.301 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01448/0.7984, allocations: 8.68 MB / 0.7189 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/0.7984, allocations: 4 kB / 0.7189 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/0.8125, allocations: 4.635 MB / 0.7234 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005145/0.813, allocations: 203.5 kB / 0.7236 GB, free: 7.434 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004045/0.8135, allocations: 4 kB / 0.7236 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.8148, allocations: 103.9 kB / 0.7237 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005926/0.8154, allocations: 180.4 kB / 0.7239 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.8155, allocations: 23.98 kB / 0.7239 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009926/0.8165, allocations: 0.5567 MB / 0.7244 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8166, allocations: 4 kB / 0.7244 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001863/0.8184, allocations: 363.5 kB / 0.7248 GB, free: 6.203 MB / 0.5261 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 () * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {3 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004097/0.8188, allocations: 119.2 kB / 0.7249 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004808/0.8237, allocations: 1.763 MB / 0.7266 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.8237, allocations: 1.219 kB / 0.7266 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003669/0.8274, allocations: 1.278 MB / 0.7279 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.8289, allocations: 325.8 kB / 0.7282 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003568/0.8325, allocations: 1.525 MB / 0.7297 GB, free: 1.137 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007434/0.8332, allocations: 1.1 MB / 0.7307 GB, free: 8 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003891/0.8336, allocations: 73.94 kB / 0.7308 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/0.8339, allocations: 59.36 kB / 0.7309 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of SimCode: time 5.21e-07/0.8339, allocations: 4 kB / 0.7309 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of Templates: time 0.02903/0.8629, allocations: 16.94 MB / 0.7474 GB, free: 15.09 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1)