Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.0009606/0.0009605, 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.37/1.37, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.0008667/0.0008666, allocations: 95.09 kB / 280.5 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4223/0.4223, allocations: 78.06 MB / 409.3 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.16e-05/1.161e-05, allocations: 4 kB / 484.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1202, allocations: 69.36 MB / 0.5413 GB, free: 6.836 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3309/0.4512, allocations: 98.16 MB / 0.6371 GB, free: 1.414 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.4514, allocations: 79.95 kB / 0.6372 GB, free: 1.336 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09328/0.5447, allocations: 36.02 MB / 0.6724 GB, free: 13.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.5447, allocations: 0 / 0.6724 GB, free: 13.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.572e-05/0.5448, allocations: 27.94 kB / 0.6724 GB, free: 13.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.003961/0.5488, allocations: 1.706 MB / 0.6741 GB, free: 11.53 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.5488, allocations: 8.031 kB / 0.6741 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003135/0.552, allocations: 0.5647 MB / 0.6746 GB, free: 10.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.5532, allocations: 0.78 MB / 0.6754 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002577/0.5535, allocations: 240.2 kB / 0.6756 GB, free: 9.848 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.5536, allocations: 51.91 kB / 0.6757 GB, free: 9.797 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00134/0.555, allocations: 0.7967 MB / 0.6765 GB, free: 9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.5564, allocations: 0.8251 MB / 0.6773 GB, free: 8.164 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.5564, allocations: 5.312 kB / 0.6773 GB, free: 8.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-05/0.5565, allocations: 0 / 0.6773 GB, free: 8.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/0.5565, allocations: 16 kB / 0.6773 GB, free: 8.145 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.006037/0.5625, allocations: 3.66 MB / 0.6809 GB, free: 4.316 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007231/0.5698, allocations: 2.623 MB / 0.6834 GB, free: 1.598 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008106/0.5706, allocations: 0.5117 MB / 0.6839 GB, free: 1.082 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.5708, allocations: 20.77 kB / 0.6839 GB, free: 1.062 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.5718, allocations: 0.6449 MB / 0.6846 GB, free: 408 kB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 2.565e-06/0.5718, allocations: 0 / 0.6846 GB, free: 408 kB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01226/0.584, allocations: 3.93 MB / 0.6884 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.5841, allocations: 111.6 kB / 0.6885 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.5853, allocations: 0.8028 MB / 0.6893 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.5855, allocations: 26.55 kB / 0.6893 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003563/0.5858, allocations: 0.5166 MB / 0.6898 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003177/0.5861, allocations: 331.1 kB / 0.6901 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.825e-05/0.5862, allocations: 0 / 0.6901 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.5863, allocations: 349.9 kB / 0.6905 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006966/0.5871, allocations: 442.6 kB / 0.6909 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000767/0.5878, allocations: 0.5497 MB / 0.6914 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007593/0.5886, allocations: 494.2 kB / 0.6919 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.5886, allocations: 0 / 0.6919 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01219/0.6008, allocations: 3.963 MB / 0.6958 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.066e-05/0.6009, allocations: 59.39 kB / 0.6958 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.6009, allocations: 4 kB / 0.6958 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005321/0.6062, allocations: 1.506 MB / 0.6973 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.6073, allocations: 187.7 kB / 0.6975 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/0.6202, allocations: 6.553 MB / 0.7039 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.6219, allocations: 193.1 kB / 0.7041 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.622, allocations: 37 kB / 0.7041 GB, free: 12.12 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.0003235/0.6223, allocations: 165.2 kB / 0.7043 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/0.6226, allocations: 122.5 kB / 0.7044 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/0.6345, allocations: 4.035 MB / 0.7083 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.6345, allocations: 15.95 kB / 0.7083 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.6345, allocations: 4 kB / 0.7083 GB, free: 7.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.163e-05/0.6345, allocations: 7.969 kB / 0.7083 GB, free: 7.742 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.01363/0.6482, allocations: 5.486 MB / 0.7137 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.6482, allocations: 3.984 kB / 0.7137 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007143/0.649, allocations: 95.91 kB / 0.7138 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00461/0.6536, allocations: 1.478 MB / 0.7152 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/0.6537, allocations: 4 kB / 0.7152 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/0.6667, allocations: 7.548 MB / 0.7226 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.6667, allocations: 4.781 kB / 0.7226 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01286/0.6796, allocations: 4.773 MB / 0.7273 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004277/0.68, allocations: 227.2 kB / 0.7275 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.6802, allocations: 4 kB / 0.7275 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.6814, allocations: 127.9 kB / 0.7276 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005067/0.6819, allocations: 201.6 kB / 0.7278 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.379e-05/0.682, allocations: 24 kB / 0.7278 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008068/0.6828, allocations: 0.6175 MB / 0.7284 GB, free: 2.77 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6828, allocations: 0 / 0.7284 GB, free: 2.77 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001167/0.684, allocations: 387.4 kB / 0.7288 GB, free: 2.391 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.0002664/0.6843, allocations: 142.9 kB / 0.729 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004537/0.6888, allocations: 1.994 MB / 0.7309 GB, free: 216 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6888, allocations: 1.219 kB / 0.7309 GB, free: 216 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003657/0.6925, allocations: 1.529 MB / 0.7324 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006578/0.6932, allocations: 85.53 kB / 0.7325 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.696, allocations: 1.698 MB / 0.7341 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006246/0.6966, allocations: 1.151 MB / 0.7353 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003793/0.697, allocations: 94.67 kB / 0.7353 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.6973, allocations: 67.42 kB / 0.7354 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of SimCode: time 5.61e-07/0.6973, allocations: 3.938 kB / 0.7354 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.02824/0.7255, allocations: 18.86 MB / 0.7538 GB, free: 8.836 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)