Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.7321/0.7321, 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.001212/0.001212, allocations: 172.9 kB / 171.6 MB, free: 2.035 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.452/1.452, allocations: 170.5 MB / 373.9 MB, free: 15.8 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.00172/0.001721, allocations: 122.4 kB / 444.5 MB, free: 9.336 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.5966/0.5966, allocations: 73.39 MB / 0.666 GB, free: 62.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1694/0.7661, allocations: 129.7 MB / 0.7927 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.7665, allocations: 96.73 kB / 0.7928 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.7256/1.492, allocations: 138.5 MB / 0.9281 GB, free: 137.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0004766/1.493, allocations: 91.36 kB / 0.9282 GB, free: 137.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: 1044 * Number of variables: 1044 Notification: Performance of Generate backend data structure: time 0.01399/1.507, allocations: 3.364 MB / 0.9314 GB, free: 135.9 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/1.507, allocations: 11.03 kB / 0.9315 GB, free: 135.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008102/1.515, allocations: 1.027 MB / 0.9325 GB, free: 135.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008274/1.523, allocations: 2.622 MB / 0.935 GB, free: 135.1 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000271/1.524, allocations: 116.5 kB / 0.9351 GB, free: 135.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002313/1.526, allocations: 209.1 kB / 0.9353 GB, free: 135.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01167/1.538, allocations: 4.579 MB / 0.9398 GB, free: 135.1 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01831/1.556, allocations: 6.239 MB / 0.9459 GB, free: 134.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002209/1.556, allocations: 14.06 kB / 0.9459 GB, free: 134.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001744/1.558, allocations: 7.844 kB / 0.9459 GB, free: 134.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001086/1.559, allocations: 403.4 kB / 0.9463 GB, free: 134.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0428/1.602, allocations: 24.79 MB / 0.9705 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002775/1.605, allocations: 2.334 MB / 0.9728 GB, free: 120 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00333/1.608, allocations: 2.446 MB / 0.9752 GB, free: 119.1 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/1.608, allocations: 20.98 kB / 0.9752 GB, free: 119.1 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/1.608, allocations: 57.08 kB / 0.9752 GB, free: 119.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=146): time 4.478e-06/1.608, allocations: 0 / 0.9752 GB, free: 119.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=251): time 0.07188/1.68, allocations: 22.4 MB / 0.9971 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/1.68, allocations: 77.41 kB / 0.9972 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002796/1.683, allocations: 1.276 MB / 0.9984 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0006734/1.684, allocations: 25.7 kB / 0.9985 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008972/1.685, allocations: 1.448 MB / 0.9999 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001085/1.686, allocations: 0.8159 MB / 1.001 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005235/1.686, allocations: 0 / 1.001 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001851/1.686, allocations: 415 kB / 1.001 GB, free: 107.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003511/1.69, allocations: 3.062 MB / 1.004 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003796/1.694, allocations: 3.598 MB / 1.008 GB, free: 101 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0055/1.699, allocations: 3.854 MB / 1.011 GB, free: 97.13 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/1.699, allocations: 8 kB / 1.011 GB, free: 97.12 MB / 0.5886 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.02413/1.723, allocations: 12.98 MB / 1.024 GB, free: 84.15 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/1.724, allocations: 12.03 kB / 1.024 GB, free: 84.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.368e-05/1.724, allocations: 12 kB / 1.024 GB, free: 84.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02394/1.748, allocations: 8.178 MB / 1.032 GB, free: 75.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/1.749, allocations: 283.5 kB / 1.032 GB, free: 75.65 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04941/1.798, allocations: 32.48 MB / 1.064 GB, free: 42.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00335/1.802, allocations: 102.7 kB / 1.064 GB, free: 42.69 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001116/1.803, allocations: 263.8 kB / 1.064 GB, free: 42.43 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(19,63.2%) 19,(12,50.0%) 18,(12,52.8%) 10} * Non-linear torn systems: 3 {20 18,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.00131/1.804, allocations: 153.4 kB / 1.065 GB, free: 42.28 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001219/1.805, allocations: 229.2 kB / 1.065 GB, free: 42.05 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02579/1.831, allocations: 13.24 MB / 1.078 GB, free: 28.82 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.986e-05/1.831, allocations: 27.89 kB / 1.078 GB, free: 28.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.14e-05/1.831, allocations: 23.94 kB / 1.078 GB, free: 28.77 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.425e-05/1.831, allocations: 11.95 kB / 1.078 GB, free: 28.76 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03874/1.87, allocations: 19.16 MB / 1.096 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-05/1.87, allocations: 4 kB / 1.096 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008878/1.871, allocations: 159.8 kB / 1.097 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02398/1.895, allocations: 8.093 MB / 1.104 GB, free: 1.238 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008294/1.896, allocations: 87.77 kB / 1.105 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3426/2.239, allocations: 32.04 MB / 1.136 GB, free: 203.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.428e-05/2.239, allocations: 9.781 kB / 1.136 GB, free: 203.1 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02428/2.263, allocations: 13.27 MB / 1.149 GB, free: 202.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002632/2.266, allocations: 1.05 MB / 1.15 GB, free: 202 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009095/2.267, allocations: 12.48 kB / 1.15 GB, free: 202 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00197/2.269, allocations: 87.86 kB / 1.15 GB, free: 202 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004999/2.269, allocations: 202.8 kB / 1.15 GB, free: 202 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003991/2.27, allocations: 241 kB / 1.15 GB, free: 202 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.001317/2.271, allocations: 0.9612 MB / 1.151 GB, free: 201.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003879/2.275, allocations: 1.108 MB / 1.152 GB, free: 201.9 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(12,54.2%) 10,(12,50.0%) 18,(19,63.2%) 19} * Non-linear torn systems: 3 {12 10,12 18,20 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004945/2.275, allocations: 144.4 kB / 1.153 GB, free: 201.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01703/2.292, allocations: 9.855 MB / 1.162 GB, free: 201.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/2.292, allocations: 0 / 1.162 GB, free: 201.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01314/2.305, allocations: 6.259 MB / 1.168 GB, free: 200.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002897/2.308, allocations: 414 kB / 1.169 GB, free: 200.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01702/2.325, allocations: 7.885 MB / 1.176 GB, free: 199.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003381/2.329, allocations: 3.25 MB / 1.18 GB, free: 198.7 MB / 0.6042 GB Notification: Performance of SimCode: time 1.382e-06/2.329, allocations: 7.531 kB / 1.18 GB, free: 198.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.09454/2.423, allocations: 68.45 MB / 1.246 GB, free: 159.7 MB / 0.6042 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)