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.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,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") [: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.75/0.75, allocations: 132.4 MB / 139.7 MB, free: 15.56 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.001469/0.00147, allocations: 175.5 kB / 171.6 MB, free: 1.977 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.662/1.662, allocations: 170.5 MB / 373.9 MB, free: 15.87 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.001764/0.001764, allocations: 107.7 kB / 444.4 MB, free: 9.414 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.6818/0.6818, allocations: 73.39 MB / 0.666 GB, free: 62.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2445/0.9263, allocations: 143.8 MB / 0.8065 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004089/0.9268, allocations: 91.94 kB / 0.8065 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.8303/1.757, allocations: 158 MB / 0.9609 GB, free: 141 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002081/1.757, allocations: 103.8 kB / 0.961 GB, free: 140.9 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: 1148 * Number of variables: 1148 Notification: Performance of Generate backend data structure: time 0.01155/1.769, allocations: 3.406 MB / 0.9643 GB, free: 138.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/1.769, allocations: 10.5 kB / 0.9643 GB, free: 138.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006687/1.776, allocations: 0.8743 MB / 0.9652 GB, free: 138.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007332/1.783, allocations: 2.283 MB / 0.9674 GB, free: 136.9 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003582/1.783, allocations: 138.3 kB / 0.9675 GB, free: 136.9 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002577/1.786, allocations: 251.7 kB / 0.9678 GB, free: 136.9 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01636/1.802, allocations: 4.758 MB / 0.9724 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02553/1.828, allocations: 6.129 MB / 0.9784 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003514/1.828, allocations: 13.03 kB / 0.9784 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002224/1.831, allocations: 8 kB / 0.9784 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00048/1.831, allocations: 266.6 kB / 0.9787 GB, free: 131.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04106/1.872, allocations: 22.77 MB / 1.001 GB, free: 110.7 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001977/1.874, allocations: 1.66 MB / 1.003 GB, free: 109 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/1.876, allocations: 1.13 MB / 1.004 GB, free: 107.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/1.876, allocations: 99.11 kB / 1.004 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/1.876, allocations: 43.22 kB / 1.004 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=86): time 3.627e-06/1.876, allocations: 0 / 1.004 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=89): time 0.008022/1.884, allocations: 4.114 MB / 1.008 GB, free: 103.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/1.884, allocations: 145.1 kB / 1.008 GB, free: 103.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/1.886, allocations: 1.329 MB / 1.009 GB, free: 102 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/1.886, allocations: 29.7 kB / 1.009 GB, free: 102 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007954/1.887, allocations: 1.769 MB / 1.011 GB, free: 100.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002835/1.887, allocations: 323.6 kB / 1.011 GB, free: 99.85 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/1.887, allocations: 0 / 1.011 GB, free: 99.85 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.887, allocations: 394 kB / 1.012 GB, free: 99.46 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/1.889, allocations: 1.101 MB / 1.013 GB, free: 98.35 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/1.891, allocations: 2.161 MB / 1.015 GB, free: 95.67 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/1.893, allocations: 1.672 MB / 1.016 GB, free: 94 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.266e-05/1.893, allocations: 12 kB / 1.016 GB, free: 93.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004716/1.898, allocations: 3.244 MB / 1.02 GB, free: 90.73 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.003076/1.901, allocations: 13.4 MB / 1.033 GB, free: 76.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.668e-05/1.901, allocations: 36 kB / 1.033 GB, free: 76.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.369e-05/1.901, allocations: 52 kB / 1.033 GB, free: 76.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002201/1.903, allocations: 0.5732 MB / 1.033 GB, free: 75.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.173e-05/1.903, allocations: 71.77 kB / 1.033 GB, free: 75.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/1.906, allocations: 238.8 kB / 1.034 GB, free: 75.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002259/1.906, allocations: 112 kB / 1.034 GB, free: 75.21 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/1.906, allocations: 4 kB / 1.034 GB, free: 75.2 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003968/1.91, allocations: 2.639 MB / 1.036 GB, free: 72.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001005/1.91, allocations: 32 kB / 1.036 GB, free: 72.54 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.703e-05/1.91, allocations: 52 kB / 1.036 GB, free: 72.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/1.912, allocations: 0.5309 MB / 1.037 GB, free: 71.95 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-05/1.912, allocations: 75.72 kB / 1.037 GB, free: 71.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/1.914, allocations: 151.2 kB / 1.037 GB, free: 71.73 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/1.914, allocations: 112.7 kB / 1.037 GB, free: 71.62 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 264 * 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.0004836/1.914, allocations: 200.9 kB / 1.037 GB, free: 71.42 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000484/1.915, allocations: 142.2 kB / 1.038 GB, free: 71.28 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002784/1.918, allocations: 1.984 MB / 1.04 GB, free: 69.27 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/1.918, allocations: 12 kB / 1.04 GB, free: 69.26 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/1.918, allocations: 3.938 kB / 1.04 GB, free: 69.26 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/1.918, allocations: 4.734 kB / 1.04 GB, free: 69.25 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/1.929, allocations: 7.061 MB / 1.046 GB, free: 62.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.194e-05/1.929, allocations: 7.906 kB / 1.046 GB, free: 62.03 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002122/1.931, allocations: 279.5 kB / 1.047 GB, free: 61.76 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.152e-05/1.931, allocations: 12.5 kB / 1.047 GB, free: 61.75 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/1.931, allocations: 16 kB / 1.047 GB, free: 61.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.048e-05/1.931, allocations: 11.94 kB / 1.047 GB, free: 61.72 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.274e-05/1.931, allocations: 11.94 kB / 1.047 GB, free: 61.71 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004693/1.936, allocations: 2.809 MB / 1.05 GB, free: 58.56 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001541/1.938, allocations: 443 kB / 1.05 GB, free: 58.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007549/1.938, allocations: 15.92 kB / 1.05 GB, free: 58.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002098/1.941, allocations: 99.86 kB / 1.05 GB, free: 58 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002336/1.941, allocations: 68.8 kB / 1.05 GB, free: 57.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/1.941, allocations: 35.98 kB / 1.05 GB, free: 57.89 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.002368/1.943, allocations: 0.957 MB / 1.051 GB, free: 56.94 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.008311/1.952, allocations: 1.09 MB / 1.052 GB, free: 55.85 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 92 * 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.0003849/1.952, allocations: 130.9 kB / 1.052 GB, free: 55.71 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00678/1.959, allocations: 3.795 MB / 1.056 GB, free: 51.93 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/1.959, allocations: 0 / 1.056 GB, free: 51.93 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001655/1.961, allocations: 0.9015 MB / 1.057 GB, free: 51.03 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003077/1.964, allocations: 357.2 kB / 1.057 GB, free: 50.68 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0228/1.987, allocations: 5.724 MB / 1.063 GB, free: 44.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007716/1.994, allocations: 3.084 MB / 1.066 GB, free: 41.68 MB / 0.5886 GB Notification: Performance of SimCode: time 2.525e-06/1.994, allocations: 3.938 kB / 1.066 GB, free: 41.68 MB / 0.5886 GB Notification: Performance of Templates: time 0.07232/2.067, allocations: 32.89 MB / 1.098 GB, free: 9 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)