Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.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_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") [: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.003247/0.003247, allocations: 182.2 kB / 7.451 MB, free: 2.52 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.318/1.318, allocations: 221.4 MB / 229.3 MB, free: 3.074 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.0009873/0.0009872, allocations: 93.41 kB / 280.1 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4816/0.4816, allocations: 78.05 MB / 408.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.481e-06/5.501e-06, allocations: 0 / 484.3 MB, free: 4.438 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2491, allocations: 69.34 MB / 0.5407 GB, free: 21.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1095/0.3587, allocations: 98.59 MB / 0.637 GB, free: 6.332 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.3589, allocations: 79.95 kB / 0.6371 GB, free: 6.254 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.07175/0.4307, allocations: 25.02 MB / 0.6615 GB, free: 13.06 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.485e-05/0.4308, allocations: 27.94 kB / 0.6615 GB, free: 13.03 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.005157/0.4359, allocations: 1.766 MB / 0.6632 GB, free: 11.22 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.436, allocations: 8.031 kB / 0.6632 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003819/0.4398, allocations: 0.5798 MB / 0.6638 GB, free: 10.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/0.4416, allocations: 0.7554 MB / 0.6646 GB, free: 9.816 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003049/0.442, allocations: 248.2 kB / 0.6648 GB, free: 9.539 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/0.4422, allocations: 44 kB / 0.6648 GB, free: 9.496 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001788/0.444, allocations: 0.8202 MB / 0.6656 GB, free: 8.676 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.4458, allocations: 0.8329 MB / 0.6664 GB, free: 7.832 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.4458, allocations: 0 / 0.6664 GB, free: 7.832 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.834e-05/0.446, allocations: 0 / 0.6664 GB, free: 7.832 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.446, allocations: 27.92 kB / 0.6665 GB, free: 7.805 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007305/0.4533, allocations: 3.413 MB / 0.6698 GB, free: 4.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.4544, allocations: 0.5813 MB / 0.6704 GB, free: 3.652 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000909/0.4554, allocations: 0.546 MB / 0.6709 GB, free: 3.102 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.4555, allocations: 16.7 kB / 0.6709 GB, free: 3.086 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.4555, allocations: 43.34 kB / 0.671 GB, free: 3.035 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.306e-06/0.4556, allocations: 0 / 0.671 GB, free: 3.035 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.1582/0.6138, allocations: 4.24 MB / 0.6751 GB, free: 142.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.6139, allocations: 89.73 kB / 0.6752 GB, free: 142.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.615, allocations: 0.6997 MB / 0.6759 GB, free: 142.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002815/0.6153, allocations: 25.7 kB / 0.6759 GB, free: 142.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.6155, allocations: 316.7 kB / 0.6762 GB, free: 142.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004151/0.616, allocations: 299.3 kB / 0.6765 GB, free: 142 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/0.6161, allocations: 0 / 0.6765 GB, free: 142 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.599e-05/0.6161, allocations: 346.2 kB / 0.6768 GB, free: 141.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007804/0.6169, allocations: 427.2 kB / 0.6772 GB, free: 141.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008107/0.6177, allocations: 0.5147 MB / 0.6777 GB, free: 141.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008238/0.6186, allocations: 476.7 kB / 0.6782 GB, free: 141.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.6186, allocations: 2.344 kB / 0.6782 GB, free: 141.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.01309/0.6317, allocations: 4.323 MB / 0.6824 GB, free: 141.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001374/0.6318, allocations: 0.7913 MB / 0.6832 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.6319, allocations: 3.5 kB / 0.6832 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005949/0.6378, allocations: 1.749 MB / 0.6849 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008444/0.6387, allocations: 151 kB / 0.685 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01426/0.653, allocations: 6.37 MB / 0.6913 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.6546, allocations: 188.9 kB / 0.6914 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/0.6547, allocations: 30.3 kB / 0.6915 GB, free: 138.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/0.6548, allocations: 2.625 kB / 0.6915 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01284/0.6676, allocations: 4.179 MB / 0.6955 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.28e-05/0.6677, allocations: 3.844 kB / 0.6955 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006404/0.6741, allocations: 1.747 MB / 0.6973 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008542/0.675, allocations: 139.5 kB / 0.6974 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01536/0.6904, allocations: 6.384 MB / 0.7036 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.6921, allocations: 180.8 kB / 0.7038 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003008/0.6924, allocations: 27.97 kB / 0.7038 GB, free: 137 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * 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.000359/0.6928, allocations: 121.7 kB / 0.7039 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003129/0.6931, allocations: 114 kB / 0.704 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/0.7067, allocations: 4.348 MB / 0.7083 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.7068, allocations: 19.11 kB / 0.7083 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7068, allocations: 0 / 0.7083 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.117e-05/0.7068, allocations: 3.938 kB / 0.7083 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/0.7216, allocations: 5.689 MB / 0.7139 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.7217, allocations: 0 / 0.7139 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007881/0.7225, allocations: 119.6 kB / 0.714 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00565/0.7281, allocations: 1.723 MB / 0.7157 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001657/0.7283, allocations: 2.812 kB / 0.7157 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01269/0.741, allocations: 5.676 MB / 0.7212 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.7411, allocations: 0 / 0.7212 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01449/0.7556, allocations: 5.083 MB / 0.7262 GB, free: 130.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/0.756, allocations: 205.6 kB / 0.7264 GB, free: 130.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003123/0.7563, allocations: 0.8906 kB / 0.7264 GB, free: 130.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/0.7577, allocations: 149.6 kB / 0.7265 GB, free: 130.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003848/0.7581, allocations: 122.2 kB / 0.7266 GB, free: 130.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.7583, allocations: 19.81 kB / 0.7266 GB, free: 130.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007899/0.7591, allocations: 0.5408 MB / 0.7272 GB, free: 130.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001998/0.7611, allocations: 0.6035 MB / 0.7278 GB, free: 130.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,TGTypeII1.transferFunction1.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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.0002951/0.7614, allocations: 133.2 kB / 0.7279 GB, free: 130.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01009/0.7715, allocations: 3.424 MB / 0.7312 GB, free: 128.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.7715, allocations: 0 / 0.7312 GB, free: 128.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004151/0.7757, allocations: 1.433 MB / 0.7326 GB, free: 127.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008568/0.7766, allocations: 73.39 kB / 0.7327 GB, free: 127.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005522/0.7821, allocations: 1.62 MB / 0.7343 GB, free: 126.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008461/0.783, allocations: 1.148 MB / 0.7354 GB, free: 125.1 MB / 490.7 MB Notification: Performance of SimCode: time 4.71e-07/0.783, allocations: 0 / 0.7354 GB, free: 125.1 MB / 490.7 MB Notification: Performance of Templates: time 0.04011/0.8231, allocations: 28.86 MB / 0.7636 GB, free: 103.9 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)