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_R_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.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.7912/0.7912, allocations: 132.4 MB / 139.7 MB, free: 15.52 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.001189/0.001189, allocations: 172.3 kB / 171.6 MB, free: 1.992 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.775/1.775, allocations: 170.5 MB / 373.9 MB, free: 15.88 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.001775/0.001774, allocations: 106.5 kB / 444.4 MB, free: 9.434 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.471/0.471, allocations: 73.4 MB / 0.666 GB, free: 62.51 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1743/0.6454, allocations: 134.3 MB / 0.7972 GB, free: 1.953 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.6457, allocations: 93.02 kB / 0.7973 GB, free: 1.863 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.8602/1.506, allocations: 200.2 MB / 0.9928 GB, free: 118.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0005977/1.507, allocations: 139.9 kB / 0.993 GB, free: 118.6 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: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.02137/1.528, allocations: 4.952 MB / 0.9978 GB, free: 113.6 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/1.528, allocations: 8.031 kB / 0.9978 GB, free: 113.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009647/1.538, allocations: 1.109 MB / 0.9989 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0117/1.55, allocations: 3.7 MB / 1.003 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003366/1.55, allocations: 184 kB / 1.003 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00294/1.553, allocations: 332 kB / 1.003 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0162/1.569, allocations: 5.861 MB / 1.009 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02779/1.597, allocations: 8.023 MB / 1.017 GB, free: 93.98 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003591/1.597, allocations: 19.88 kB / 1.017 GB, free: 93.96 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002934/1.6, allocations: 16 kB / 1.017 GB, free: 93.95 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003361/1.601, allocations: 306.9 kB / 1.017 GB, free: 93.65 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05176/1.652, allocations: 27.64 MB / 1.044 GB, free: 65.6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004603/1.657, allocations: 2.875 MB / 1.047 GB, free: 62.72 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002969/1.66, allocations: 2.12 MB / 1.049 GB, free: 60.61 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/1.66, allocations: 22 kB / 1.049 GB, free: 60.59 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/1.66, allocations: 60.56 kB / 1.049 GB, free: 60.52 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=209): time 4.288e-06/1.66, allocations: 0 / 1.049 GB, free: 60.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=212): time 0.01334/1.674, allocations: 6.469 MB / 1.055 GB, free: 54.05 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/1.674, allocations: 73.41 kB / 1.055 GB, free: 53.97 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003551/1.677, allocations: 1.325 MB / 1.057 GB, free: 52.62 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0004387/1.678, allocations: 29.7 kB / 1.057 GB, free: 52.58 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.00164/1.679, allocations: 2.047 MB / 1.059 GB, free: 50.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001107/1.681, allocations: 0.6967 MB / 1.059 GB, free: 49.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/1.681, allocations: 0 / 1.059 GB, free: 49.8 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0003343/1.681, allocations: 407.2 kB / 1.06 GB, free: 49.39 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002126/1.683, allocations: 1.305 MB / 1.061 GB, free: 48.09 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002503/1.686, allocations: 2.073 MB / 1.063 GB, free: 45.66 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002335/1.688, allocations: 1.68 MB / 1.065 GB, free: 43.98 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.725e-05/1.688, allocations: 11.94 kB / 1.065 GB, free: 43.96 MB / 0.5886 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.007681/1.696, allocations: 4.725 MB / 1.069 GB, free: 39.25 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/1.696, allocations: 5.094 kB / 1.069 GB, free: 39.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.513e-05/1.696, allocations: 24 kB / 1.069 GB, free: 39.22 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00324/1.699, allocations: 1.43 MB / 1.071 GB, free: 37.78 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/1.701, allocations: 427.3 kB / 1.071 GB, free: 37.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01757/1.719, allocations: 15.51 MB / 1.086 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002453/1.721, allocations: 63.92 kB / 1.086 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00029/1.722, allocations: 116 kB / 1.086 GB, free: 21.21 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004942/1.722, allocations: 173.1 kB / 1.086 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004836/1.723, allocations: 260.9 kB / 1.087 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006736/1.729, allocations: 4.327 MB / 1.091 GB, free: 16.45 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.302e-05/1.729, allocations: 24 kB / 1.091 GB, free: 16.42 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.175e-05/1.729, allocations: 16 kB / 1.091 GB, free: 16.41 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.189e-05/1.729, allocations: 11.95 kB / 1.091 GB, free: 16.39 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02/1.749, allocations: 8.775 MB / 1.1 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/1.749, allocations: 8.547 kB / 1.1 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/1.751, allocations: 211.7 kB / 1.1 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003198/1.754, allocations: 1.402 MB / 1.101 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002393/1.754, allocations: 4 kB / 1.101 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02051/1.775, allocations: 15.48 MB / 1.116 GB, free: 5.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/1.775, allocations: 4.25 kB / 1.116 GB, free: 5.977 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008275/1.783, allocations: 4.754 MB / 1.121 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001858/1.785, allocations: 0.6033 MB / 1.122 GB, free: 408 kB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005509/1.785, allocations: 12 kB / 1.122 GB, free: 396 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/1.787, allocations: 47.92 kB / 1.122 GB, free: 348 kB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000261/1.787, allocations: 121.6 kB / 1.122 GB, free: 224 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/1.787, allocations: 60 kB / 1.122 GB, free: 164 kB / 0.6042 GB Notification: Performance of sort global known variables: time 0.3006/2.088, allocations: 0.969 MB / 1.123 GB, free: 183.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.005393/2.093, allocations: 0.9763 MB / 1.124 GB, free: 183.3 MB / 0.6042 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 (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004466/2.094, allocations: 125.6 kB / 1.124 GB, free: 183.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.006464/2.1, allocations: 4.216 MB / 1.128 GB, free: 182.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/2.1, allocations: 6.156 kB / 1.128 GB, free: 182.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.003839/2.104, allocations: 2.569 MB / 1.13 GB, free: 182.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003429/2.107, allocations: 0.654 MB / 1.131 GB, free: 182.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/2.127, allocations: 7.755 MB / 1.139 GB, free: 180.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005036/2.132, allocations: 3.854 MB / 1.142 GB, free: 179.9 MB / 0.6042 GB Notification: Performance of SimCode: time 1.583e-06/2.132, allocations: 0 / 1.142 GB, free: 179.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.07916/2.211, allocations: 46.19 MB / 1.187 GB, free: 178.1 MB / 0.6042 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)