Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [: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.7259/0.7259, 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.001086/0.001086, allocations: 173.2 kB / 171.6 MB, free: 1.953 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.511/1.511, 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.001778/0.001778, allocations: 120 kB / 444.4 MB, free: 9.371 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.5235/0.5235, allocations: 73.38 MB / 0.666 GB, free: 62.61 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1855/0.7091, allocations: 143.6 MB / 0.8062 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.7094, allocations: 91.94 kB / 0.8063 GB, free: 8.578 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.09561/0.805, allocations: 31.31 MB / 0.8369 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.338e-05/0.8051, allocations: 23.94 kB / 0.8369 GB, free: 9.066 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002486/0.8076, allocations: 0.7961 MB / 0.8377 GB, free: 8.223 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.8077, allocations: 8.031 kB / 0.8377 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002358/0.8101, allocations: 195 kB / 0.8379 GB, free: 8.023 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.8118, allocations: 491.9 kB / 0.8384 GB, free: 7.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.943e-05/0.8118, allocations: 19.94 kB / 0.8384 GB, free: 7.48 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002937/0.8121, allocations: 40 kB / 0.8384 GB, free: 7.441 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001424/0.8136, allocations: 466.1 kB / 0.8389 GB, free: 6.988 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.8154, allocations: 0.7827 MB / 0.8396 GB, free: 6.09 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.461e-05/0.8154, allocations: 7.938 kB / 0.8396 GB, free: 6.082 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-05/0.8155, allocations: 4 kB / 0.8396 GB, free: 6.078 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.543e-05/0.8156, allocations: 44.97 kB / 0.8397 GB, free: 6.035 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005936/0.8216, allocations: 3.875 MB / 0.8435 GB, free: 1.973 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005321/0.8221, allocations: 279.4 kB / 0.8437 GB, free: 1.691 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004269/0.8226, allocations: 216.8 kB / 0.8439 GB, free: 1.477 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.8226, allocations: 4 kB / 0.8439 GB, free: 1.473 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.8227, allocations: 38.56 kB / 0.844 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=33): time 2.424e-06/0.8227, allocations: 0 / 0.844 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of matching and sorting (n=40): time 0.006053/0.8287, allocations: 2.016 MB / 0.8459 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.8288, allocations: 55.41 kB / 0.846 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007384/0.8296, allocations: 337 kB / 0.8463 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.408e-05/0.8297, allocations: 25.7 kB / 0.8463 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.8299, allocations: 283.6 kB / 0.8466 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.8301, allocations: 142 kB / 0.8467 GB, free: 14.47 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.8302, allocations: 0 / 0.8467 GB, free: 14.47 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002246/0.8304, allocations: 358.8 kB / 0.8471 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004766/0.8309, allocations: 221.2 kB / 0.8473 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006233/0.8315, allocations: 376.1 kB / 0.8477 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005857/0.8321, allocations: 289.4 kB / 0.8479 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.8321, allocations: 3.938 kB / 0.8479 GB, free: 13.17 MB / 0.5573 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002244/0.8344, allocations: 0.8517 MB / 0.8488 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.8344, allocations: 7.906 kB / 0.8488 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.8345, allocations: 4 kB / 0.8488 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.8356, allocations: 223.5 kB / 0.849 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007867/0.8364, allocations: 103.8 kB / 0.8491 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006434/0.8428, allocations: 4.627 MB / 0.8536 GB, free: 6.988 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009335/0.8438, allocations: 15.89 kB / 0.8536 GB, free: 6.973 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.8439, allocations: 24.06 kB / 0.8537 GB, free: 6.949 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002431/0.8442, allocations: 121.8 kB / 0.8538 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.8444, allocations: 47.44 kB / 0.8538 GB, free: 6.777 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002219/0.8466, allocations: 0.7456 MB / 0.8545 GB, free: 6.02 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.8467, allocations: 4 kB / 0.8545 GB, free: 6.016 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.8467, allocations: 0 / 0.8545 GB, free: 6.016 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.8467, allocations: 7.891 kB / 0.8546 GB, free: 6.008 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003569/0.8503, allocations: 1.393 MB / 0.8559 GB, free: 4.539 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.8503, allocations: 0 / 0.8559 GB, free: 4.539 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005413/0.8509, allocations: 67.89 kB / 0.856 GB, free: 4.473 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009708/0.8519, allocations: 202.5 kB / 0.8562 GB, free: 4.266 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.831e-05/0.8519, allocations: 0 / 0.8562 GB, free: 4.266 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005986/0.8579, allocations: 4.546 MB / 0.8606 GB, free: 15.37 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.858, allocations: 192 / 0.8606 GB, free: 15.37 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002747/0.8607, allocations: 1.207 MB / 0.8618 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005012/0.8613, allocations: 164.5 kB / 0.8619 GB, free: 13.89 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/0.8615, allocations: 7.906 kB / 0.862 GB, free: 13.89 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005909/0.8621, allocations: 15.92 kB / 0.862 GB, free: 13.87 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.253e-05/0.8622, allocations: 27.97 kB / 0.862 GB, free: 13.84 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.087e-05/0.8622, allocations: 19.98 kB / 0.862 GB, free: 13.82 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.0004524/0.8627, allocations: 247.2 kB / 0.8623 GB, free: 13.59 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00124/0.864, allocations: 148 kB / 0.8624 GB, free: 13.45 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002855/0.8643, allocations: 123.1 kB / 0.8625 GB, free: 13.32 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002227/0.8665, allocations: 0.9041 MB / 0.8634 GB, free: 12.38 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.8665, allocations: 7.938 kB / 0.8634 GB, free: 12.38 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/0.868, allocations: 0.6109 MB / 0.864 GB, free: 11.73 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.8693, allocations: 139 kB / 0.8641 GB, free: 11.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003903/0.8732, allocations: 0.9852 MB / 0.8651 GB, free: 10.56 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001478/0.8747, allocations: 0.972 MB / 0.866 GB, free: 9.559 MB / 0.573 GB Notification: Performance of SimCode: time 1.563e-06/0.8747, allocations: 0 / 0.866 GB, free: 9.559 MB / 0.573 GB Notification: Performance of Templates: time 0.02662/0.9014, allocations: 8.133 MB / 0.874 GB, free: 1.52 MB / 0.573 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)