Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") [: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.32/1.32, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.0009925/0.0009925, allocations: 181.3 kB / 361.1 MB, free: 7.086 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.009/1.009, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.0008128/0.0008128, allocations: 80.69 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.901e-06/5.911e-06, allocations: 0 / 0.8511 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3926, allocations: 115.3 MB / 0.9637 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1588/0.5515, allocations: 174 MB / 1.134 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.5518, allocations: 96.69 kB / 1.134 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.2093/0.7611, allocations: 94.81 MB / 1.226 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.553e-05/0.7612, allocations: 63.98 kB / 1.226 GB, free: 14.34 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.003624/0.7648, allocations: 2.191 MB / 1.228 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.7648, allocations: 8.031 kB / 1.228 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003752/0.7686, allocations: 0.6837 MB / 1.229 GB, free: 11.4 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002284/0.7709, allocations: 1.453 MB / 1.231 GB, free: 9.906 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.356e-05/0.771, allocations: 83.98 kB / 1.231 GB, free: 9.824 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003335/0.7713, allocations: 151.9 kB / 1.231 GB, free: 9.676 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0044/0.7757, allocations: 3.076 MB / 1.234 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005243/0.781, allocations: 3.88 MB / 1.238 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.557e-05/0.781, allocations: 7.938 kB / 1.238 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002339/0.7813, allocations: 8 kB / 1.238 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001311/0.7814, allocations: 164.3 kB / 1.238 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2247/1.006, allocations: 21.16 MB / 1.258 GB, free: 284.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/1.007, allocations: 0.5387 MB / 1.259 GB, free: 284 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004117/1.007, allocations: 0.5112 MB / 1.259 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/1.007, allocations: 8.812 kB / 1.259 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/1.007, allocations: 46.31 kB / 1.26 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=50): time 2.776e-06/1.007, allocations: 0 / 1.26 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=56): time 0.00366/1.011, allocations: 3.622 MB / 1.263 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/1.011, allocations: 245.6 kB / 1.263 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/1.012, allocations: 1.15 MB / 1.264 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/1.012, allocations: 25.7 kB / 1.264 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/1.012, allocations: 1.164 MB / 1.266 GB, free: 281 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/1.012, allocations: 204.8 kB / 1.266 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.885e-05/1.012, allocations: 0 / 1.266 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.248e-05/1.012, allocations: 406.5 kB / 1.266 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007554/1.013, allocations: 0.7751 MB / 1.267 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009309/1.014, allocations: 1.457 MB / 1.268 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/1.015, allocations: 1.143 MB / 1.269 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/1.015, allocations: 7.594 kB / 1.269 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002576/1.018, allocations: 2.274 MB / 1.272 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.00113/1.019, allocations: 9.386 MB / 1.281 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/1.019, allocations: 24.3 kB / 1.281 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.541e-05/1.019, allocations: 38.22 kB / 1.281 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/1.021, allocations: 411 kB / 1.281 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.292e-05/1.021, allocations: 53.72 kB / 1.281 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/1.022, allocations: 164.8 kB / 1.281 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/1.022, allocations: 83.14 kB / 1.282 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.849e-06/1.022, allocations: 6.922 kB / 1.282 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002119/1.024, allocations: 1.909 MB / 1.283 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/1.024, allocations: 22 kB / 1.283 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/1.024, allocations: 39.84 kB / 1.283 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/1.026, allocations: 385.6 kB / 1.284 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/1.026, allocations: 52.45 kB / 1.284 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009402/1.027, allocations: 110.4 kB / 1.284 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.586e-05/1.027, allocations: 87.67 kB / 1.284 GB, free: 269.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 192 * 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.0001581/1.027, allocations: 156.5 kB / 1.284 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002446/1.027, allocations: 102.3 kB / 1.284 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009125/1.028, allocations: 0.8882 MB / 1.285 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/1.028, allocations: 11.31 kB / 1.285 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.028, allocations: 3.781 kB / 1.285 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1.028, allocations: 3.562 kB / 1.285 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006737/1.035, allocations: 8.025 MB / 1.293 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/1.035, allocations: 13.53 kB / 1.293 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/1.035, allocations: 128.2 kB / 1.293 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/1.035, allocations: 20.69 kB / 1.293 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/1.035, allocations: 17.44 kB / 1.293 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/1.035, allocations: 22.16 kB / 1.293 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/1.035, allocations: 19.56 kB / 1.293 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001151/1.036, allocations: 2.365 MB / 1.296 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003906/1.037, allocations: 344.5 kB / 1.296 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/1.037, allocations: 21.06 kB / 1.296 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008725/1.038, allocations: 66.73 kB / 1.296 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.764e-05/1.038, allocations: 74.05 kB / 1.296 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/1.038, allocations: 28.44 kB / 1.296 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0007651/1.039, allocations: 0.8689 MB / 1.297 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002184/1.041, allocations: 0.7518 MB / 1.298 GB, free: 266.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001499/1.041, allocations: 144.5 kB / 1.298 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002231/1.043, allocations: 2.5 MB / 1.3 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/1.043, allocations: 3.75 kB / 1.3 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003824/1.044, allocations: 459.5 kB / 1.301 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/1.045, allocations: 201.5 kB / 1.301 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/1.049, allocations: 3.501 MB / 1.304 GB, free: 265 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001701/1.051, allocations: 2.137 MB / 1.306 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of SimCode: time 2.7e-07/1.051, allocations: 0 / 1.306 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.02573/1.077, allocations: 21.33 MB / 1.327 GB, free: 263.4 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)