Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") [: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.7853/0.7853, 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.00136/0.00136, allocations: 169.3 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.757/1.757, allocations: 170.5 MB / 373.9 MB, free: 15.83 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.001783/0.001783, allocations: 122.7 kB / 444.4 MB, free: 9.379 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.4677/0.4678, allocations: 73.4 MB / 0.666 GB, free: 62.23 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1981/0.666, allocations: 154.2 MB / 0.8166 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/0.6663, allocations: 91.94 kB / 0.8167 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.1649/0.8313, allocations: 62.09 MB / 0.8773 GB, free: 15.24 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001756/0.8315, allocations: 36 kB / 0.8773 GB, free: 15.21 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.008077/0.8396, allocations: 1.548 MB / 0.8788 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 8.682e-05/0.8397, allocations: 8.031 kB / 0.8789 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005103/0.8448, allocations: 437.6 kB / 0.8793 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004499/0.8494, allocations: 1.135 MB / 0.8804 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.723e-05/0.8495, allocations: 48 kB / 0.8804 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005954/0.8501, allocations: 91.84 kB / 0.8805 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005555/0.8557, allocations: 1.826 MB / 0.8823 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005955/0.8616, allocations: 2.26 MB / 0.8845 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.025e-05/0.8617, allocations: 7.938 kB / 0.8845 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002458/0.862, allocations: 0 / 0.8845 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001511/0.8622, allocations: 87.03 kB / 0.8846 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4185/1.281, allocations: 7.899 MB / 0.8923 GB, free: 137.4 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007123/1.281, allocations: 0.5153 MB / 0.8928 GB, free: 137.4 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004828/1.282, allocations: 395.5 kB / 0.8932 GB, free: 137.4 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/1.282, allocations: 88.05 kB / 0.8933 GB, free: 137.3 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/1.282, allocations: 39.19 kB / 0.8933 GB, free: 137.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=36): time 3.126e-06/1.282, allocations: 0 / 0.8933 GB, free: 137.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=52): time 0.00932/1.291, allocations: 3.032 MB / 0.8963 GB, free: 137.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/1.291, allocations: 81.36 kB / 0.8963 GB, free: 137 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/1.293, allocations: 0.7441 MB / 0.8971 GB, free: 136.9 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.782e-05/1.293, allocations: 25.7 kB / 0.8971 GB, free: 136.9 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003633/1.293, allocations: 0.6785 MB / 0.8978 GB, free: 136.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/1.293, allocations: 178.7 kB / 0.8979 GB, free: 136.4 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.933e-05/1.293, allocations: 3.062 kB / 0.8979 GB, free: 136.4 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001321/1.293, allocations: 390.2 kB / 0.8983 GB, free: 136.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007435/1.294, allocations: 0.6096 MB / 0.8989 GB, free: 136.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008937/1.295, allocations: 0.9719 MB / 0.8999 GB, free: 135.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/1.296, allocations: 0.8659 MB / 0.9007 GB, free: 135.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/1.296, allocations: 3.812 kB / 0.9007 GB, free: 135.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.006148/1.302, allocations: 2.484 MB / 0.9031 GB, free: 135.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008762/1.303, allocations: 4.525 MB / 0.9075 GB, free: 130.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/1.303, allocations: 17.12 kB / 0.9076 GB, free: 130.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004419/1.308, allocations: 0.9431 MB / 0.9085 GB, free: 130.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000977/1.309, allocations: 216.1 kB / 0.9087 GB, free: 130.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007348/1.316, allocations: 6.373 MB / 0.9149 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/1.318, allocations: 108.2 kB / 0.915 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002207/1.318, allocations: 51.59 kB / 0.9151 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/1.318, allocations: 3.812 kB / 0.9151 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002376/1.32, allocations: 1.31 MB / 0.9163 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.146e-05/1.32, allocations: 14 kB / 0.9164 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/1.32, allocations: 20.52 kB / 0.9164 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/1.322, allocations: 265.5 kB / 0.9166 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.848e-05/1.322, allocations: 28.77 kB / 0.9167 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/1.323, allocations: 74.48 kB / 0.9167 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/1.323, allocations: 47.61 kB / 0.9168 GB, free: 127.4 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003308/1.323, allocations: 139.6 kB / 0.9169 GB, free: 127.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002531/1.323, allocations: 67.88 kB / 0.917 GB, free: 127.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005741/1.329, allocations: 2.181 MB / 0.9191 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/1.329, allocations: 6.625 kB / 0.9191 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/1.329, allocations: 3.375 kB / 0.9191 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/1.329, allocations: 3.281 kB / 0.9191 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00964/1.339, allocations: 3.702 MB / 0.9227 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/1.339, allocations: 3.094 kB / 0.9227 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/1.339, allocations: 101.5 kB / 0.9228 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004894/1.344, allocations: 1.21 MB / 0.924 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/1.344, allocations: 3.625 kB / 0.924 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009881/1.354, allocations: 8.734 MB / 0.9325 GB, free: 121.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/1.354, allocations: 3.844 kB / 0.9326 GB, free: 121.9 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005686/1.36, allocations: 2.229 MB / 0.9347 GB, free: 121.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007152/1.361, allocations: 274.8 kB / 0.935 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003245/1.361, allocations: 7.625 kB / 0.935 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/1.362, allocations: 104.9 kB / 0.9351 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/1.362, allocations: 28.94 kB / 0.9351 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.21e-05/1.362, allocations: 19.67 kB / 0.9351 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0009059/1.363, allocations: 0.5738 MB / 0.9357 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002669/1.366, allocations: 0.5259 MB / 0.9362 GB, free: 121.2 MB / 0.5886 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 (42): * Single equations (assignments): 38 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003986/1.366, allocations: 164.2 kB / 0.9364 GB, free: 121.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003755/1.37, allocations: 2.377 MB / 0.9387 GB, free: 120.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.37, allocations: 0 / 0.9387 GB, free: 120.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001609/1.372, allocations: 1.121 MB / 0.9398 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/1.373, allocations: 181 kB / 0.94 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006553/1.38, allocations: 2.476 MB / 0.9424 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002715/1.382, allocations: 1.692 MB / 0.944 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of SimCode: time 2.375e-06/1.382, allocations: 4 kB / 0.944 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.04847/1.431, allocations: 22.6 MB / 0.9661 GB, free: 116.3 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)