Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") [: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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.291/1.291, allocations: 285.5 MB / 292.8 MB, free: 1.125 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009157/0.0009157, allocations: 182.2 kB / 361.1 MB, free: 15.48 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9775/0.9775, allocations: 205.1 MB / 0.6195 GB, free: 6.156 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007669/0.0007669, allocations: 97.45 kB / 0.7326 GB, free: 46.9 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 5.14e-06/5.16e-06, allocations: 0 / 0.8511 GB, free: 13.11 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4105, allocations: 115.3 MB / 0.9637 GB, free: 86.01 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1533/0.5639, allocations: 168.9 MB / 1.129 GB, free: 12.87 MB / 0.7374 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.5642, allocations: 97.16 kB / 1.129 GB, free: 12.77 MB / 0.7374 GB Notification: Performance of FrontEnd: time 0.04296/0.6072, allocations: 17.96 MB / 1.146 GB, free: 10.76 MB / 0.753 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.6072, allocations: 8 kB / 1.146 GB, free: 10.75 MB / 0.753 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007022/0.6079, allocations: 0.5331 MB / 1.147 GB, free: 10.18 MB / 0.753 GB Notification: Performance of prepare preOptimizeDAE: time 2.548e-05/0.6079, allocations: 8.031 kB / 1.147 GB, free: 10.17 MB / 0.753 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007739/0.6087, allocations: 99.59 kB / 1.147 GB, free: 10.07 MB / 0.753 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.609, allocations: 257.8 kB / 1.147 GB, free: 9.777 MB / 0.753 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.609, allocations: 9.031 kB / 1.147 GB, free: 9.77 MB / 0.753 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.6091, allocations: 12 kB / 1.147 GB, free: 9.758 MB / 0.753 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004118/0.6095, allocations: 264.8 kB / 1.147 GB, free: 9.5 MB / 0.753 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.6099, allocations: 341.3 kB / 1.148 GB, free: 9.137 MB / 0.753 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.61, allocations: 4 kB / 1.148 GB, free: 9.133 MB / 0.753 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.61, allocations: 0 / 1.148 GB, free: 9.133 MB / 0.753 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.61e-05/0.61, allocations: 27.97 kB / 1.148 GB, free: 9.105 MB / 0.753 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.6118, allocations: 1.683 MB / 1.149 GB, free: 7.289 MB / 0.753 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.6121, allocations: 281.1 kB / 1.15 GB, free: 6.996 MB / 0.753 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.6124, allocations: 174.2 kB / 1.15 GB, free: 6.82 MB / 0.753 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.6125, allocations: 89.91 kB / 1.15 GB, free: 6.715 MB / 0.753 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.6125, allocations: 35.12 kB / 1.15 GB, free: 6.672 MB / 0.753 GB Notification: Performance of pre-optimization done (n=25): time 1.423e-06/0.6125, allocations: 0 / 1.15 GB, free: 6.672 MB / 0.753 GB Notification: Performance of matching and sorting (n=35): time 0.002894/0.6154, allocations: 1.104 MB / 1.151 GB, free: 5.566 MB / 0.753 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.6155, allocations: 89.05 kB / 1.151 GB, free: 5.461 MB / 0.753 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.6156, allocations: 154.4 kB / 1.151 GB, free: 5.305 MB / 0.753 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.6157, allocations: 25.7 kB / 1.151 GB, free: 5.273 MB / 0.753 GB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.6157, allocations: 141 kB / 1.151 GB, free: 5.133 MB / 0.753 GB Notification: Performance of collectInitialBindings (initialization): time 8.049e-05/0.6158, allocations: 114.3 kB / 1.152 GB, free: 5.02 MB / 0.753 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.6159, allocations: 0 / 1.152 GB, free: 5.02 MB / 0.753 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.616, allocations: 338.8 kB / 1.152 GB, free: 4.68 MB / 0.753 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.6163, allocations: 215.9 kB / 1.152 GB, free: 4.469 MB / 0.753 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/0.6166, allocations: 309.3 kB / 1.152 GB, free: 4.133 MB / 0.753 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006249/0.6172, allocations: 302 kB / 1.153 GB, free: 3.84 MB / 0.753 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6173, allocations: 1.219 kB / 1.153 GB, free: 3.84 MB / 0.753 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001086/0.6183, allocations: 0.6219 MB / 1.153 GB, free: 3.211 MB / 0.753 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002792/0.6186, allocations: 0.8787 MB / 1.154 GB, free: 2.266 MB / 0.753 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.6187, allocations: 0 / 1.154 GB, free: 2.266 MB / 0.753 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.6187, allocations: 4 kB / 1.154 GB, free: 2.262 MB / 0.753 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009802/0.6197, allocations: 155.8 kB / 1.154 GB, free: 2.109 MB / 0.753 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.6197, allocations: 4 kB / 1.154 GB, free: 2.105 MB / 0.753 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.6201, allocations: 35.95 kB / 1.154 GB, free: 2.07 MB / 0.753 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/0.6201, allocations: 16 kB / 1.154 GB, free: 2.055 MB / 0.753 GB Notification: Performance of prepare postOptimizeDAE: time 6.382e-06/0.6201, allocations: 4 kB / 1.154 GB, free: 2.051 MB / 0.753 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008789/0.621, allocations: 463.5 kB / 1.155 GB, free: 1.598 MB / 0.753 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.621, allocations: 1.75 kB / 1.155 GB, free: 1.598 MB / 0.753 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.651e-06/0.621, allocations: 4.281 kB / 1.155 GB, free: 1.594 MB / 0.753 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007424/0.6218, allocations: 141.5 kB / 1.155 GB, free: 1.457 MB / 0.753 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.6218, allocations: 4 kB / 1.155 GB, free: 1.453 MB / 0.753 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.6221, allocations: 31.97 kB / 1.155 GB, free: 1.422 MB / 0.753 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.6221, allocations: 16 kB / 1.155 GB, free: 1.406 MB / 0.753 GB 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 (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.6222, allocations: 124.5 kB / 1.155 GB, free: 1.277 MB / 0.753 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.754e-05/0.6223, allocations: 23.72 kB / 1.155 GB, free: 1.254 MB / 0.753 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.6235, allocations: 0.644 MB / 1.156 GB, free: 0.6055 MB / 0.753 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.6235, allocations: 4 kB / 1.156 GB, free: 0.6016 MB / 0.753 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.6235, allocations: 11.91 kB / 1.156 GB, free: 0.5898 MB / 0.753 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.6235, allocations: 3.984 kB / 1.156 GB, free: 0.5859 MB / 0.753 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.6254, allocations: 1.275 MB / 1.157 GB, free: 15.23 MB / 0.7686 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.6255, allocations: 7.938 kB / 1.157 GB, free: 15.22 MB / 0.7686 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006618/0.6261, allocations: 128.1 kB / 1.157 GB, free: 15.09 MB / 0.7686 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.6261, allocations: 4 kB / 1.157 GB, free: 15.09 MB / 0.7686 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.6262, allocations: 7.938 kB / 1.157 GB, free: 15.08 MB / 0.7686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.6262, allocations: 4 kB / 1.157 GB, free: 15.08 MB / 0.7686 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6262, allocations: 0 / 1.157 GB, free: 15.08 MB / 0.7686 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009069/0.6271, allocations: 0.7807 MB / 1.158 GB, free: 14.21 MB / 0.7686 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.6273, allocations: 144.8 kB / 1.158 GB, free: 14.05 MB / 0.7686 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.037e-05/0.6273, allocations: 4 kB / 1.158 GB, free: 14.05 MB / 0.7686 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/0.6277, allocations: 35.95 kB / 1.158 GB, free: 14.01 MB / 0.7686 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/0.6277, allocations: 25.91 kB / 1.158 GB, free: 13.99 MB / 0.7686 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.6278, allocations: 8 kB / 1.158 GB, free: 13.98 MB / 0.7686 GB Notification: Performance of sort global known variables: time 9.702e-05/0.6279, allocations: 146.7 kB / 1.158 GB, free: 13.84 MB / 0.7686 GB Notification: Performance of remove unused functions: time 0.0005844/0.6285, allocations: 131.9 kB / 1.158 GB, free: 13.71 MB / 0.7686 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001836/0.6287, allocations: 159 kB / 1.159 GB, free: 13.55 MB / 0.7686 GB Notification: Performance of simCode: created initialization part: time 0.0009623/0.6296, allocations: 0.7167 MB / 1.159 GB, free: 12.83 MB / 0.7686 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.6296, allocations: 0 / 1.159 GB, free: 12.83 MB / 0.7686 GB Notification: Performance of simCode: created simulation system equations: time 0.000294/0.6299, allocations: 228.1 kB / 1.159 GB, free: 12.61 MB / 0.7686 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.6303, allocations: 36.06 kB / 1.159 GB, free: 12.57 MB / 0.7686 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.6313, allocations: 0.5774 MB / 1.16 GB, free: 11.95 MB / 0.7686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004876/0.6318, allocations: 0.8355 MB / 1.161 GB, free: 11.09 MB / 0.7686 GB Notification: Performance of SimCode: time 2.61e-07/0.6318, allocations: 0 / 1.161 GB, free: 11.09 MB / 0.7686 GB Notification: Performance of Templates: time 0.009708/0.6415, allocations: 6.586 MB / 1.167 GB, free: 4.566 MB / 0.7686 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)