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_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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.7605/0.7605, allocations: 132.4 MB / 139.7 MB, free: 15.57 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.001203/0.001203, allocations: 166.6 kB / 171.6 MB, free: 1.98 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.413/1.413, 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.001871/0.001871, allocations: 106.7 kB / 444.4 MB, free: 9.406 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.5568/0.5569, allocations: 73.39 MB / 0.666 GB, free: 62.57 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1815/0.7384, allocations: 133.7 MB / 0.7965 GB, free: 2.637 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.7387, allocations: 93.95 kB / 0.7966 GB, free: 2.547 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.8795/1.618, allocations: 197.5 MB / 0.9895 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0006615/1.619, allocations: 130.7 kB / 0.9897 GB, free: 100.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: 1452 * Number of variables: 1452 Notification: Performance of Generate backend data structure: time 0.01949/1.638, allocations: 4.486 MB / 0.994 GB, free: 96.41 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/1.639, allocations: 8.031 kB / 0.9941 GB, free: 96.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00964/1.648, allocations: 0.9993 MB / 0.995 GB, free: 95.39 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01181/1.66, allocations: 3.395 MB / 0.9983 GB, free: 92.84 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003459/1.66, allocations: 176 kB / 0.9985 GB, free: 92.67 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003339/1.664, allocations: 327.1 kB / 0.9988 GB, free: 92.36 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0181/1.682, allocations: 5.571 MB / 1.004 GB, free: 88.9 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02687/1.709, allocations: 7.777 MB / 1.012 GB, free: 81.78 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004319/1.709, allocations: 31.77 kB / 1.012 GB, free: 81.75 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002686/1.712, allocations: 12 kB / 1.012 GB, free: 81.73 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003578/1.712, allocations: 326.5 kB / 1.012 GB, free: 81.41 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04656/1.759, allocations: 26.25 MB / 1.038 GB, free: 54.76 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/1.762, allocations: 2.154 MB / 1.04 GB, free: 52.61 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002808/1.765, allocations: 1.937 MB / 1.042 GB, free: 50.68 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001689/1.765, allocations: 25.94 kB / 1.042 GB, free: 50.66 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/1.765, allocations: 52.56 kB / 1.042 GB, free: 50.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=179): time 4.859e-06/1.765, allocations: 0 / 1.042 GB, free: 50.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=182): time 0.01253/1.778, allocations: 6.069 MB / 1.048 GB, free: 44.53 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/1.778, allocations: 73.41 kB / 1.048 GB, free: 44.45 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00252/1.78, allocations: 1.093 MB / 1.049 GB, free: 43.36 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0003834/1.781, allocations: 25.7 kB / 1.049 GB, free: 43.32 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001293/1.782, allocations: 1.948 MB / 1.051 GB, free: 41.35 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001074/1.783, allocations: 0.5966 MB / 1.051 GB, free: 40.74 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003192/1.784, allocations: 0 / 1.051 GB, free: 40.74 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0003054/1.784, allocations: 394.3 kB / 1.052 GB, free: 40.35 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002086/1.786, allocations: 1.18 MB / 1.053 GB, free: 39.17 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003485/1.789, allocations: 1.854 MB / 1.055 GB, free: 37.01 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00389/1.793, allocations: 1.536 MB / 1.056 GB, free: 35.48 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.675e-05/1.793, allocations: 11.94 kB / 1.056 GB, free: 35.46 MB / 0.5886 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01236/1.806, allocations: 4.422 MB / 1.061 GB, free: 31.05 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/1.806, allocations: 10.33 kB / 1.061 GB, free: 31.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-05/1.806, allocations: 24.91 kB / 1.061 GB, free: 31.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006671/1.813, allocations: 1.554 MB / 1.062 GB, free: 29.45 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002793/1.816, allocations: 335.4 kB / 1.063 GB, free: 29.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03457/1.85, allocations: 15.55 MB / 1.078 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003712/1.854, allocations: 51.94 kB / 1.078 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006047/1.855, allocations: 92 kB / 1.078 GB, free: 12.96 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 (174): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(14,34.7%) 24,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006104/1.855, allocations: 164.4 kB / 1.078 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007726/1.856, allocations: 209.5 kB / 1.078 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/1.868, allocations: 4.093 MB / 1.082 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.493e-05/1.868, allocations: 19.98 kB / 1.082 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.672e-05/1.868, allocations: 20 kB / 1.082 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.573e-05/1.868, allocations: 7.969 kB / 1.082 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02706/1.895, allocations: 8.102 MB / 1.09 GB, free: 272 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-05/1.895, allocations: 4 kB / 1.09 GB, free: 268 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/1.897, allocations: 155.8 kB / 1.09 GB, free: 112 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008231/1.905, allocations: 1.524 MB / 1.092 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005734/1.906, allocations: 8 kB / 1.092 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03862/1.945, allocations: 15.56 MB / 1.107 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.988e-05/1.945, allocations: 11.94 kB / 1.107 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01482/1.96, allocations: 4.482 MB / 1.111 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001891/1.961, allocations: 0.5297 MB / 1.112 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008628/1.962, allocations: 8.375 kB / 1.112 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/1.964, allocations: 39.94 kB / 1.112 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003766/1.965, allocations: 101.7 kB / 1.112 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/1.965, allocations: 44 kB / 1.112 GB, free: 9.152 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001915/1.967, allocations: 0.8061 MB / 1.113 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.005413/1.972, allocations: 0.8672 MB / 1.114 GB, free: 7.488 MB / 0.6198 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 (77): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(14,34.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004334/1.973, allocations: 115 kB / 1.114 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.008342/1.981, allocations: 4.013 MB / 1.118 GB, free: 3.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/1.981, allocations: 4.062 kB / 1.118 GB, free: 3.316 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00584/1.987, allocations: 2.5 MB / 1.12 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004448/1.991, allocations: 0.6124 MB / 1.121 GB, free: 168 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3508/2.342, allocations: 7.1 MB / 1.128 GB, free: 200.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004382/2.347, allocations: 3.683 MB / 1.131 GB, free: 200.1 MB / 0.6198 GB Notification: Performance of SimCode: time 1.232e-06/2.347, allocations: 3.609 kB / 1.131 GB, free: 200.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.09663/2.443, allocations: 40.65 MB / 1.171 GB, free: 198.6 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)