Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.7597/0.7597, 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.00113/0.00113, allocations: 172 kB / 171.6 MB, free: 1.984 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.77/1.77, 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.00187/0.00187, allocations: 112 kB / 444.4 MB, free: 9.375 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.5298/0.5298, allocations: 73.39 MB / 0.666 GB, free: 62.31 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1895/0.7193, allocations: 144.2 MB / 0.8068 GB, free: 7.98 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/0.7197, allocations: 95.94 kB / 0.8069 GB, free: 7.887 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.07551/0.7952, allocations: 28.16 MB / 0.8344 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.242e-05/0.7954, allocations: 12 kB / 0.8344 GB, free: 11.59 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002043/0.7974, allocations: 0.6754 MB / 0.8351 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.247e-05/0.7975, allocations: 8.031 kB / 0.8351 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003214/0.8007, allocations: 430.8 kB / 0.8355 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.8022, allocations: 487.1 kB / 0.836 GB, free: 9.922 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.8022, allocations: 12 kB / 0.836 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.8024, allocations: 16 kB / 0.836 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009451/0.8033, allocations: 481.1 kB / 0.8365 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.8044, allocations: 0.5514 MB / 0.837 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.8044, allocations: 4 kB / 0.837 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/0.8045, allocations: 0 / 0.837 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.615e-05/0.8046, allocations: 28.58 kB / 0.837 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004441/0.809, allocations: 2.343 MB / 0.8393 GB, free: 6.359 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007244/0.8097, allocations: 330.4 kB / 0.8396 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002483/0.81, allocations: 168.7 kB / 0.8398 GB, free: 5.859 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.8102, allocations: 89.11 kB / 0.8399 GB, free: 5.754 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.8102, allocations: 38.5 kB / 0.8399 GB, free: 5.707 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 2.575e-06/0.8102, allocations: 0 / 0.8399 GB, free: 5.707 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24): time 0.00465/0.8149, allocations: 1.492 MB / 0.8414 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.8149, allocations: 81.11 kB / 0.8415 GB, free: 4.105 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000441/0.8154, allocations: 331.5 kB / 0.8418 GB, free: 3.773 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.8154, allocations: 25.7 kB / 0.8418 GB, free: 3.742 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.8156, allocations: 203.7 kB / 0.842 GB, free: 3.539 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.951e-05/0.8157, allocations: 82.75 kB / 0.8421 GB, free: 3.457 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.8157, allocations: 3.938 kB / 0.8421 GB, free: 3.453 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.8159, allocations: 338.8 kB / 0.8424 GB, free: 3.113 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/0.8162, allocations: 255.9 kB / 0.8426 GB, free: 2.863 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/0.8166, allocations: 337.9 kB / 0.843 GB, free: 2.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000573/0.8172, allocations: 309.9 kB / 0.8433 GB, free: 2.199 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8172, allocations: 3.938 kB / 0.8433 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002962/0.8202, allocations: 1.016 MB / 0.8443 GB, free: 1.168 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004831/0.8207, allocations: 0.7861 MB / 0.845 GB, free: 328 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.8207, allocations: 4 kB / 0.845 GB, free: 324 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002271/0.823, allocations: 417.2 kB / 0.8454 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006395/0.8237, allocations: 111.8 kB / 0.8455 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00393/0.8276, allocations: 2.948 MB / 0.8484 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007667/0.8284, allocations: 80 kB / 0.8485 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.516e-05/0.8285, allocations: 22.59 kB / 0.8485 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.8285, allocations: 4 kB / 0.8485 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009105/0.8294, allocations: 487.5 kB / 0.849 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.8294, allocations: 4 kB / 0.849 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.5e-06/0.8294, allocations: 4 kB / 0.849 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000732/0.8302, allocations: 136 kB / 0.8491 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.8302, allocations: 4 kB / 0.8491 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006202/0.8308, allocations: 67.92 kB / 0.8492 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/0.8309, allocations: 23.86 kB / 0.8492 GB, free: 11.88 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001796/0.8311, allocations: 112.9 kB / 0.8493 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.8312, allocations: 35.53 kB / 0.8493 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003209/0.8344, allocations: 1.078 MB / 0.8504 GB, free: 10.65 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.8344, allocations: 0 / 0.8504 GB, free: 10.65 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.8344, allocations: 4 kB / 0.8504 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.8345, allocations: 4.125 kB / 0.8504 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004108/0.8386, allocations: 1.685 MB / 0.852 GB, free: 8.898 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.8386, allocations: 3.984 kB / 0.8521 GB, free: 8.895 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000423/0.839, allocations: 85.95 kB / 0.8521 GB, free: 8.812 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002482/0.8415, allocations: 0.5479 MB / 0.8527 GB, free: 8.254 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.605e-05/0.8416, allocations: 3.984 kB / 0.8527 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005446/0.847, allocations: 4.047 MB / 0.8566 GB, free: 3.969 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/0.8471, allocations: 8.031 kB / 0.8566 GB, free: 3.961 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003031/0.8501, allocations: 1.108 MB / 0.8577 GB, free: 2.805 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003447/0.8505, allocations: 168.7 kB / 0.8579 GB, free: 2.621 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.8506, allocations: 0 / 0.8579 GB, free: 2.621 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007179/0.8513, allocations: 83.89 kB / 0.858 GB, free: 2.539 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/0.8514, allocations: 24 kB / 0.858 GB, free: 2.516 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/0.8515, allocations: 8 kB / 0.858 GB, free: 2.508 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.0003883/0.8519, allocations: 275 kB / 0.8583 GB, free: 2.242 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001/0.8529, allocations: 180 kB / 0.8584 GB, free: 2.066 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004318/0.8533, allocations: 159.8 kB / 0.8586 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001895/0.8552, allocations: 0.9919 MB / 0.8595 GB, free: 0.9023 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.8553, allocations: 0.625 kB / 0.8595 GB, free: 0.9023 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008988/0.8562, allocations: 0.5381 MB / 0.8601 GB, free: 352 kB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006399/0.8568, allocations: 94.03 kB / 0.8602 GB, free: 256 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.859, allocations: 0.8007 MB / 0.8609 GB, free: 15.42 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000879/0.8599, allocations: 0.9557 MB / 0.8619 GB, free: 14.44 MB / 0.573 GB Notification: Performance of SimCode: time 5.81e-07/0.8599, allocations: 0 / 0.8619 GB, free: 14.44 MB / 0.573 GB Notification: Performance of Templates: time 0.02255/0.8825, allocations: 12.11 MB / 0.8737 GB, free: 2.352 MB / 0.573 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)