Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [: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.815/0.815, allocations: 132.4 MB / 139.7 MB, free: 15.56 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.001304/0.001305, allocations: 163.3 kB / 171.6 MB, free: 1.988 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.579/1.579, allocations: 170.5 MB / 373.9 MB, free: 15.84 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.001808/0.001808, allocations: 112 kB / 444.4 MB, free: 9.355 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.4216/0.4216, allocations: 73.39 MB / 0.666 GB, free: 62.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1925/0.6142, allocations: 171.7 MB / 0.8337 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.6145, allocations: 91.94 kB / 0.8338 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of FrontEnd: time 0.5816/1.196, allocations: 100.7 MB / 0.9321 GB, free: 161.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002077/1.196, allocations: 44.25 kB / 0.9321 GB, free: 161.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: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.006701/1.203, allocations: 1.632 MB / 0.9337 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/1.203, allocations: 9.375 kB / 0.9337 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01384/1.217, allocations: 1.601 MB / 0.9353 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007983/1.225, allocations: 2.096 MB / 0.9373 GB, free: 159.9 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/1.225, allocations: 35.69 kB / 0.9374 GB, free: 159.9 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007036/1.226, allocations: 72.89 kB / 0.9375 GB, free: 159.9 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004714/1.231, allocations: 1.692 MB / 0.9391 GB, free: 159.6 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006195/1.237, allocations: 2.078 MB / 0.9411 GB, free: 158.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.574e-05/1.237, allocations: 12.05 kB / 0.9411 GB, free: 158.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004846/1.237, allocations: 5.281 kB / 0.9411 GB, free: 158.6 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001546/1.238, allocations: 88.89 kB / 0.9412 GB, free: 158.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0185/1.256, allocations: 8.682 MB / 0.9497 GB, free: 153.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002379/1.259, allocations: 1.435 MB / 0.9511 GB, free: 153 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/1.26, allocations: 0.9001 MB / 0.952 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.637e-05/1.26, allocations: 9.312 kB / 0.952 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/1.26, allocations: 49.52 kB / 0.952 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=89): time 3.116e-06/1.26, allocations: 3 kB / 0.9521 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=153): time 0.02011/1.28, allocations: 6.984 MB / 0.9589 GB, free: 150.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.545e-05/1.28, allocations: 230.1 kB / 0.9591 GB, free: 149.9 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00209/1.282, allocations: 0.8103 MB / 0.9599 GB, free: 149.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.000325/1.283, allocations: 25.7 kB / 0.9599 GB, free: 149.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/1.283, allocations: 0.5255 MB / 0.9604 GB, free: 149 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007266/1.284, allocations: 493.6 kB / 0.9609 GB, free: 148.6 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/1.284, allocations: 0 / 0.9609 GB, free: 148.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.284, allocations: 370.9 kB / 0.9612 GB, free: 148.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/1.286, allocations: 1.139 MB / 0.9624 GB, free: 147.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/1.288, allocations: 1.405 MB / 0.9637 GB, free: 146.8 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00245/1.29, allocations: 1.311 MB / 0.965 GB, free: 146.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/1.29, allocations: 2.156 kB / 0.965 GB, free: 146.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01203/1.303, allocations: 4.514 MB / 0.9694 GB, free: 143.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/1.303, allocations: 9.75 kB / 0.9694 GB, free: 143.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/1.303, allocations: 9.688 kB / 0.9694 GB, free: 143.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00911/1.312, allocations: 2.086 MB / 0.9715 GB, free: 142.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/1.314, allocations: 341.6 kB / 0.9718 GB, free: 142.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0248/1.339, allocations: 20.89 MB / 0.9922 GB, free: 121 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003589/1.343, allocations: 207.7 kB / 0.9924 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006183/1.343, allocations: 63.97 kB / 0.9925 GB, free: 120.7 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008547/1.344, allocations: 129.4 kB / 0.9926 GB, free: 120.6 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000945/1.345, allocations: 166 kB / 0.9927 GB, free: 120.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/1.356, allocations: 4.652 MB / 0.9973 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/1.356, allocations: 16 kB / 0.9973 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.901e-05/1.356, allocations: 16 kB / 0.9973 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/1.356, allocations: 7.969 kB / 0.9973 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/1.37, allocations: 6.668 MB / 1.004 GB, free: 109 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/1.371, allocations: 4 kB / 1.004 GB, free: 109 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001749/1.372, allocations: 283.9 kB / 1.004 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00819/1.381, allocations: 1.941 MB / 1.006 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000292/1.381, allocations: 15.97 kB / 1.006 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02239/1.403, allocations: 20.01 MB / 1.026 GB, free: 85.83 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/1.403, allocations: 4 kB / 1.026 GB, free: 85.82 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009711/1.413, allocations: 4.343 MB / 1.03 GB, free: 81.39 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/1.415, allocations: 0.4995 MB / 1.03 GB, free: 80.87 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007917/1.415, allocations: 8 kB / 1.03 GB, free: 80.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002657/1.418, allocations: 207.7 kB / 1.03 GB, free: 80.66 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/1.418, allocations: 85.09 kB / 1.031 GB, free: 80.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001964/1.419, allocations: 47.97 kB / 1.031 GB, free: 80.52 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.001/1.42, allocations: 0.6096 MB / 1.031 GB, free: 79.91 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00327/1.423, allocations: 0.5742 MB / 1.032 GB, free: 79.34 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005765/1.423, allocations: 190.5 kB / 1.032 GB, free: 79.15 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.007207/1.431, allocations: 4.048 MB / 1.036 GB, free: 75.02 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/1.431, allocations: 0 / 1.036 GB, free: 75.02 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.004799/1.435, allocations: 2.63 MB / 1.038 GB, free: 72.32 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002815/1.438, allocations: 422 kB / 1.039 GB, free: 71.91 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009432/1.448, allocations: 3.324 MB / 1.042 GB, free: 68.51 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00212/1.45, allocations: 1.62 MB / 1.044 GB, free: 66.86 MB / 0.5886 GB Notification: Performance of SimCode: time 1.302e-06/1.45, allocations: 0 / 1.044 GB, free: 66.86 MB / 0.5886 GB Notification: Performance of Templates: time 0.06296/1.513, allocations: 44.91 MB / 1.088 GB, free: 22.25 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)