Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [: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 7.0.3-maint.7.0.x/package.mo): time 1.333/1.333, allocations: 249.4 MB / 256.7 MB, free: 6.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 188.4 kB / 316 MB, free: 3.574 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.2 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009908/0.0009908, allocations: 97.83 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.494e-06/7.534e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2098, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6615/0.8714, allocations: 147.7 MB / 1.029 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.8717, allocations: 91.81 kB / 1.029 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.0649/0.9367, allocations: 27.08 MB / 1.055 GB, free: 1.816 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.072e-05/0.9368, allocations: 19.92 kB / 1.055 GB, free: 1.797 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001063/0.9378, allocations: 0.6752 MB / 1.056 GB, free: 1.109 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.9379, allocations: 16.02 kB / 1.056 GB, free: 1.094 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.9393, allocations: 183 kB / 1.056 GB, free: 0.9141 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006055/0.9399, allocations: 397.8 kB / 1.057 GB, free: 0.5234 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.94, allocations: 12 kB / 1.057 GB, free: 0.5117 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.581e-05/0.94, allocations: 20 kB / 1.057 GB, free: 0.4922 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005812/0.9406, allocations: 356.3 kB / 1.057 GB, free: 256 kB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008808/0.9415, allocations: 0.6479 MB / 1.058 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.9416, allocations: 3.938 kB / 1.058 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/0.9416, allocations: 7.906 kB / 1.058 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-05/0.9417, allocations: 54.39 kB / 1.058 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003216/0.9449, allocations: 3.722 MB / 1.061 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/0.9456, allocations: 425.1 kB / 1.062 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.9458, allocations: 168.5 kB / 1.062 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.9459, allocations: 8.375 kB / 1.062 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.9459, allocations: 45.69 kB / 1.062 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=30): time 2.495e-06/0.9459, allocations: 0 / 1.062 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001477/0.9474, allocations: 0.8038 MB / 1.063 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.9475, allocations: 117.8 kB / 1.063 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.9478, allocations: 301 kB / 1.063 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.9478, allocations: 25.98 kB / 1.063 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.9479, allocations: 238.6 kB / 1.063 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.539e-05/0.948, allocations: 116.1 kB / 1.063 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.9481, allocations: 3.938 kB / 1.063 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.9482, allocations: 348.8 kB / 1.064 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.9485, allocations: 163.2 kB / 1.064 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003392/0.9489, allocations: 343.3 kB / 1.064 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.9492, allocations: 213.8 kB / 1.064 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.9492, allocations: 4 kB / 1.064 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008992/0.9501, allocations: 0.6044 MB / 1.065 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.9501, allocations: 4 kB / 1.065 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.9501, allocations: 8 kB / 1.065 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003358/0.9505, allocations: 88.3 kB / 1.065 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/0.9509, allocations: 111.6 kB / 1.065 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/0.9539, allocations: 3.848 MB / 1.069 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/0.9542, allocations: 15.98 kB / 1.069 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.9543, allocations: 19.38 kB / 1.069 GB, free: 4.156 MB / 0.6823 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 (57): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.9544, allocations: 134.4 kB / 1.069 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.9545, allocations: 47.62 kB / 1.069 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008121/0.9553, allocations: 495.1 kB / 1.07 GB, free: 3.598 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.9554, allocations: 4 kB / 1.07 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.9554, allocations: 4 kB / 1.07 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.9554, allocations: 3.938 kB / 1.07 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.957, allocations: 1.206 MB / 1.071 GB, free: 2.488 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.9571, allocations: 8.031 kB / 1.071 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.9573, allocations: 55.47 kB / 1.071 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002792/0.9576, allocations: 86.58 kB / 1.071 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.9576, allocations: 4.281 kB / 1.071 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002978/0.9606, allocations: 3.855 MB / 1.075 GB, free: 14.28 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.9606, allocations: 4.031 kB / 1.075 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009862/0.9616, allocations: 0.8999 MB / 1.076 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.9618, allocations: 151 kB / 1.076 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.989e-05/0.9619, allocations: 4 kB / 1.076 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/0.9622, allocations: 15.89 kB / 1.076 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.9623, allocations: 23.22 kB / 1.076 GB, free: 13.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.9623, allocations: 11.25 kB / 1.076 GB, free: 13.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0002289/0.9625, allocations: 235.8 kB / 1.076 GB, free: 12.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007006/0.9632, allocations: 104 kB / 1.076 GB, free: 12.88 MB / 0.698 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 (33): * Single equations (assignments): 30 * 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 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001867/0.9634, allocations: 114.4 kB / 1.076 GB, free: 12.76 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.9645, allocations: 0.7383 MB / 1.077 GB, free: 12.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.9646, allocations: 0 / 1.077 GB, free: 12.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006281/0.9652, allocations: 0.5074 MB / 1.078 GB, free: 11.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006596/0.9659, allocations: 113.5 kB / 1.078 GB, free: 11.53 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.9671, allocations: 0.6649 MB / 1.078 GB, free: 10.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005865/0.9677, allocations: 0.9004 MB / 1.079 GB, free: 9.965 MB / 0.698 GB Notification: Performance of SimCode: time 3.6e-07/0.9677, allocations: 4 kB / 1.079 GB, free: 9.961 MB / 0.698 GB Notification: Performance of Templates: time 0.01038/0.9781, allocations: 5.542 MB / 1.085 GB, free: 4.469 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches