Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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 3.0.0/package.mo): time 0.8121/0.8121, allocations: 132.4 MB / 139.7 MB, free: 15.57 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001097/0.001097, allocations: 172.1 kB / 171.6 MB, free: 1.996 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.521/1.521, allocations: 170.5 MB / 373.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001788/0.001788, allocations: 112.8 kB / 444.4 MB, free: 9.344 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.6493/0.6493, allocations: 73.38 MB / 0.666 GB, free: 62.41 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2071/0.8565, allocations: 143.1 MB / 0.8057 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003428/0.8569, allocations: 94.47 kB / 0.8058 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.7108/1.568, allocations: 110.4 MB / 0.9136 GB, free: 145.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002407/1.568, allocations: 72.78 kB / 0.9137 GB, free: 145.2 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 770 * Number of variables: 770 Notification: Performance of Generate backend data structure: time 0.009937/1.578, allocations: 2.442 MB / 0.9161 GB, free: 144.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.677e-05/1.578, allocations: 10.47 kB / 0.9161 GB, free: 144.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00573/1.584, allocations: 0.6407 MB / 0.9167 GB, free: 144 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005293/1.589, allocations: 1.609 MB / 0.9183 GB, free: 143.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002487/1.589, allocations: 91.16 kB / 0.9184 GB, free: 143.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00194/1.591, allocations: 163.3 kB / 0.9185 GB, free: 143.6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01033/1.602, allocations: 3.307 MB / 0.9218 GB, free: 143.6 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/1.617, allocations: 4.211 MB / 0.9259 GB, free: 143.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001955/1.617, allocations: 7.125 kB / 0.9259 GB, free: 143.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001322/1.618, allocations: 7.656 kB / 0.9259 GB, free: 143.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003343/1.619, allocations: 201.5 kB / 0.9261 GB, free: 143 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0322/1.651, allocations: 15.63 MB / 0.9413 GB, free: 136.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/1.653, allocations: 1.372 MB / 0.9427 GB, free: 136.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/1.655, allocations: 1.109 MB / 0.9438 GB, free: 136.4 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002298/1.656, allocations: 96.44 kB / 0.9439 GB, free: 136.3 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/1.656, allocations: 43.16 kB / 0.9439 GB, free: 136.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=72): time 4.418e-06/1.656, allocations: 0 / 0.9439 GB, free: 136.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=75): time 0.007859/1.664, allocations: 3.009 MB / 0.9468 GB, free: 134.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.52e-05/1.664, allocations: 136.9 kB / 0.947 GB, free: 134.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/1.665, allocations: 0.823 MB / 0.9478 GB, free: 134.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001317/1.665, allocations: 29.45 kB / 0.9478 GB, free: 134.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008923/1.666, allocations: 1.129 MB / 0.9489 GB, free: 133.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003655/1.667, allocations: 256.9 kB / 0.9491 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/1.667, allocations: 0 / 0.9491 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002492/1.667, allocations: 399.3 kB / 0.9495 GB, free: 132.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/1.668, allocations: 0.7965 MB / 0.9503 GB, free: 132.4 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/1.67, allocations: 1.272 MB / 0.9515 GB, free: 131.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00247/1.672, allocations: 1.09 MB / 0.9526 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.859e-05/1.673, allocations: 4.094 kB / 0.9526 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004717/1.677, allocations: 2.167 MB / 0.9547 GB, free: 130.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.001983/1.679, allocations: 5.48 MB / 0.9601 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.744e-05/1.679, allocations: 18.36 kB / 0.9601 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.069e-05/1.679, allocations: 21.78 kB / 0.9601 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002018/1.681, allocations: 381.4 kB / 0.9605 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-05/1.682, allocations: 32.91 kB / 0.9605 GB, free: 124.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/1.683, allocations: 157.2 kB / 0.9607 GB, free: 124.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002244/1.684, allocations: 57.89 kB / 0.9607 GB, free: 124.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/1.684, allocations: 7.375 kB / 0.9607 GB, free: 124.6 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003671/1.687, allocations: 1.725 MB / 0.9624 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.507e-05/1.687, allocations: 18.41 kB / 0.9624 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.777e-05/1.688, allocations: 31.38 kB / 0.9625 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/1.689, allocations: 340.6 kB / 0.9628 GB, free: 124 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.178e-05/1.689, allocations: 33.59 kB / 0.9628 GB, free: 124 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/1.691, allocations: 113.9 kB / 0.9629 GB, free: 124 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002046/1.691, allocations: 58.44 kB / 0.963 GB, free: 124 MB / 0.5886 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.0004829/1.691, allocations: 149 kB / 0.9631 GB, free: 123.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007153/1.692, allocations: 89.75 kB / 0.9632 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003136/1.695, allocations: 1.567 MB / 0.9647 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/1.695, allocations: 7.844 kB / 0.9647 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/1.695, allocations: 1.469 kB / 0.9647 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/1.695, allocations: 4.328 kB / 0.9647 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/1.708, allocations: 7.204 MB / 0.9718 GB, free: 120.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.077e-05/1.708, allocations: 12.84 kB / 0.9718 GB, free: 120.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/1.709, allocations: 236.2 kB / 0.972 GB, free: 120.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.16e-05/1.709, allocations: 15.75 kB / 0.972 GB, free: 120.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.624e-05/1.709, allocations: 10.5 kB / 0.972 GB, free: 120.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-05/1.709, allocations: 20.95 kB / 0.9721 GB, free: 120.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.334e-05/1.709, allocations: 14.44 kB / 0.9721 GB, free: 120.1 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003574/1.713, allocations: 2.516 MB / 0.9745 GB, free: 118.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/1.714, allocations: 370 kB / 0.9749 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004693/1.715, allocations: 19.17 kB / 0.9749 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/1.716, allocations: 80.02 kB / 0.975 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/1.716, allocations: 61.83 kB / 0.975 GB, free: 118 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.511e-05/1.716, allocations: 30.47 kB / 0.9751 GB, free: 118 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.001385/1.718, allocations: 0.6118 MB / 0.9757 GB, free: 117.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006852/1.725, allocations: 0.7368 MB / 0.9764 GB, free: 117.8 MB / 0.5886 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.0004839/1.725, allocations: 143.5 kB / 0.9765 GB, free: 117.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.006036/1.731, allocations: 2.66 MB / 0.9791 GB, free: 116.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.92e-05/1.731, allocations: 4 kB / 0.9791 GB, free: 116.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001668/1.733, allocations: 0.7558 MB / 0.9799 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/1.735, allocations: 236.7 kB / 0.9801 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/1.751, allocations: 4.177 MB / 0.9842 GB, free: 114.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005391/1.757, allocations: 2.274 MB / 0.9864 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of SimCode: time 1.663e-06/1.757, allocations: 0 / 0.9864 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.05178/1.808, allocations: 23.77 MB / 1.01 GB, free: 99.74 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)