Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.706/1.706, allocations: 390.4 MB / 397.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009187/0.0009187, allocations: 184.2 kB / 490.8 MB, free: 1.918 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.048/1.048, allocations: 221.4 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000799/0.0007991, allocations: 93.61 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.811e-06/5.841e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1662, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4531/0.6194, allocations: 165.2 MB / 1.373 GB, free: 17.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.6196, allocations: 88.36 kB / 1.373 GB, free: 17.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.0569/0.6765, allocations: 29.82 MB / 1.402 GB, free: 7.488 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.032e-05/0.6765, allocations: 19.44 kB / 1.402 GB, free: 7.473 MB / 0.823 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.0007028/0.6773, allocations: 0.6717 MB / 1.403 GB, free: 22.79 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.599e-05/0.6773, allocations: 8.031 kB / 1.403 GB, free: 22.78 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.6784, allocations: 183.1 kB / 1.403 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.6788, allocations: 403.7 kB / 1.403 GB, free: 22.21 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.6789, allocations: 12 kB / 1.403 GB, free: 22.2 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.6789, allocations: 16 kB / 1.403 GB, free: 22.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004243/0.6794, allocations: 365.9 kB / 1.404 GB, free: 21.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005093/0.6799, allocations: 0.6554 MB / 1.404 GB, free: 21.29 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.6799, allocations: 7.938 kB / 1.404 GB, free: 21.28 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.6799, allocations: 7.984 kB / 1.404 GB, free: 21.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.931e-05/0.68, allocations: 47.34 kB / 1.404 GB, free: 21.23 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.6822, allocations: 3.709 MB / 1.408 GB, free: 17.55 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000457/0.6827, allocations: 426.1 kB / 1.408 GB, free: 17.21 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.6828, allocations: 183.4 kB / 1.409 GB, free: 17.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.6829, allocations: 4 kB / 1.409 GB, free: 17.06 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.167e-05/0.6829, allocations: 38.11 kB / 1.409 GB, free: 17.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.243e-06/0.6829, allocations: 0 / 1.409 GB, free: 17.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.001029/0.6839, allocations: 0.8116 MB / 1.41 GB, free: 16.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.792e-05/0.6839, allocations: 106.8 kB / 1.41 GB, free: 16.19 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.6842, allocations: 301.2 kB / 1.41 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.6842, allocations: 25.7 kB / 1.41 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/0.6843, allocations: 242.5 kB / 1.41 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.6843, allocations: 108 kB / 1.41 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.612e-05/0.6843, allocations: 0 / 1.41 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.6844, allocations: 360.2 kB / 1.411 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.6846, allocations: 160.1 kB / 1.411 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.6848, allocations: 341.2 kB / 1.411 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.685, allocations: 216.9 kB / 1.411 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.685, allocations: 3.938 kB / 1.411 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006619/0.6857, allocations: 0.5958 MB / 1.412 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.704e-06/0.6857, allocations: 8.75 kB / 1.412 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6857, allocations: 4 kB / 1.412 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002458/0.686, allocations: 103.4 kB / 1.412 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.6863, allocations: 102.6 kB / 1.412 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/0.6887, allocations: 3.863 MB / 1.416 GB, free: 9.895 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.6889, allocations: 11.98 kB / 1.416 GB, free: 9.883 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.689, allocations: 27.97 kB / 1.416 GB, free: 9.859 MB / 0.8386 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 8.959e-05/0.6891, allocations: 116.8 kB / 1.416 GB, free: 9.738 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.895e-05/0.6892, allocations: 47.38 kB / 1.416 GB, free: 9.691 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006646/0.6899, allocations: 0.4937 MB / 1.417 GB, free: 9.301 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.6899, allocations: 11.94 kB / 1.417 GB, free: 9.289 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.6899, allocations: 0 / 1.417 GB, free: 9.289 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.6899, allocations: 4 kB / 1.417 GB, free: 9.285 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.6912, allocations: 1.204 MB / 1.418 GB, free: 8.199 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.6912, allocations: 4 kB / 1.418 GB, free: 8.195 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.6915, allocations: 59.09 kB / 1.418 GB, free: 8.141 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002262/0.6917, allocations: 88.61 kB / 1.418 GB, free: 8.059 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.6917, allocations: 4 kB / 1.418 GB, free: 8.055 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002343/0.6941, allocations: 3.863 MB / 1.422 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.6941, allocations: 4 kB / 1.422 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007243/0.6948, allocations: 0.8811 MB / 1.423 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.695, allocations: 152.1 kB / 1.423 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.4e-05/0.695, allocations: 4 kB / 1.423 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.6953, allocations: 11.98 kB / 1.423 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.6953, allocations: 23.47 kB / 1.423 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.6954, allocations: 15.53 kB / 1.423 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001668/0.6955, allocations: 235.4 kB / 1.423 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005004/0.696, allocations: 115.9 kB / 1.423 GB, free: 2.594 MB / 0.8386 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.0001216/0.6962, allocations: 111.1 kB / 1.423 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008462/0.697, allocations: 0.7395 MB / 1.424 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.697, allocations: 0 / 1.424 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005409/0.6976, allocations: 0.5168 MB / 1.424 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005299/0.6981, allocations: 96.41 kB / 1.424 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009097/0.699, allocations: 0.6538 MB / 1.425 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004805/0.6995, allocations: 0.9158 MB / 1.426 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of SimCode: time 3.1e-07/0.6995, allocations: 0 / 1.426 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of Templates: time 0.008459/0.708, allocations: 5.525 MB / 1.431 GB, free: 10.25 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches