Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.003437/0.003437, allocations: 180.2 kB / 7.453 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.331/1.331, allocations: 221.4 MB / 229.3 MB, free: 2.996 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.0009828/0.000983, allocations: 97.12 kB / 280.1 MB, free: 1.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.413/0.413, allocations: 78.06 MB / 408.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.62e-06/5.65e-06, allocations: 0 / 484.3 MB, free: 4.426 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2577, allocations: 69.34 MB / 0.5407 GB, free: 21.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1134/0.3712, allocations: 98.88 MB / 0.6373 GB, free: 5.922 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.3714, allocations: 79.95 kB / 0.6373 GB, free: 5.844 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.07368/0.4451, allocations: 25.15 MB / 0.6619 GB, free: 12.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.452e-05/0.4452, allocations: 20 kB / 0.6619 GB, free: 12.5 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.005197/0.4504, allocations: 1.774 MB / 0.6637 GB, free: 10.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.4505, allocations: 8.031 kB / 0.6637 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003877/0.4544, allocations: 0.5836 MB / 0.6642 GB, free: 10.08 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/0.4565, allocations: 0.7709 MB / 0.665 GB, free: 9.258 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000324/0.4568, allocations: 244.2 kB / 0.6652 GB, free: 8.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/0.457, allocations: 40 kB / 0.6653 GB, free: 8.941 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0018/0.4589, allocations: 0.8202 MB / 0.6661 GB, free: 8.121 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.4606, allocations: 0.8407 MB / 0.6669 GB, free: 7.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.4606, allocations: 3.938 kB / 0.6669 GB, free: 7.266 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.923e-05/0.4607, allocations: 7.891 kB / 0.6669 GB, free: 7.258 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.4608, allocations: 20 kB / 0.6669 GB, free: 7.238 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007051/0.4678, allocations: 3.409 MB / 0.6702 GB, free: 3.691 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.469, allocations: 0.5893 MB / 0.6708 GB, free: 3.094 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009074/0.4699, allocations: 0.5349 MB / 0.6713 GB, free: 2.555 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.4701, allocations: 28.69 kB / 0.6714 GB, free: 2.527 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.4701, allocations: 43.34 kB / 0.6714 GB, free: 2.477 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 3.085e-06/0.4701, allocations: 0 / 0.6714 GB, free: 2.477 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.1728/0.6429, allocations: 4.23 MB / 0.6755 GB, free: 142.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.643, allocations: 89.3 kB / 0.6756 GB, free: 142.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.644, allocations: 0.7031 MB / 0.6763 GB, free: 142.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001525/0.6442, allocations: 25.7 kB / 0.6763 GB, free: 142.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.6443, allocations: 308.9 kB / 0.6766 GB, free: 142 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/0.6446, allocations: 307.2 kB / 0.6769 GB, free: 141.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.877e-05/0.6447, allocations: 3.25 kB / 0.6769 GB, free: 141.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.812e-05/0.6448, allocations: 338.2 kB / 0.6772 GB, free: 141.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.6458, allocations: 430 kB / 0.6777 GB, free: 141.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008646/0.6467, allocations: 0.5264 MB / 0.6782 GB, free: 141.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000754/0.6474, allocations: 479.1 kB / 0.6786 GB, free: 141.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.6475, allocations: 0 / 0.6786 GB, free: 141.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01274/0.6602, allocations: 4.385 MB / 0.6829 GB, free: 141.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.6604, allocations: 0.7961 MB / 0.6837 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.6604, allocations: 1.969 kB / 0.6837 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005603/0.666, allocations: 1.738 MB / 0.6854 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006927/0.6667, allocations: 135.4 kB / 0.6855 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01341/0.6801, allocations: 6.372 MB / 0.6917 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.6815, allocations: 189.5 kB / 0.6919 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-05/0.6816, allocations: 30.92 kB / 0.692 GB, free: 138.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.652e-06/0.6817, allocations: 3.875 kB / 0.692 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01284/0.6945, allocations: 4.233 MB / 0.6961 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.6945, allocations: 9 kB / 0.6961 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006143/0.7007, allocations: 1.738 MB / 0.6978 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007511/0.7015, allocations: 128.9 kB / 0.6979 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01449/0.716, allocations: 6.362 MB / 0.7041 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.7175, allocations: 185.1 kB / 0.7043 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.7177, allocations: 27.78 kB / 0.7043 GB, free: 136.8 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" ) "d-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] 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 (70): * Single equations (assignments): 69 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.000295/0.718, allocations: 116.2 kB / 0.7044 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/0.7182, allocations: 113.5 kB / 0.7046 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/0.7311, allocations: 4.341 MB / 0.7088 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.7311, allocations: 13.03 kB / 0.7088 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7311, allocations: 7.641 kB / 0.7088 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/0.7312, allocations: 3.328 kB / 0.7088 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/0.745, allocations: 5.702 MB / 0.7144 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.7451, allocations: 0 / 0.7144 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007056/0.7458, allocations: 111.6 kB / 0.7145 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00532/0.7511, allocations: 1.732 MB / 0.7162 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/0.7513, allocations: 11.22 kB / 0.7162 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01218/0.7635, allocations: 5.655 MB / 0.7217 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.7635, allocations: 0 / 0.7217 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01402/0.7776, allocations: 5.098 MB / 0.7267 GB, free: 130.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004173/0.778, allocations: 199.8 kB / 0.7269 GB, free: 130.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/0.7783, allocations: 6.344 kB / 0.7269 GB, free: 130.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.7796, allocations: 148.1 kB / 0.727 GB, free: 130.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003743/0.78, allocations: 120.7 kB / 0.7271 GB, free: 130.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.373e-05/0.7801, allocations: 24.22 kB / 0.7272 GB, free: 130.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008287/0.7809, allocations: 0.5359 MB / 0.7277 GB, free: 130.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00207/0.783, allocations: 0.6099 MB / 0.7283 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: 5 (TGTypeII1.transferFunction1.x_scaled[1],Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 56 * 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.0003156/0.7833, allocations: 138.7 kB / 0.7284 GB, free: 130.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009621/0.793, allocations: 3.422 MB / 0.7318 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.793, allocations: 0 / 0.7318 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004044/0.7971, allocations: 1.436 MB / 0.7332 GB, free: 127.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006487/0.7977, allocations: 71.11 kB / 0.7332 GB, free: 127 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004676/0.8024, allocations: 1.678 MB / 0.7349 GB, free: 125.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007398/0.8032, allocations: 1.148 MB / 0.736 GB, free: 124.5 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.8032, allocations: 4 kB / 0.736 GB, free: 124.5 MB / 490.7 MB Notification: Performance of Templates: time 0.03684/0.84, allocations: 28.77 MB / 0.7641 GB, free: 103.1 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)