Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.356/1.356, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.00101/0.00101, allocations: 175.9 kB / 366.3 MB, free: 2.008 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/1, allocations: 205.1 MB / 0.6256 GB, free: 5.852 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.0007915/0.0007916, allocations: 89.88 kB / 0.7395 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 5.901e-06/5.921e-06, allocations: 0 / 0.859 GB, free: 1.477 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4393, allocations: 116.3 MB / 0.9726 GB, free: 143.2 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1517/0.5911, allocations: 162.5 MB / 1.131 GB, free: 39.69 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.5914, allocations: 92.83 kB / 1.131 GB, free: 39.6 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.1716/0.763, allocations: 85.39 MB / 1.215 GB, free: 2.086 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.413e-05/0.7631, allocations: 47.98 kB / 1.215 GB, free: 2.039 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002303/0.7654, allocations: 1.537 MB / 1.216 GB, free: 460 kB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.7654, allocations: 12.03 kB / 1.216 GB, free: 448 kB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004312/0.7698, allocations: 0.6105 MB / 1.217 GB, free: 15.82 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.7712, allocations: 0.8919 MB / 1.218 GB, free: 14.89 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.7712, allocations: 45.44 kB / 1.218 GB, free: 14.85 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.7714, allocations: 72 kB / 1.218 GB, free: 14.78 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002027/0.7734, allocations: 1.407 MB / 1.219 GB, free: 13.37 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002648/0.7761, allocations: 2.156 MB / 1.221 GB, free: 10.91 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.103e-05/0.7761, allocations: 15.88 kB / 1.221 GB, free: 10.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.7763, allocations: 8 kB / 1.221 GB, free: 10.89 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001433/0.7764, allocations: 150.3 kB / 1.222 GB, free: 10.74 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01093/0.7874, allocations: 12.25 MB / 1.233 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.7893, allocations: 1.487 MB / 1.235 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007265/0.7901, allocations: 0.5985 MB / 1.236 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.7902, allocations: 102.1 kB / 1.236 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.7903, allocations: 43.56 kB / 1.236 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=103): time 3.086e-06/0.7903, allocations: 0 / 1.236 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=110): time 0.004449/0.7947, allocations: 2.468 MB / 1.238 GB, free: 8.809 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.7948, allocations: 64.41 kB / 1.238 GB, free: 8.734 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007162/0.7955, allocations: 0.6561 MB / 1.239 GB, free: 8.059 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.46e-05/0.7956, allocations: 25.7 kB / 1.239 GB, free: 8.027 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003211/0.7959, allocations: 0.6065 MB / 1.239 GB, free: 7.41 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002513/0.7961, allocations: 370.5 kB / 1.24 GB, free: 7.043 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/0.7962, allocations: 0 / 1.24 GB, free: 7.043 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.7964, allocations: 365.9 kB / 1.24 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007604/0.7971, allocations: 0.5779 MB / 1.241 GB, free: 6.102 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.7982, allocations: 1.013 MB / 1.242 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.7998, allocations: 0.8752 MB / 1.243 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.7998, allocations: 4 kB / 1.243 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003377/0.8032, allocations: 2.04 MB / 1.245 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.8032, allocations: 4 kB / 1.245 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.8032, allocations: 15.12 kB / 1.245 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007417/0.804, allocations: 258.7 kB / 1.245 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.8052, allocations: 335.4 kB / 1.245 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007149/0.8123, allocations: 10.28 MB / 1.255 GB, free: 6.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009493/0.8133, allocations: 59.92 kB / 1.255 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.8134, allocations: 67.98 kB / 1.255 GB, free: 6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 171 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001881/0.8136, allocations: 144.6 kB / 1.255 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.8138, allocations: 130.5 kB / 1.256 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002843/0.8166, allocations: 1.693 MB / 1.257 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.8167, allocations: 12 kB / 1.257 GB, free: 3.984 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.8167, allocations: 9.406 kB / 1.257 GB, free: 3.977 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.8167, allocations: 7.922 kB / 1.257 GB, free: 3.969 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004675/0.8214, allocations: 3.127 MB / 1.26 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.8214, allocations: 4.688 kB / 1.26 GB, free: 0.6953 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007928/0.8222, allocations: 199.7 kB / 1.26 GB, free: 0.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006673/0.8229, allocations: 242.7 kB / 1.261 GB, free: 244 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.036e-05/0.8229, allocations: 8 kB / 1.261 GB, free: 236 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006971/0.8299, allocations: 10.26 MB / 1.271 GB, free: 5.066 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-06/0.8299, allocations: 14.06 kB / 1.271 GB, free: 5.055 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00277/0.8327, allocations: 2.085 MB / 1.273 GB, free: 2.734 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004844/0.8332, allocations: 311.5 kB / 1.273 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.8334, allocations: 8 kB / 1.273 GB, free: 2.402 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006407/0.834, allocations: 43.94 kB / 1.273 GB, free: 2.359 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.8342, allocations: 80.52 kB / 1.273 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.111e-05/0.8343, allocations: 36 kB / 1.273 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006237/0.8349, allocations: 0.49 MB / 1.274 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001273/0.8362, allocations: 351.9 kB / 1.274 GB, free: 1.398 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 101 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(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.0002265/0.8364, allocations: 136.6 kB / 1.274 GB, free: 1.254 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002976/0.8394, allocations: 2.317 MB / 1.276 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8394, allocations: 0 / 1.276 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001787/0.8412, allocations: 1.533 MB / 1.278 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.8424, allocations: 264.9 kB / 1.278 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003758/0.8462, allocations: 2.166 MB / 1.28 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/0.8474, allocations: 1.445 MB / 1.282 GB, free: 9.258 MB / 0.8855 GB Notification: Performance of SimCode: time 6.81e-07/0.8474, allocations: 2.531 kB / 1.282 GB, free: 9.258 MB / 0.8855 GB Notification: Performance of Templates: time 0.02701/0.8744, allocations: 17.62 MB / 1.299 GB, free: 7.969 MB / 0.9011 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)