Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002464/0.002464, allocations: 179.2 kB / 7.46 MB, free: 2.512 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.126/1.126, allocations: 221.4 MB / 229.3 MB, free: 3.027 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.0009276/0.0009276, allocations: 104.3 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3927/0.3927, allocations: 78.91 MB / 409.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.963e-06/7.004e-06, allocations: 4 kB / 485.4 MB, free: 3.656 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2308, allocations: 69.5 MB / 0.5419 GB, free: 20.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1009/0.3317, allocations: 98.77 MB / 0.6383 GB, free: 5.199 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.3319, allocations: 79.89 kB / 0.6384 GB, free: 5.121 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.09846/0.4304, allocations: 36.24 MB / 0.6738 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.618e-05/0.4305, allocations: 31.88 kB / 0.6738 GB, free: 0.5859 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.1443/0.5748, allocations: 1.743 MB / 0.6755 GB, free: 141 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.5749, allocations: 10.44 kB / 0.6755 GB, free: 141 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003701/0.5786, allocations: 0.579 MB / 0.6761 GB, free: 140.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.58, allocations: 0.7798 MB / 0.6769 GB, free: 140.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002344/0.5803, allocations: 241.9 kB / 0.6771 GB, free: 140.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.5805, allocations: 45.62 kB / 0.6771 GB, free: 140.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00137/0.5819, allocations: 0.799 MB / 0.6779 GB, free: 140.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.5831, allocations: 0.8342 MB / 0.6787 GB, free: 140.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.5832, allocations: 2.156 kB / 0.6787 GB, free: 140.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-05/0.5833, allocations: 3.188 kB / 0.6787 GB, free: 140.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.5833, allocations: 19.06 kB / 0.6788 GB, free: 140.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006/0.5893, allocations: 3.788 MB / 0.6825 GB, free: 139.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009919/0.5903, allocations: 0.6034 MB / 0.683 GB, free: 139.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006526/0.591, allocations: 0.511 MB / 0.6835 GB, free: 139.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.5911, allocations: 18.75 kB / 0.6836 GB, free: 139.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008296/0.5919, allocations: 0.6275 MB / 0.6842 GB, free: 139.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 2.424e-06/0.5919, allocations: 0 / 0.6842 GB, free: 139.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01243/0.6044, allocations: 4.181 MB / 0.6883 GB, free: 139 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.6044, allocations: 113.3 kB / 0.6884 GB, free: 138.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008848/0.6053, allocations: 0.8066 MB / 0.6892 GB, free: 138.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.964e-05/0.6054, allocations: 25.7 kB / 0.6892 GB, free: 138.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.6055, allocations: 324.2 kB / 0.6895 GB, free: 138.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/0.6058, allocations: 330.2 kB / 0.6898 GB, free: 138.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.06e-05/0.6059, allocations: 32 / 0.6898 GB, free: 138.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.741e-05/0.606, allocations: 350 kB / 0.6901 GB, free: 138 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006795/0.6066, allocations: 445.1 kB / 0.6906 GB, free: 138 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007296/0.6074, allocations: 0.5576 MB / 0.6911 GB, free: 137.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008018/0.6082, allocations: 497.4 kB / 0.6916 GB, free: 137.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.6082, allocations: 7.781 kB / 0.6916 GB, free: 137.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01214/0.6203, allocations: 4.187 MB / 0.6957 GB, free: 137.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.6204, allocations: 6.969 kB / 0.6957 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.6204, allocations: 3.875 kB / 0.6957 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005566/0.626, allocations: 1.565 MB / 0.6972 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.6271, allocations: 191 kB / 0.6974 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/0.6406, allocations: 6.001 MB / 0.7033 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.6423, allocations: 199.2 kB / 0.7034 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.6425, allocations: 39.47 kB / 0.7035 GB, free: 135.8 MB / 490.7 MB 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.0002789/0.6428, allocations: 150.9 kB / 0.7036 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.643, allocations: 129 kB / 0.7037 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/0.6558, allocations: 4.271 MB / 0.7079 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.6558, allocations: 10.16 kB / 0.7079 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.6558, allocations: 5.906 kB / 0.7079 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.6559, allocations: 8.484 kB / 0.7079 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/0.6695, allocations: 5.673 MB / 0.7135 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.6695, allocations: 4.031 kB / 0.7135 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000646/0.6702, allocations: 102.6 kB / 0.7136 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004751/0.675, allocations: 1.554 MB / 0.7151 GB, free: 133.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/0.6751, allocations: 11.66 kB / 0.7151 GB, free: 133.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01252/0.6876, allocations: 7.08 MB / 0.722 GB, free: 129.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.6876, allocations: 0 / 0.722 GB, free: 129.6 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0136/0.7012, allocations: 5.017 MB / 0.7269 GB, free: 128.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003953/0.7017, allocations: 227.3 kB / 0.7271 GB, free: 127.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/0.7019, allocations: 3.656 kB / 0.7271 GB, free: 127.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.7032, allocations: 141.2 kB / 0.7273 GB, free: 127.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003205/0.7035, allocations: 117.7 kB / 0.7274 GB, free: 127.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.851e-05/0.7036, allocations: 23.98 kB / 0.7274 GB, free: 127.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007383/0.7044, allocations: 0.6151 MB / 0.728 GB, free: 127.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001153/0.7055, allocations: 386.8 kB / 0.7284 GB, free: 127.6 MB / 490.7 MB 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 {(21,21.8%) 11} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002449/0.7058, allocations: 147.6 kB / 0.7285 GB, free: 127.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004648/0.7104, allocations: 1.936 MB / 0.7304 GB, free: 126.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.7105, allocations: 0 / 0.7304 GB, free: 126.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003979/0.7144, allocations: 1.514 MB / 0.7319 GB, free: 126.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006295/0.7151, allocations: 95.62 kB / 0.732 GB, free: 126.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004038/0.7191, allocations: 1.713 MB / 0.7337 GB, free: 125.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007565/0.7199, allocations: 1.194 MB / 0.7348 GB, free: 124.6 MB / 490.7 MB Notification: Performance of SimCode: time 6.62e-07/0.7199, allocations: 0 / 0.7348 GB, free: 124.6 MB / 490.7 MB Notification: Performance of Templates: time 0.0249/0.7448, allocations: 19.28 MB / 0.7537 GB, free: 112.8 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)