Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") [: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.677/1.677, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.000888/0.000888, allocations: 179.5 kB / 490.8 MB, free: 1.941 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.043/1.043, allocations: 221.3 MB / 0.7863 GB, free: 13.62 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.0008196/0.0008196, allocations: 91.17 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.28e-06/5.3e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1667, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4636/0.6304, allocations: 169.9 MB / 1.377 GB, free: 17.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.6306, allocations: 96.06 kB / 1.378 GB, free: 17.04 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02641/0.657, allocations: 13.1 MB / 1.39 GB, free: 13.07 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.6571, allocations: 7.375 kB / 1.39 GB, free: 13.06 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0004466/0.6575, allocations: 446.6 kB / 1.391 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.6576, allocations: 8.969 kB / 1.391 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005352/0.6581, allocations: 71.97 kB / 1.391 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.6583, allocations: 230.9 kB / 1.391 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.6583, allocations: 3.594 kB / 1.391 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.6584, allocations: 8.375 kB / 1.391 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002482/0.6586, allocations: 157.7 kB / 1.391 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.6589, allocations: 261.9 kB / 1.392 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.6589, allocations: 0.9062 kB / 1.392 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.6589, allocations: 0.9375 kB / 1.392 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.659, allocations: 17.16 kB / 1.392 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.6603, allocations: 1.626 MB / 1.393 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.225e-05/0.6604, allocations: 76.22 kB / 1.393 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/0.6604, allocations: 47.06 kB / 1.393 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.6605, allocations: 1.281 kB / 1.393 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.6605, allocations: 35.59 kB / 1.393 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.6605, allocations: 0 / 1.393 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0003649/0.6608, allocations: 177 kB / 1.393 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/0.6609, allocations: 82.42 kB / 1.394 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.661, allocations: 192 kB / 1.394 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.661, allocations: 25.7 kB / 1.394 GB, free: 26.31 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.6611, allocations: 160 kB / 1.394 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.6611, allocations: 27.55 kB / 1.394 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.978e-06/0.6611, allocations: 96 / 1.394 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.715e-05/0.6612, allocations: 330 kB / 1.394 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.274e-05/0.6613, allocations: 71.84 kB / 1.394 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.6614, allocations: 157.9 kB / 1.394 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.6616, allocations: 102.8 kB / 1.395 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6616, allocations: 5.594 kB / 1.395 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003685/0.662, allocations: 266.2 kB / 1.395 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002716/0.6623, allocations: 1.132 MB / 1.396 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.6623, allocations: 3.281 kB / 1.396 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.6623, allocations: 4 kB / 1.396 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.6625, allocations: 53.09 kB / 1.396 GB, free: 24.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.6626, allocations: 8.281 kB / 1.396 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.6628, allocations: 21.33 kB / 1.396 GB, free: 24.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.6628, allocations: 12.34 kB / 1.396 GB, free: 24.37 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.312e-06/0.6628, allocations: 10.84 kB / 1.396 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002948/0.6631, allocations: 196.1 kB / 1.396 GB, free: 24.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.6631, allocations: 1.781 kB / 1.396 GB, free: 24.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.74e-06/0.6631, allocations: 5.531 kB / 1.396 GB, free: 24.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.6633, allocations: 43.92 kB / 1.396 GB, free: 24.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.6633, allocations: 16.14 kB / 1.396 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.6634, allocations: 9.875 kB / 1.396 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.6635, allocations: 12.06 kB / 1.396 GB, free: 24.3 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.343e-05/0.6635, allocations: 115.3 kB / 1.396 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.612e-05/0.6636, allocations: 14.69 kB / 1.396 GB, free: 24.17 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.6638, allocations: 116.3 kB / 1.397 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.6638, allocations: 0.7188 kB / 1.397 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.6638, allocations: 0.6875 kB / 1.397 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.6638, allocations: 8.953 kB / 1.397 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005163/0.6643, allocations: 0.5733 MB / 1.397 GB, free: 23.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.6643, allocations: 5.344 kB / 1.397 GB, free: 23.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.044e-05/0.6644, allocations: 18.11 kB / 1.397 GB, free: 23.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.6644, allocations: 1.969 kB / 1.397 GB, free: 23.63 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.6644, allocations: 2.156 kB / 1.397 GB, free: 23.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.6644, allocations: 6.75 kB / 1.397 GB, free: 23.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.6644, allocations: 5.969 kB / 1.397 GB, free: 23.62 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001805/0.6646, allocations: 341.4 kB / 1.397 GB, free: 23.29 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.099e-05/0.6647, allocations: 103.5 kB / 1.398 GB, free: 23.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.6647, allocations: 3.25 kB / 1.398 GB, free: 23.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.6649, allocations: 8.734 kB / 1.398 GB, free: 23.18 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.6649, allocations: 3.844 kB / 1.398 GB, free: 23.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-06/0.6649, allocations: 7.469 kB / 1.398 GB, free: 23.18 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.000118/0.665, allocations: 164.9 kB / 1.398 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004418/0.6655, allocations: 77.66 kB / 1.398 GB, free: 23.08 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001135/0.6656, allocations: 118.8 kB / 1.398 GB, free: 22.98 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003346/0.6659, allocations: 254 kB / 1.398 GB, free: 22.94 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6659, allocations: 0 / 1.398 GB, free: 22.94 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.238e-05/0.666, allocations: 56.5 kB / 1.398 GB, free: 22.92 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.6662, allocations: 33.27 kB / 1.398 GB, free: 22.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004482/0.6667, allocations: 264.2 kB / 1.399 GB, free: 22.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00031/0.667, allocations: 0.7625 MB / 1.399 GB, free: 22 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/0.667, allocations: 0 / 1.399 GB, free: 22 MB / 0.8386 GB Notification: Performance of Templates: time 0.004725/0.6718, allocations: 2.497 MB / 1.402 GB, free: 20.81 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches