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.001455/0.001456, allocations: 180.9 kB / 7.651 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.843/1.843, allocations: 221.5 MB / 229.6 MB, free: 7.527 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.0008853/0.0008853, allocations: 85.73 kB / 280.5 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5279/0.5279, allocations: 78.12 MB / 409.4 MB, free: 6.461 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.333e-05/1.336e-05, allocations: 3.938 kB / 485 MB, free: 12.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1079, allocations: 69.36 MB / 0.5413 GB, free: 6.969 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3238/0.4317, allocations: 98.16 MB / 0.6372 GB, free: 1.602 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.432, allocations: 77.28 kB / 0.6373 GB, free: 1.527 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09879/0.5308, allocations: 36.02 MB / 0.6724 GB, free: 13.51 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.5309, allocations: 0 / 0.6724 GB, free: 13.51 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.009e-05/0.531, allocations: 24 kB / 0.6724 GB, free: 13.49 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.004051/0.535, allocations: 1.71 MB / 0.6741 GB, free: 11.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.5351, allocations: 8.031 kB / 0.6741 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00331/0.5384, allocations: 0.5602 MB / 0.6747 GB, free: 11.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.5397, allocations: 0.7893 MB / 0.6754 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002562/0.5399, allocations: 236.2 kB / 0.6757 GB, free: 10.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.5401, allocations: 47.91 kB / 0.6757 GB, free: 9.996 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001358/0.5414, allocations: 0.7967 MB / 0.6765 GB, free: 9.199 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.5429, allocations: 0.8329 MB / 0.6773 GB, free: 8.355 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.5429, allocations: 0 / 0.6773 GB, free: 8.355 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.663e-05/0.543, allocations: 3.984 kB / 0.6773 GB, free: 8.352 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.543, allocations: 26.31 kB / 0.6773 GB, free: 8.328 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.006368/0.5494, allocations: 3.644 MB / 0.6809 GB, free: 4.516 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007439/0.5568, allocations: 2.627 MB / 0.6835 GB, free: 1.789 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008708/0.5577, allocations: 0.5095 MB / 0.684 GB, free: 1.277 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.5579, allocations: 20.75 kB / 0.684 GB, free: 1.258 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/0.5589, allocations: 0.642 MB / 0.6846 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.006e-06/0.5589, allocations: 0 / 0.6846 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01243/0.5714, allocations: 3.932 MB / 0.6884 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.5715, allocations: 115.6 kB / 0.6886 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.5727, allocations: 0.8067 MB / 0.6893 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001458/0.5729, allocations: 25.7 kB / 0.6894 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003595/0.5733, allocations: 0.5166 MB / 0.6899 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003336/0.5736, allocations: 335 kB / 0.6902 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.05e-05/0.5737, allocations: 0 / 0.6902 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.5738, allocations: 345.9 kB / 0.6905 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007093/0.5745, allocations: 442.6 kB / 0.6909 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007625/0.5753, allocations: 0.5575 MB / 0.6915 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007581/0.576, allocations: 494.2 kB / 0.692 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5761, allocations: 0 / 0.692 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01235/0.5884, allocations: 3.955 MB / 0.6958 GB, free: 4.977 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.699e-05/0.5885, allocations: 55.41 kB / 0.6959 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.5885, allocations: 9.125 kB / 0.6959 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00542/0.5939, allocations: 1.502 MB / 0.6973 GB, free: 3.398 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009492/0.5949, allocations: 187.7 kB / 0.6975 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/0.608, allocations: 6.557 MB / 0.7039 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.6098, allocations: 187 kB / 0.7041 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.61, allocations: 36.61 kB / 0.7041 GB, free: 12.32 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order4.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 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 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 (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.000376/0.6104, allocations: 161 kB / 0.7043 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/0.6106, allocations: 122.5 kB / 0.7044 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/0.6224, allocations: 4.032 MB / 0.7084 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.6225, allocations: 15.95 kB / 0.7084 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.6225, allocations: 4.938 kB / 0.7084 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/0.6225, allocations: 3.984 kB / 0.7084 GB, free: 7.953 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.01348/0.636, allocations: 5.497 MB / 0.7137 GB, free: 2.363 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.636, allocations: 4 kB / 0.7137 GB, free: 2.359 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00063/0.6367, allocations: 99.83 kB / 0.7138 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004824/0.6415, allocations: 1.473 MB / 0.7153 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001494/0.6417, allocations: 9.188 kB / 0.7153 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01324/0.6549, allocations: 7.539 MB / 0.7227 GB, free: 9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.655, allocations: 0 / 0.7227 GB, free: 9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/0.6682, allocations: 4.778 MB / 0.7273 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004413/0.6687, allocations: 235.2 kB / 0.7275 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/0.6689, allocations: 4 kB / 0.7275 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.6701, allocations: 127.9 kB / 0.7277 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005083/0.6706, allocations: 193 kB / 0.7279 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.438e-05/0.6707, allocations: 27.98 kB / 0.7279 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000786/0.6715, allocations: 0.6097 MB / 0.7285 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6715, allocations: 3.938 kB / 0.7285 GB, free: 2.973 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001157/0.6726, allocations: 395.4 kB / 0.7289 GB, free: 2.586 MB / 0.5261 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 () * 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.0002586/0.6729, allocations: 146.8 kB / 0.729 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004656/0.6776, allocations: 1.988 MB / 0.7309 GB, free: 420 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.6776, allocations: 8.125 kB / 0.7309 GB, free: 412 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003654/0.6813, allocations: 1.52 MB / 0.7324 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006747/0.6819, allocations: 88.39 kB / 0.7325 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.6849, allocations: 1.704 MB / 0.7342 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006176/0.6855, allocations: 1.143 MB / 0.7353 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004133/0.6859, allocations: 94.69 kB / 0.7354 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/0.6862, allocations: 63.42 kB / 0.7354 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of SimCode: time 5.21e-07/0.6862, allocations: 0 / 0.7354 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of Templates: time 0.02828/0.7145, allocations: 18.87 MB / 0.7539 GB, free: 9.039 MB / 0.5573 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)