Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.321/1.321, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.0009694/0.0009694, allocations: 177.3 kB / 361.1 MB, free: 7.129 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.9907/0.9907, allocations: 205.1 MB / 0.6195 GB, free: 11.96 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.0007319/0.000732, allocations: 93.98 kB / 0.7326 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.841e-06/5.861e-06, allocations: 0 / 0.8511 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.391, allocations: 115.3 MB / 0.9637 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1635/0.5546, allocations: 179.5 MB / 1.139 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.5548, allocations: 95.94 kB / 1.139 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.2544/0.8092, allocations: 110.6 MB / 1.247 GB, free: 9.125 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001037/0.8094, allocations: 71.92 kB / 1.247 GB, free: 9.055 MB / 0.8542 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.005196/0.8146, allocations: 2.442 MB / 1.25 GB, free: 6.555 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.8146, allocations: 12.03 kB / 1.25 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003544/0.8181, allocations: 0.6522 MB / 1.25 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002736/0.8209, allocations: 1.613 MB / 1.252 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.538e-05/0.821, allocations: 96 kB / 1.252 GB, free: 4.133 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000391/0.8214, allocations: 168 kB / 1.252 GB, free: 3.969 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004977/0.8264, allocations: 3.327 MB / 1.255 GB, free: 0.6367 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2068/1.033, allocations: 4.221 MB / 1.259 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.189e-05/1.033, allocations: 10.97 kB / 1.259 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002594/1.034, allocations: 4.562 kB / 1.259 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/1.034, allocations: 193.9 kB / 1.26 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0153/1.049, allocations: 22.14 MB / 1.281 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/1.05, allocations: 1.368 MB / 1.283 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/1.052, allocations: 1.097 MB / 1.284 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/1.052, allocations: 97.8 kB / 1.284 GB, free: 268 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/1.052, allocations: 48.03 kB / 1.284 GB, free: 268 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=72): time 2.285e-06/1.052, allocations: 0 / 1.284 GB, free: 268 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75): time 0.003345/1.055, allocations: 2.993 MB / 1.287 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/1.055, allocations: 144.4 kB / 1.287 GB, free: 266.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007475/1.056, allocations: 0.8214 MB / 1.288 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/1.056, allocations: 33.17 kB / 1.288 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/1.057, allocations: 1.134 MB / 1.289 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/1.057, allocations: 264.1 kB / 1.289 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.818e-05/1.057, allocations: 0 / 1.289 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.627e-05/1.057, allocations: 400.3 kB / 1.289 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007972/1.058, allocations: 0.7859 MB / 1.29 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000943/1.059, allocations: 1.268 MB / 1.291 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/1.06, allocations: 1.084 MB / 1.292 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.06, allocations: 3.344 kB / 1.292 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00256/1.062, allocations: 2.16 MB / 1.295 GB, free: 264.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006324/1.063, allocations: 5.487 MB / 1.3 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/1.063, allocations: 18.31 kB / 1.3 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/1.063, allocations: 21.66 kB / 1.3 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/1.065, allocations: 378.8 kB / 1.3 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/1.065, allocations: 28.67 kB / 1.3 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/1.066, allocations: 161.9 kB / 1.3 GB, free: 259 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/1.066, allocations: 65 kB / 1.301 GB, free: 259 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.891e-06/1.066, allocations: 7.562 kB / 1.301 GB, free: 259 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002065/1.068, allocations: 1.713 MB / 1.302 GB, free: 259 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/1.068, allocations: 14.94 kB / 1.302 GB, free: 259 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/1.068, allocations: 21.97 kB / 1.302 GB, free: 259 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/1.069, allocations: 349.9 kB / 1.303 GB, free: 259 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/1.069, allocations: 28.23 kB / 1.303 GB, free: 259 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008574/1.07, allocations: 114.2 kB / 1.303 GB, free: 259 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.031e-05/1.07, allocations: 58.12 kB / 1.303 GB, free: 259 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 (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.0001714/1.071, allocations: 149.5 kB / 1.303 GB, free: 258.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/1.071, allocations: 94.91 kB / 1.303 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001866/1.073, allocations: 1.559 MB / 1.305 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/1.073, allocations: 11.81 kB / 1.305 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.073, allocations: 0 / 1.305 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/1.073, allocations: 3.703 kB / 1.305 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006985/1.08, allocations: 7.172 MB / 1.312 GB, free: 257.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.08, allocations: 7.312 kB / 1.312 GB, free: 257.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/1.081, allocations: 228.6 kB / 1.312 GB, free: 257.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/1.081, allocations: 19.33 kB / 1.312 GB, free: 257.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.703e-05/1.081, allocations: 22.25 kB / 1.312 GB, free: 257.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.397e-06/1.081, allocations: 19.22 kB / 1.312 GB, free: 257.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.081, allocations: 13.38 kB / 1.312 GB, free: 257.5 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001809/1.083, allocations: 2.508 MB / 1.314 GB, free: 256.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004729/1.083, allocations: 379 kB / 1.315 GB, free: 256 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/1.083, allocations: 11.06 kB / 1.315 GB, free: 256 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008351/1.084, allocations: 80.88 kB / 1.315 GB, free: 256 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/1.084, allocations: 64.61 kB / 1.315 GB, free: 256 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-05/1.084, allocations: 33.8 kB / 1.315 GB, free: 256 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0005743/1.085, allocations: 0.6145 MB / 1.315 GB, free: 255.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001974/1.087, allocations: 0.7607 MB / 1.316 GB, free: 255.9 MB / 0.8542 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.0001569/1.087, allocations: 138.1 kB / 1.316 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002634/1.09, allocations: 2.652 MB / 1.319 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.09, allocations: 5.344 kB / 1.319 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007173/1.09, allocations: 0.7489 MB / 1.32 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/1.092, allocations: 229.3 kB / 1.32 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005463/1.097, allocations: 3.924 MB / 1.324 GB, free: 254.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001948/1.099, allocations: 2.261 MB / 1.326 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/1.099, allocations: 0.5938 kB / 1.326 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.03037/1.129, allocations: 23.88 MB / 1.349 GB, free: 253.1 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)