Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [: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.7874/0.7874, allocations: 132.4 MB / 139.7 MB, free: 15.55 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.001159/0.001159, allocations: 169.8 kB / 171.6 MB, free: 1.965 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.414/1.414, allocations: 170.5 MB / 373.9 MB, free: 15.92 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.00181/0.00181, allocations: 123.9 kB / 444.5 MB, free: 9.461 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.503/0.503, allocations: 73.39 MB / 0.666 GB, free: 62.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1796/0.6827, allocations: 133.4 MB / 0.7963 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/0.6831, allocations: 94.19 kB / 0.7964 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.79/1.473, allocations: 178.5 MB / 0.9707 GB, free: 120.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0003841/1.474, allocations: 123 kB / 0.9708 GB, free: 120.4 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: 1226 * Number of variables: 1226 Notification: Performance of Generate backend data structure: time 0.01491/1.488, allocations: 3.862 MB / 0.9746 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/1.489, allocations: 13.31 kB / 0.9746 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008466/1.497, allocations: 0.9049 MB / 0.9755 GB, free: 117.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009785/1.507, allocations: 2.974 MB / 0.9784 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002916/1.507, allocations: 146.5 kB / 0.9785 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002215/1.509, allocations: 272.7 kB / 0.9788 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01183/1.521, allocations: 4.639 MB / 0.9833 GB, free: 116 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01599/1.537, allocations: 6.631 MB / 0.9898 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001831/1.538, allocations: 31.77 kB / 0.9898 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005093/1.538, allocations: 12 kB / 0.9898 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002939/1.538, allocations: 288.7 kB / 0.9901 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02748/1.566, allocations: 23.59 MB / 1.013 GB, free: 85.93 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/1.567, allocations: 1.496 MB / 1.015 GB, free: 84.43 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/1.569, allocations: 1.31 MB / 1.016 GB, free: 83.12 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-05/1.569, allocations: 13.31 kB / 1.016 GB, free: 83.11 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/1.569, allocations: 47.88 kB / 1.016 GB, free: 83.05 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=133): time 7.303e-06/1.569, allocations: 0.9375 kB / 1.016 GB, free: 83.05 MB / 0.5886 GB Notification: Performance of matching and sorting (n=136): time 0.008177/1.577, allocations: 4.581 MB / 1.02 GB, free: 78.44 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/1.577, allocations: 72.66 kB / 1.021 GB, free: 78.36 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/1.579, allocations: 1.063 MB / 1.022 GB, free: 77.29 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.133e-05/1.579, allocations: 25.7 kB / 1.022 GB, free: 77.26 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007006/1.579, allocations: 1.718 MB / 1.023 GB, free: 75.52 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003521/1.58, allocations: 461.2 kB / 1.024 GB, free: 75.06 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.818e-05/1.58, allocations: 0 / 1.024 GB, free: 75.06 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001127/1.58, allocations: 381.9 kB / 1.024 GB, free: 74.68 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009981/1.581, allocations: 0.9059 MB / 1.025 GB, free: 73.78 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/1.582, allocations: 1.551 MB / 1.026 GB, free: 71.92 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/1.584, allocations: 1.181 MB / 1.028 GB, free: 70.74 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/1.584, allocations: 11.91 kB / 1.028 GB, free: 70.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005213/1.589, allocations: 3.376 MB / 1.031 GB, free: 67.32 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/1.589, allocations: 4 kB / 1.031 GB, free: 67.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-05/1.589, allocations: 23.94 kB / 1.031 GB, free: 67.29 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002733/1.592, allocations: 0.9537 MB / 1.032 GB, free: 66.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/1.593, allocations: 339.4 kB / 1.032 GB, free: 65.97 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01527/1.608, allocations: 19.74 MB / 1.051 GB, free: 44.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/1.611, allocations: 43.95 kB / 1.052 GB, free: 44.84 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002698/1.611, allocations: 87.98 kB / 1.052 GB, free: 44.75 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 170 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(4,68.8%) 4,(4,68.8%) 4,(4,68.8%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004607/1.612, allocations: 161.3 kB / 1.052 GB, free: 44.59 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003589/1.612, allocations: 193.7 kB / 1.052 GB, free: 44.39 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005104/1.617, allocations: 2.99 MB / 1.055 GB, free: 41.38 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/1.617, allocations: 12 kB / 1.055 GB, free: 41.36 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.781e-05/1.617, allocations: 11.98 kB / 1.055 GB, free: 41.35 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/1.617, allocations: 7.969 kB / 1.055 GB, free: 41.34 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/1.628, allocations: 6.246 MB / 1.061 GB, free: 35 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/1.628, allocations: 4 kB / 1.061 GB, free: 34.99 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000688/1.628, allocations: 159.7 kB / 1.061 GB, free: 34.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002533/1.631, allocations: 0.9271 MB / 1.062 GB, free: 33.88 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/1.631, allocations: 7.984 kB / 1.062 GB, free: 33.87 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01499/1.646, allocations: 19.75 MB / 1.081 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/1.646, allocations: 7.938 kB / 1.081 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005158/1.651, allocations: 3.406 MB / 1.085 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/1.653, allocations: 454.6 kB / 1.085 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003038/1.653, allocations: 7.984 kB / 1.085 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008519/1.654, allocations: 31.95 kB / 1.085 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/1.654, allocations: 68.81 kB / 1.085 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/1.654, allocations: 44 kB / 1.085 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.001055/1.655, allocations: 0.7849 MB / 1.086 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003361/1.659, allocations: 0.7031 MB / 1.087 GB, free: 7.047 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 73 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002958/1.659, allocations: 128.4 kB / 1.087 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004977/1.664, allocations: 3.794 MB / 1.091 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.664, allocations: 3.938 kB / 1.091 GB, free: 3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003296/1.667, allocations: 2.602 MB / 1.093 GB, free: 280 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0031/1.67, allocations: 0.5771 MB / 1.094 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/1.686, allocations: 5.769 MB / 1.099 GB, free: 9.801 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004898/1.691, allocations: 3.237 MB / 1.102 GB, free: 6.527 MB / 0.6042 GB Notification: Performance of SimCode: time 1.303e-06/1.691, allocations: 0 / 1.102 GB, free: 6.527 MB / 0.6042 GB Notification: Performance of Templates: time 0.3853/2.076, allocations: 33.08 MB / 1.135 GB, free: 204.5 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)