Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.155/2.155, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001576/0.001576, allocations: 177.2 kB / 360.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.2 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001254/0.001253, allocations: 87.98 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.775e-06/7.795e-06, allocations: 0 / 0.8502 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.545/0.545, allocations: 115.2 MB / 0.9628 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2462/0.7913, allocations: 168.9 MB / 1.128 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003611/0.7917, allocations: 95.8 kB / 1.128 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.07071/0.8624, allocations: 17.69 MB / 1.145 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.185e-05/0.8625, allocations: 15.94 kB / 1.145 GB, free: 2.023 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001218/0.8637, allocations: 0.5293 MB / 1.146 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.8638, allocations: 15.97 kB / 1.146 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.8651, allocations: 101.3 kB / 1.146 GB, free: 1.336 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/0.8655, allocations: 255.1 kB / 1.146 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.8655, allocations: 8 kB / 1.146 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.399e-05/0.8656, allocations: 12.66 kB / 1.146 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007517/0.8664, allocations: 260.8 kB / 1.146 GB, free: 0.7695 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007962/0.8672, allocations: 341.1 kB / 1.147 GB, free: 416 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.8672, allocations: 4 kB / 1.147 GB, free: 412 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.8673, allocations: 0 / 1.147 GB, free: 412 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.064e-05/0.8673, allocations: 23.98 kB / 1.147 GB, free: 388 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003004/0.8703, allocations: 1.681 MB / 1.148 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00067/0.871, allocations: 273.8 kB / 1.148 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004222/0.8715, allocations: 173.7 kB / 1.149 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000209/0.8717, allocations: 93.91 kB / 1.149 GB, free: 14 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.8718, allocations: 38.5 kB / 1.149 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=25): time 2.254e-06/0.8718, allocations: 0 / 1.149 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of matching and sorting (n=35): time 0.005299/0.8771, allocations: 1.105 MB / 1.15 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.8771, allocations: 81.67 kB / 1.15 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.8774, allocations: 154.4 kB / 1.15 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.485e-05/0.8774, allocations: 29.7 kB / 1.15 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.8776, allocations: 148.3 kB / 1.15 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.8777, allocations: 110.3 kB / 1.15 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/0.8778, allocations: 0 / 1.15 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.878, allocations: 335.5 kB / 1.151 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006001/0.8786, allocations: 215.9 kB / 1.151 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007115/0.8793, allocations: 309.3 kB / 1.151 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.8805, allocations: 302 kB / 1.151 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.8805, allocations: 0 / 1.151 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002082/0.8826, allocations: 0.6258 MB / 1.152 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004184/0.883, allocations: 0.8731 MB / 1.153 GB, free: 9.543 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.883, allocations: 0.5625 kB / 1.153 GB, free: 9.543 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.8831, allocations: 8 kB / 1.153 GB, free: 9.535 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/0.885, allocations: 149.4 kB / 1.153 GB, free: 9.391 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.885, allocations: 11.94 kB / 1.153 GB, free: 9.379 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007355/0.8858, allocations: 35.95 kB / 1.153 GB, free: 9.344 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.929e-05/0.8859, allocations: 12 kB / 1.153 GB, free: 9.332 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.8859, allocations: 4.938 kB / 1.153 GB, free: 9.328 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001706/0.8876, allocations: 463.5 kB / 1.154 GB, free: 8.875 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.8876, allocations: 4 kB / 1.154 GB, free: 8.871 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.8877, allocations: 11.97 kB / 1.154 GB, free: 8.859 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.8892, allocations: 136.1 kB / 1.154 GB, free: 8.727 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.8892, allocations: 4 kB / 1.154 GB, free: 8.723 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/0.8897, allocations: 31.97 kB / 1.154 GB, free: 8.691 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/0.8898, allocations: 19.98 kB / 1.154 GB, free: 8.672 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0001954/0.89, allocations: 112.6 kB / 1.154 GB, free: 8.555 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.8901, allocations: 23.72 kB / 1.154 GB, free: 8.531 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/0.8924, allocations: 0.6532 MB / 1.155 GB, free: 7.875 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.8925, allocations: 7.984 kB / 1.155 GB, free: 7.867 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.8925, allocations: 3.906 kB / 1.155 GB, free: 7.863 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.8925, allocations: 1.125 kB / 1.155 GB, free: 7.863 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003576/0.8961, allocations: 1.282 MB / 1.156 GB, free: 6.496 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.8961, allocations: 4 kB / 1.156 GB, free: 6.492 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/0.8974, allocations: 124.1 kB / 1.156 GB, free: 6.371 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/0.8975, allocations: 8 kB / 1.156 GB, free: 6.363 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/0.8975, allocations: 4 kB / 1.156 GB, free: 6.359 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/0.8975, allocations: 5.562 kB / 1.156 GB, free: 6.355 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.8975, allocations: 4 kB / 1.156 GB, free: 6.352 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001622/0.8992, allocations: 0.7747 MB / 1.157 GB, free: 5.488 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.8994, allocations: 148.7 kB / 1.157 GB, free: 5.324 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.934e-05/0.8995, allocations: 7.938 kB / 1.157 GB, free: 5.316 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006077/0.9002, allocations: 35.97 kB / 1.157 GB, free: 5.281 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-05/0.9003, allocations: 21 kB / 1.157 GB, free: 5.262 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/0.9003, allocations: 12 kB / 1.157 GB, free: 5.25 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0001716/0.9005, allocations: 135.2 kB / 1.157 GB, free: 5.117 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009397/0.9015, allocations: 143.9 kB / 1.157 GB, free: 4.977 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.0002757/0.9017, allocations: 143 kB / 1.157 GB, free: 4.828 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001919/0.9037, allocations: 0.7148 MB / 1.158 GB, free: 4.113 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.9037, allocations: 0 / 1.158 GB, free: 4.113 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005726/0.9043, allocations: 228.9 kB / 1.158 GB, free: 3.891 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.9048, allocations: 37.45 kB / 1.158 GB, free: 3.855 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.9067, allocations: 0.5733 MB / 1.159 GB, free: 3.234 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008695/0.9076, allocations: 0.8355 MB / 1.16 GB, free: 2.371 MB / 0.7605 GB Notification: Performance of SimCode: time 7.21e-07/0.9076, allocations: 0 / 1.16 GB, free: 2.371 MB / 0.7605 GB Notification: Performance of Templates: time 0.01752/0.9251, allocations: 6.6 MB / 1.166 GB, free: 11.87 MB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)