Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.001221/0.001221, allocations: 171.4 kB / 7.641 MB, free: 1.414 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.306/1.306, allocations: 221.5 MB / 229.6 MB, free: 7.559 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.0008441/0.0008441, allocations: 89.72 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.442/0.442, allocations: 78.06 MB / 409.3 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.733e-05/1.736e-05, allocations: 4 kB / 484.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1437, allocations: 69.37 MB / 0.5413 GB, free: 6.801 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3678/0.5115, allocations: 96.97 MB / 0.636 GB, free: 2.574 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.5118, allocations: 82.2 kB / 0.6361 GB, free: 2.496 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08438/0.5962, allocations: 32.36 MB / 0.6677 GB, free: 2.129 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.5962, allocations: 0 / 0.6677 GB, free: 2.129 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.21e-05/0.5963, allocations: 20 kB / 0.6677 GB, free: 2.109 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.003854/0.6001, allocations: 1.581 MB / 0.6692 GB, free: 496 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.6002, allocations: 8.031 kB / 0.6692 GB, free: 488 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003155/0.6033, allocations: 0.5526 MB / 0.6698 GB, free: 15.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.6045, allocations: 0.7006 MB / 0.6705 GB, free: 15.17 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002903/0.6048, allocations: 242.4 kB / 0.6707 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.6049, allocations: 47.84 kB / 0.6707 GB, free: 14.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001316/0.6063, allocations: 0.7538 MB / 0.6715 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.6078, allocations: 0.8894 MB / 0.6723 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.6078, allocations: 4 kB / 0.6723 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.416e-05/0.6079, allocations: 3.984 kB / 0.6723 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.6079, allocations: 16 kB / 0.6724 GB, free: 13.16 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.005659/0.6136, allocations: 3.393 MB / 0.6757 GB, free: 9.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007115/0.6207, allocations: 2.538 MB / 0.6782 GB, free: 6.961 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007559/0.6215, allocations: 0.4902 MB / 0.6786 GB, free: 6.469 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.6216, allocations: 12.77 kB / 0.6786 GB, free: 6.457 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.6216, allocations: 43.56 kB / 0.6787 GB, free: 6.406 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 2.585e-06/0.6216, allocations: 3.938 kB / 0.6787 GB, free: 6.402 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01267/0.6343, allocations: 3.856 MB / 0.6825 GB, free: 2.527 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.791e-05/0.6344, allocations: 89.89 kB / 0.6825 GB, free: 2.422 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.6355, allocations: 0.7171 MB / 0.6832 GB, free: 1.688 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.6357, allocations: 26.27 kB / 0.6833 GB, free: 1.656 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000332/0.636, allocations: 484.7 kB / 0.6837 GB, free: 1.176 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003487/0.6364, allocations: 291.7 kB / 0.684 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.699e-05/0.6364, allocations: 0 / 0.684 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.6366, allocations: 341.9 kB / 0.6843 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005687/0.6371, allocations: 370.6 kB / 0.6847 GB, free: 192 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007309/0.6379, allocations: 0.5471 MB / 0.6852 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006323/0.6385, allocations: 430.7 kB / 0.6856 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.6385, allocations: 4 kB / 0.6856 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.01155/0.6501, allocations: 3.824 MB / 0.6894 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.6501, allocations: 8 kB / 0.6894 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.6502, allocations: 8 kB / 0.6894 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004819/0.655, allocations: 1.441 MB / 0.6908 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007039/0.6557, allocations: 147.8 kB / 0.6909 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01232/0.6681, allocations: 6.384 MB / 0.6972 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.6694, allocations: 147.3 kB / 0.6973 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.919e-05/0.6695, allocations: 36 kB / 0.6973 GB, free: 3.008 MB / 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.0003036/0.6698, allocations: 127.4 kB / 0.6975 GB, free: 2.879 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000792/0.6706, allocations: 307.1 kB / 0.6978 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/0.6814, allocations: 3.771 MB / 0.7014 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.6814, allocations: 12 kB / 0.7014 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/0.6814, allocations: 8 kB / 0.7015 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/0.6814, allocations: 7.938 kB / 0.7015 GB, free: 14.75 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.01287/0.6943, allocations: 5.059 MB / 0.7064 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.6943, allocations: 3.984 kB / 0.7064 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006207/0.695, allocations: 111.8 kB / 0.7065 GB, free: 9.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004468/0.6995, allocations: 1.441 MB / 0.7079 GB, free: 8.035 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.621e-05/0.6996, allocations: 11.98 kB / 0.7079 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01296/0.7125, allocations: 8.686 MB / 0.7164 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/0.7126, allocations: 4 kB / 0.7164 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01267/0.7252, allocations: 4.635 MB / 0.7209 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003993/0.7257, allocations: 211.5 kB / 0.7211 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002136/0.7259, allocations: 0 / 0.7211 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.727, allocations: 107.9 kB / 0.7213 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004681/0.7274, allocations: 173.2 kB / 0.7214 GB, free: 9.871 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-05/0.7275, allocations: 27.98 kB / 0.7214 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008674/0.7284, allocations: 0.5529 MB / 0.722 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7284, allocations: 0 / 0.722 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001535/0.73, allocations: 367.5 kB / 0.7223 GB, free: 8.922 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 {(19,24.4%) 13} * Non-linear torn systems: 1 {3 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003717/0.7303, allocations: 132.4 kB / 0.7225 GB, free: 8.785 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00446/0.7348, allocations: 1.768 MB / 0.7242 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7348, allocations: 0 / 0.7242 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003485/0.7383, allocations: 1.265 MB / 0.7254 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.7395, allocations: 325.8 kB / 0.7257 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/0.7425, allocations: 1.524 MB / 0.7272 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006042/0.7431, allocations: 1.096 MB / 0.7283 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003216/0.7434, allocations: 77.94 kB / 0.7284 GB, free: 2.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.7436, allocations: 59.42 kB / 0.7284 GB, free: 2.602 MB / 0.5261 GB Notification: Performance of SimCode: time 3.41e-07/0.7436, allocations: 0 / 0.7284 GB, free: 2.602 MB / 0.5261 GB Notification: Performance of Templates: time 0.02767/0.7713, allocations: 16.94 MB / 0.745 GB, free: 1.816 MB / 0.5417 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1)