Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [: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.7656/0.7656, 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.001139/0.001139, allocations: 171.6 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.209/1.209, allocations: 170.5 MB / 373.9 MB, free: 15.79 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.001789/0.001789, allocations: 124.1 kB / 444.5 MB, free: 9.332 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.432/0.432, allocations: 73.4 MB / 0.666 GB, free: 62.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.201/0.6331, allocations: 169.1 MB / 0.8312 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/0.6335, allocations: 93.39 kB / 0.8313 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of FrontEnd: time 0.5501/1.184, allocations: 99.22 MB / 0.9282 GB, free: 161.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.153e-05/1.184, allocations: 42.53 kB / 0.9282 GB, free: 161.9 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.002842/1.187, allocations: 1.602 MB / 0.9298 GB, free: 161 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/1.187, allocations: 11.81 kB / 0.9298 GB, free: 161 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/1.198, allocations: 1.515 MB / 0.9313 GB, free: 160.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003294/1.202, allocations: 1.22 MB / 0.9325 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.829e-05/1.202, allocations: 36.91 kB / 0.9325 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002844/1.202, allocations: 70 kB / 0.9326 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003484/1.205, allocations: 1.743 MB / 0.9343 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003613/1.209, allocations: 2.085 MB / 0.9363 GB, free: 159.9 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.131e-05/1.209, allocations: 11.78 kB / 0.9363 GB, free: 159.9 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/1.209, allocations: 5.344 kB / 0.9363 GB, free: 159.9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001309/1.209, allocations: 84.5 kB / 0.9364 GB, free: 159.9 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01643/1.226, allocations: 8.678 MB / 0.9449 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002628/1.229, allocations: 1.651 MB / 0.9465 GB, free: 154.3 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/1.23, allocations: 0.9082 MB / 0.9474 GB, free: 154 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.479e-05/1.23, allocations: 13.81 kB / 0.9474 GB, free: 153.9 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/1.23, allocations: 45.03 kB / 0.9474 GB, free: 153.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=89): time 4.378e-06/1.23, allocations: 0 / 0.9474 GB, free: 153.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=131): time 0.01433/1.244, allocations: 5.814 MB / 0.9531 GB, free: 151.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.875e-05/1.244, allocations: 223.2 kB / 0.9533 GB, free: 151.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/1.246, allocations: 0.7665 MB / 0.9541 GB, free: 151.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002285/1.246, allocations: 27.33 kB / 0.9541 GB, free: 151.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/1.246, allocations: 0.5092 MB / 0.9546 GB, free: 150.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004322/1.247, allocations: 427.5 kB / 0.955 GB, free: 150.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/1.247, allocations: 1.562 kB / 0.955 GB, free: 150.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.031e-05/1.247, allocations: 353.7 kB / 0.9553 GB, free: 150.2 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/1.248, allocations: 0.9741 MB / 0.9563 GB, free: 149.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/1.25, allocations: 1.215 MB / 0.9575 GB, free: 149.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/1.252, allocations: 1.116 MB / 0.9586 GB, free: 148.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/1.252, allocations: 10.41 kB / 0.9586 GB, free: 148.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.01005/1.262, allocations: 3.676 MB / 0.9622 GB, free: 147.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.952e-05/1.262, allocations: 9.703 kB / 0.9622 GB, free: 147.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-05/1.262, allocations: 6.469 kB / 0.9622 GB, free: 147.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007898/1.27, allocations: 1.58 MB / 0.9637 GB, free: 147 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002575/1.273, allocations: 368.5 kB / 0.9641 GB, free: 146.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02383/1.297, allocations: 23.35 MB / 0.9869 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/1.3, allocations: 203.7 kB / 0.9871 GB, free: 125.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002307/1.3, allocations: 59.97 kB / 0.9871 GB, free: 125.4 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 (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000454/1.3, allocations: 132.6 kB / 0.9873 GB, free: 125.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003064/1.301, allocations: 146.3 kB / 0.9874 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008448/1.309, allocations: 3.797 MB / 0.9911 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/1.309, allocations: 12 kB / 0.9911 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.7e-05/1.309, allocations: 16 kB / 0.9911 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/1.309, allocations: 11.97 kB / 0.9911 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/1.321, allocations: 6.014 MB / 0.997 GB, free: 115.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/1.321, allocations: 3.938 kB / 0.997 GB, free: 115.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/1.323, allocations: 315.9 kB / 0.9973 GB, free: 114.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006032/1.329, allocations: 1.466 MB / 0.9988 GB, free: 113.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001911/1.329, allocations: 15.97 kB / 0.9988 GB, free: 113.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01968/1.349, allocations: 22.36 MB / 1.021 GB, free: 89.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/1.349, allocations: 3.938 kB / 1.021 GB, free: 89.52 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007601/1.357, allocations: 3.669 MB / 1.024 GB, free: 85.72 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/1.358, allocations: 451.2 kB / 1.025 GB, free: 85.26 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003009/1.358, allocations: 11.89 kB / 1.025 GB, free: 85.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/1.36, allocations: 203.9 kB / 1.025 GB, free: 85.05 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/1.36, allocations: 68.91 kB / 1.025 GB, free: 84.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/1.361, allocations: 55.95 kB / 1.025 GB, free: 84.93 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0008264/1.361, allocations: 0.5723 MB / 1.025 GB, free: 84.35 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002479/1.364, allocations: 0.5078 MB / 1.026 GB, free: 83.84 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003767/1.364, allocations: 143.3 kB / 1.026 GB, free: 83.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00619/1.371, allocations: 4.065 MB / 1.03 GB, free: 79.51 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.371, allocations: 4 kB / 1.03 GB, free: 79.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.004541/1.375, allocations: 2.849 MB / 1.033 GB, free: 76.52 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/1.378, allocations: 419.7 kB / 1.033 GB, free: 76.12 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007391/1.385, allocations: 3.002 MB / 1.036 GB, free: 73.05 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001426/1.386, allocations: 1.553 MB / 1.038 GB, free: 71.47 MB / 0.5886 GB Notification: Performance of SimCode: time 1.293e-06/1.386, allocations: 4 kB / 1.038 GB, free: 71.47 MB / 0.5886 GB Notification: Performance of Templates: time 0.05666/1.443, allocations: 38.94 MB / 1.076 GB, free: 32.92 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)