Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [: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.1.4-maint.8.1.x/package.mo): time 1.326/1.326, allocations: 289.8 MB / 297.1 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000904/0.0009041, allocations: 181.3 kB / 366.3 MB, free: 1.98 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.027/1.027, allocations: 205.2 MB / 0.6256 GB, free: 5.824 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007921/0.000792, allocations: 84.92 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.33e-06/5.35e-06, allocations: 0 / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4044, allocations: 116.3 MB / 0.9726 GB, free: 68.11 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1475/0.5519, allocations: 153.9 MB / 1.123 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.5522, allocations: 97.28 kB / 1.123 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.05958/0.6118, allocations: 27.06 MB / 1.149 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.807e-05/0.6118, allocations: 19.98 kB / 1.149 GB, free: 15.14 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0008714/0.6127, allocations: 0.6772 MB / 1.15 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.6127, allocations: 12.03 kB / 1.15 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.6141, allocations: 187.1 kB / 1.15 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005205/0.6146, allocations: 394.4 kB / 1.151 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.6146, allocations: 12 kB / 1.151 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.4e-05/0.6147, allocations: 23.91 kB / 1.151 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005169/0.6152, allocations: 361.6 kB / 1.151 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007361/0.616, allocations: 0.6467 MB / 1.152 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.616, allocations: 7.984 kB / 1.152 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.777e-05/0.616, allocations: 4 kB / 1.152 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.913e-05/0.6161, allocations: 51.84 kB / 1.152 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/0.6188, allocations: 3.713 MB / 1.155 GB, free: 8.629 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005873/0.6194, allocations: 430 kB / 1.156 GB, free: 8.184 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.6196, allocations: 179 kB / 1.156 GB, free: 8 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.6197, allocations: 4 kB / 1.156 GB, free: 7.996 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.6197, allocations: 34.56 kB / 1.156 GB, free: 7.953 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/0.6197, allocations: 4 kB / 1.156 GB, free: 7.949 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.001309/0.621, allocations: 0.8259 MB / 1.157 GB, free: 7.105 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.6211, allocations: 106.8 kB / 1.157 GB, free: 6.977 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.6214, allocations: 296.8 kB / 1.157 GB, free: 6.684 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.6214, allocations: 25.7 kB / 1.157 GB, free: 6.652 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.6215, allocations: 239.4 kB / 1.157 GB, free: 6.41 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.749e-05/0.6216, allocations: 110.4 kB / 1.158 GB, free: 6.301 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/0.6216, allocations: 0 / 1.158 GB, free: 6.301 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.6217, allocations: 350.8 kB / 1.158 GB, free: 5.949 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.6219, allocations: 168.9 kB / 1.158 GB, free: 5.785 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/0.6222, allocations: 339.8 kB / 1.158 GB, free: 5.371 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.6225, allocations: 217 kB / 1.159 GB, free: 5.16 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.6225, allocations: 0 / 1.159 GB, free: 5.16 MB / 0.7605 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008554/0.6234, allocations: 0.6035 MB / 1.159 GB, free: 4.543 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.6234, allocations: 4 kB / 1.159 GB, free: 4.539 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6234, allocations: 4 kB / 1.159 GB, free: 4.535 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003/0.6237, allocations: 103.1 kB / 1.159 GB, free: 4.426 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.6241, allocations: 99.83 kB / 1.159 GB, free: 4.328 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002628/0.6267, allocations: 3.862 MB / 1.163 GB, free: 124 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.627, allocations: 8 kB / 1.163 GB, free: 116 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.6271, allocations: 27.98 kB / 1.163 GB, free: 88 kB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.6272, allocations: 125 kB / 1.163 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.6273, allocations: 47.44 kB / 1.163 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000771/0.6281, allocations: 0.4923 MB / 1.164 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.6281, allocations: 8.781 kB / 1.164 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6281, allocations: 8 kB / 1.164 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.6281, allocations: 3.984 kB / 1.164 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.6296, allocations: 1.206 MB / 1.165 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.6296, allocations: 0 / 1.165 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.6298, allocations: 55.91 kB / 1.165 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002377/0.6301, allocations: 90.5 kB / 1.165 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.6301, allocations: 4.281 kB / 1.165 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002519/0.6326, allocations: 3.842 MB / 1.169 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.6326, allocations: 11.92 kB / 1.169 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008159/0.6335, allocations: 0.8902 MB / 1.17 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.6336, allocations: 152.4 kB / 1.17 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.598e-05/0.6337, allocations: 4 kB / 1.17 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.634, allocations: 11.98 kB / 1.17 GB, free: 8.543 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.634, allocations: 23.89 kB / 1.17 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.634, allocations: 15.98 kB / 1.17 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0001957/0.6342, allocations: 231.2 kB / 1.17 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005524/0.6348, allocations: 112 kB / 1.17 GB, free: 8.168 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001209/0.6349, allocations: 103.2 kB / 1.17 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0009701/0.6359, allocations: 0.744 MB / 1.171 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6359, allocations: 4 kB / 1.171 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005933/0.6365, allocations: 0.4988 MB / 1.172 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005742/0.6371, allocations: 107.8 kB / 1.172 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.6382, allocations: 0.6594 MB / 1.172 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000498/0.6387, allocations: 0.9049 MB / 1.173 GB, free: 5 MB / 0.7761 GB Notification: Performance of SimCode: time 2.7e-07/0.6387, allocations: 7.938 kB / 1.173 GB, free: 4.992 MB / 0.7761 GB Notification: Performance of Templates: time 0.009128/0.6478, allocations: 5.53 MB / 1.179 GB, free: 15.52 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)