Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") [: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.003265/0.003264, allocations: 178.1 kB / 7.454 MB, free: 2.508 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.584/1.584, allocations: 221.4 MB / 229.3 MB, free: 3.242 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.0009138/0.0009138, allocations: 91.55 kB / 280.1 MB, free: 1.324 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5291/0.5291, allocations: 78.06 MB / 408.9 MB, free: 15.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.294e-06/7.324e-06, allocations: 3.938 kB / 484.3 MB, free: 4.414 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2654, allocations: 69.34 MB / 0.5407 GB, free: 21.37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1078/0.3733, allocations: 97.74 MB / 0.6362 GB, free: 7.055 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.3736, allocations: 75.95 kB / 0.6362 GB, free: 6.98 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.07189/0.4455, allocations: 25.19 MB / 0.6608 GB, free: 13.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.659e-05/0.4455, allocations: 20 kB / 0.6608 GB, free: 13.58 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.00501/0.4506, allocations: 1.84 MB / 0.6626 GB, free: 11.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.4506, allocations: 8.031 kB / 0.6627 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003672/0.4543, allocations: 0.5875 MB / 0.6632 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.4559, allocations: 0.7363 MB / 0.6639 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002939/0.4562, allocations: 244.2 kB / 0.6642 GB, free: 10.03 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.4564, allocations: 44 kB / 0.6642 GB, free: 9.984 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001669/0.458, allocations: 0.8202 MB / 0.665 GB, free: 9.164 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.4596, allocations: 0.7571 MB / 0.6658 GB, free: 8.398 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.4596, allocations: 4 kB / 0.6658 GB, free: 8.395 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.333e-05/0.4597, allocations: 0 / 0.6658 GB, free: 8.395 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.4598, allocations: 20 kB / 0.6658 GB, free: 8.375 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006891/0.4667, allocations: 3.471 MB / 0.6692 GB, free: 4.766 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.4678, allocations: 0.6767 MB / 0.6698 GB, free: 4.078 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008982/0.4687, allocations: 0.5555 MB / 0.6704 GB, free: 3.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.4689, allocations: 16.77 kB / 0.6704 GB, free: 3.504 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.4689, allocations: 39.34 kB / 0.6704 GB, free: 3.457 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 2.986e-06/0.4689, allocations: 0 / 0.6704 GB, free: 3.457 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.1593/0.6282, allocations: 4.266 MB / 0.6746 GB, free: 142.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.6283, allocations: 63.03 kB / 0.6747 GB, free: 142.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000889/0.6292, allocations: 0.68 MB / 0.6753 GB, free: 142 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000287/0.6295, allocations: 25.7 kB / 0.6753 GB, free: 142 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.6297, allocations: 321.2 kB / 0.6757 GB, free: 141.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000316/0.63, allocations: 325 kB / 0.676 GB, free: 141.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.445e-05/0.6301, allocations: 0 / 0.676 GB, free: 141.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.445e-05/0.6301, allocations: 339.6 kB / 0.6763 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007345/0.6309, allocations: 433.6 kB / 0.6767 GB, free: 141.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000728/0.6316, allocations: 0.5204 MB / 0.6772 GB, free: 141.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007266/0.6323, allocations: 474.2 kB / 0.6777 GB, free: 141.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.6324, allocations: 2.297 kB / 0.6777 GB, free: 141.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01297/0.6453, allocations: 4.341 MB / 0.6819 GB, free: 141.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.6454, allocations: 10.81 kB / 0.6819 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.6454, allocations: 3.781 kB / 0.6819 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00605/0.6515, allocations: 1.748 MB / 0.6836 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009622/0.6524, allocations: 178.5 kB / 0.6838 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/0.6665, allocations: 6.383 MB / 0.69 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.668, allocations: 198.7 kB / 0.6902 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.6681, allocations: 40.42 kB / 0.6903 GB, free: 139.6 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002707/0.6684, allocations: 116.6 kB / 0.6904 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.6686, allocations: 117.4 kB / 0.6905 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01281/0.6814, allocations: 4.37 MB / 0.6947 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.6815, allocations: 11.47 kB / 0.6948 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.6815, allocations: 0 / 0.6948 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.6815, allocations: 7.516 kB / 0.6948 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/0.6966, allocations: 5.753 MB / 0.7004 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.6966, allocations: 1 kB / 0.7004 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009172/0.6975, allocations: 153.7 kB / 0.7005 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005795/0.7033, allocations: 1.729 MB / 0.7022 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001973/0.7036, allocations: 9.203 kB / 0.7022 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01314/0.7167, allocations: 5.661 MB / 0.7078 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.7168, allocations: 3.906 kB / 0.7078 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01406/0.7308, allocations: 5.176 MB / 0.7128 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/0.7312, allocations: 203.8 kB / 0.713 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/0.7314, allocations: 0 / 0.713 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.7327, allocations: 159.1 kB / 0.7132 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000354/0.733, allocations: 135.5 kB / 0.7133 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.44e-05/0.7331, allocations: 31.88 kB / 0.7133 GB, free: 135.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006255/0.7338, allocations: 0.5309 MB / 0.7138 GB, free: 135.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001141/0.7349, allocations: 380.8 kB / 0.7142 GB, free: 135.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002549/0.7352, allocations: 134.9 kB / 0.7143 GB, free: 135.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005144/0.7403, allocations: 1.947 MB / 0.7162 GB, free: 134.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7404, allocations: 2.906 kB / 0.7162 GB, free: 134.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00424/0.7446, allocations: 1.447 MB / 0.7176 GB, free: 134.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006493/0.7453, allocations: 63.12 kB / 0.7177 GB, free: 134.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003911/0.7492, allocations: 1.447 MB / 0.7191 GB, free: 133.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006969/0.7499, allocations: 1.16 MB / 0.7202 GB, free: 132.9 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.7499, allocations: 0 / 0.7202 GB, free: 132.9 MB / 490.7 MB Notification: Performance of Templates: time 0.02768/0.7776, allocations: 18.72 MB / 0.7385 GB, free: 128.2 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)