Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") [: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.336/1.336, allocations: 289.8 MB / 297.1 MB, free: 6.656 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.0009465/0.0009465, allocations: 189.2 kB / 366.3 MB, free: 1.992 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9981/0.9981, allocations: 205.1 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.0007349/0.0007349, allocations: 77.56 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.77e-06/5.801e-06, allocations: 0 / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3962, allocations: 116.3 MB / 0.9726 GB, free: 68.81 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1669/0.5632, allocations: 180.5 MB / 1.149 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.5634, allocations: 104.3 kB / 1.149 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.5127/1.076, allocations: 110.6 MB / 1.257 GB, free: 196.2 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.741e-05/1.076, allocations: 67.91 kB / 1.257 GB, free: 196.2 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.003499/1.08, allocations: 2.438 MB / 1.259 GB, free: 195.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/1.08, allocations: 9.406 kB / 1.259 GB, free: 195.1 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003082/1.083, allocations: 0.653 MB / 1.26 GB, free: 195 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/1.085, allocations: 1.607 MB / 1.262 GB, free: 194.6 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.586e-05/1.085, allocations: 92.44 kB / 1.262 GB, free: 194.6 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003545/1.086, allocations: 175.9 kB / 1.262 GB, free: 194.6 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00403/1.09, allocations: 3.325 MB / 1.265 GB, free: 194.6 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004959/1.095, allocations: 4.216 MB / 1.269 GB, free: 194.1 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-05/1.095, allocations: 9.844 kB / 1.269 GB, free: 194.1 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002579/1.095, allocations: 6.781 kB / 1.269 GB, free: 194.1 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001363/1.095, allocations: 188.9 kB / 1.269 GB, free: 194.1 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01576/1.111, allocations: 22.14 MB / 1.291 GB, free: 179.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/1.112, allocations: 1.38 MB / 1.292 GB, free: 179.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/1.114, allocations: 1.1 MB / 1.293 GB, free: 179 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/1.114, allocations: 97.33 kB / 1.294 GB, free: 178.9 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/1.114, allocations: 45.56 kB / 1.294 GB, free: 178.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=72): time 3.116e-06/1.114, allocations: 0 / 1.294 GB, free: 178.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75): time 0.00347/1.117, allocations: 3.002 MB / 1.297 GB, free: 177.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/1.117, allocations: 140.5 kB / 1.297 GB, free: 177.1 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007295/1.118, allocations: 0.8237 MB / 1.297 GB, free: 176.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.462e-05/1.118, allocations: 25.7 kB / 1.297 GB, free: 176.7 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/1.118, allocations: 1.142 MB / 1.299 GB, free: 175.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/1.119, allocations: 261.3 kB / 1.299 GB, free: 175.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.919e-05/1.119, allocations: 2.531 kB / 1.299 GB, free: 175.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.446e-05/1.119, allocations: 399.5 kB / 1.299 GB, free: 175.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007544/1.119, allocations: 0.7846 MB / 1.3 GB, free: 175 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009089/1.12, allocations: 1.264 MB / 1.301 GB, free: 174.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/1.122, allocations: 1.086 MB / 1.302 GB, free: 173.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.122, allocations: 7.906 kB / 1.302 GB, free: 173.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002466/1.124, allocations: 2.152 MB / 1.304 GB, free: 173.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007006/1.125, allocations: 5.482 MB / 1.31 GB, free: 167.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/1.125, allocations: 15.56 kB / 1.31 GB, free: 167.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.724e-05/1.125, allocations: 26.31 kB / 1.31 GB, free: 167.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/1.126, allocations: 380.2 kB / 1.31 GB, free: 167.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/1.126, allocations: 32.52 kB / 1.31 GB, free: 167.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/1.128, allocations: 158 kB / 1.31 GB, free: 167.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/1.128, allocations: 57.44 kB / 1.31 GB, free: 167.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.462e-06/1.128, allocations: 11.75 kB / 1.31 GB, free: 167.2 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001991/1.13, allocations: 1.714 MB / 1.312 GB, free: 166.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/1.13, allocations: 11.75 kB / 1.312 GB, free: 166.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/1.13, allocations: 29.47 kB / 1.312 GB, free: 166.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/1.131, allocations: 342 kB / 1.312 GB, free: 166.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/1.131, allocations: 33.16 kB / 1.312 GB, free: 166.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009033/1.132, allocations: 115.8 kB / 1.313 GB, free: 166.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/1.132, allocations: 56.33 kB / 1.313 GB, free: 166.7 MB / 0.8386 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 (156): * Single equations (assignments): 156 * 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.000184/1.132, allocations: 151 kB / 1.313 GB, free: 166.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/1.133, allocations: 91.25 kB / 1.313 GB, free: 166.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002543/1.135, allocations: 1.565 MB / 1.314 GB, free: 166 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/1.135, allocations: 8.594 kB / 1.314 GB, free: 166 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.135, allocations: 4.156 kB / 1.314 GB, free: 166 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/1.135, allocations: 4.781 kB / 1.314 GB, free: 166 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007569/1.143, allocations: 7.169 MB / 1.321 GB, free: 162.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/1.143, allocations: 7.812 kB / 1.321 GB, free: 162.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009784/1.144, allocations: 230.2 kB / 1.322 GB, free: 162.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/1.144, allocations: 13.78 kB / 1.322 GB, free: 162.9 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.744e-05/1.144, allocations: 14.98 kB / 1.322 GB, free: 162.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/1.144, allocations: 15.22 kB / 1.322 GB, free: 162.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/1.144, allocations: 14.56 kB / 1.322 GB, free: 162.9 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001868/1.146, allocations: 2.525 MB / 1.324 GB, free: 161 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004665/1.146, allocations: 364 kB / 1.325 GB, free: 160.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/1.146, allocations: 15.25 kB / 1.325 GB, free: 160.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008176/1.147, allocations: 84.77 kB / 1.325 GB, free: 160.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/1.147, allocations: 61.59 kB / 1.325 GB, free: 160.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.696e-05/1.147, allocations: 29.88 kB / 1.325 GB, free: 160.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0005614/1.148, allocations: 0.6265 MB / 1.325 GB, free: 160.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002182/1.15, allocations: 0.7614 MB / 1.326 GB, free: 160.5 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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.0001753/1.15, allocations: 139.2 kB / 1.326 GB, free: 160.4 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00252/1.153, allocations: 2.648 MB / 1.329 GB, free: 159.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.153, allocations: 4.25 kB / 1.329 GB, free: 159.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0007034/1.154, allocations: 0.7482 MB / 1.329 GB, free: 159.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/1.155, allocations: 229.5 kB / 1.33 GB, free: 159.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005624/1.16, allocations: 3.92 MB / 1.334 GB, free: 157.6 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001925/1.162, allocations: 2.269 MB / 1.336 GB, free: 156.5 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/1.162, allocations: 0 / 1.336 GB, free: 156.5 MB / 0.8386 GB Notification: Performance of Templates: time 0.02906/1.191, allocations: 23.9 MB / 1.359 GB, free: 144.7 MB / 0.8386 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)