Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.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 9.1.1-maint.9.1.x/package.mo): time 1.81/1.81, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009671/0.0009671, allocations: 192.7 kB / 487 MB, free: 5.348 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.133/1.133, allocations: 221.3 MB / 0.7819 GB, free: 1.418 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008593/0.0008592, allocations: 109.4 kB / 0.9213 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.43e-06/5.44e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1835, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5198/0.7033, allocations: 185.5 MB / 1.386 GB, free: 7.145 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.7036, allocations: 94.88 kB / 1.386 GB, free: 7.094 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.2095/0.9131, allocations: 101.5 MB / 1.486 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.876e-05/0.9132, allocations: 63.94 kB / 1.486 GB, free: 448 kB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.0039/0.9171, allocations: 2.191 MB / 1.488 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.9172, allocations: 8.031 kB / 1.488 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003872/0.921, allocations: 0.6877 MB / 1.488 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/0.9234, allocations: 1.461 MB / 1.49 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.305e-05/0.9235, allocations: 80 kB / 1.49 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000338/0.9239, allocations: 151.9 kB / 1.49 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004619/0.9285, allocations: 3.076 MB / 1.493 GB, free: 8.68 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005291/0.9338, allocations: 3.876 MB / 1.497 GB, free: 4.609 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.632e-05/0.9339, allocations: 7.938 kB / 1.497 GB, free: 4.602 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/0.9341, allocations: 11.94 kB / 1.497 GB, free: 4.59 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001415/0.9342, allocations: 168.3 kB / 1.497 GB, free: 4.426 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01901/0.9533, allocations: 21.15 MB / 1.518 GB, free: 13.28 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005546/0.9539, allocations: 0.5397 MB / 1.518 GB, free: 12.66 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005388/0.9544, allocations: 0.5141 MB / 1.519 GB, free: 12.12 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.9545, allocations: 4 kB / 1.519 GB, free: 12.12 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.9545, allocations: 58.41 kB / 1.519 GB, free: 12.05 MB / 0.948 GB Notification: Performance of pre-optimization done (n=50): time 2.645e-06/0.9545, allocations: 0 / 1.519 GB, free: 12.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=56): time 0.004478/0.959, allocations: 3.618 MB / 1.522 GB, free: 8.383 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.922e-05/0.9591, allocations: 243.8 kB / 1.523 GB, free: 8.09 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.9603, allocations: 1.15 MB / 1.524 GB, free: 6.918 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.9604, allocations: 25.7 kB / 1.524 GB, free: 6.887 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005129/0.9609, allocations: 1.159 MB / 1.525 GB, free: 5.707 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.961, allocations: 209.1 kB / 1.525 GB, free: 5.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/0.9611, allocations: 0 / 1.525 GB, free: 5.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.9613, allocations: 402.7 kB / 1.525 GB, free: 5.098 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009001/0.9622, allocations: 0.773 MB / 1.526 GB, free: 4.324 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.9634, allocations: 1.462 MB / 1.528 GB, free: 2.523 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.9649, allocations: 1.139 MB / 1.529 GB, free: 1.387 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.9649, allocations: 8 kB / 1.529 GB, free: 1.379 MB / 0.948 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003029/0.968, allocations: 2.285 MB / 1.531 GB, free: 15.09 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.002432/0.9704, allocations: 9.378 MB / 1.54 GB, free: 4.973 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/0.9704, allocations: 24 kB / 1.54 GB, free: 4.949 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.922e-05/0.9705, allocations: 36 kB / 1.54 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.972, allocations: 411.3 kB / 1.541 GB, free: 4.512 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.018e-05/0.972, allocations: 51.8 kB / 1.541 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.9735, allocations: 167.5 kB / 1.541 GB, free: 4.297 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.9737, allocations: 83.98 kB / 1.541 GB, free: 4.215 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-06/0.9737, allocations: 7.906 kB / 1.541 GB, free: 4.207 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002493/0.9762, allocations: 1.91 MB / 1.543 GB, free: 2.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.9762, allocations: 24 kB / 1.543 GB, free: 2.273 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/0.9762, allocations: 40 kB / 1.543 GB, free: 2.234 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.9775, allocations: 383.3 kB / 1.543 GB, free: 1.859 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.691e-05/0.9775, allocations: 51.8 kB / 1.543 GB, free: 1.809 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000991/0.9785, allocations: 103.6 kB / 1.543 GB, free: 1.707 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.9786, allocations: 79.98 kB / 1.543 GB, free: 1.629 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 192 * 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 0.0002066/0.9789, allocations: 179.2 kB / 1.544 GB, free: 1.449 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000282/0.9791, allocations: 98.78 kB / 1.544 GB, free: 1.352 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.9803, allocations: 0.8784 MB / 1.545 GB, free: 472 kB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.9803, allocations: 8 kB / 1.545 GB, free: 464 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.9803, allocations: 4 kB / 1.545 GB, free: 460 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.9803, allocations: 11.92 kB / 1.545 GB, free: 448 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008532/0.9889, allocations: 8.03 MB / 1.552 GB, free: 8.199 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.9889, allocations: 12 kB / 1.552 GB, free: 8.188 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004424/0.9894, allocations: 123.8 kB / 1.553 GB, free: 8.066 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.891e-05/0.9894, allocations: 20 kB / 1.553 GB, free: 8.047 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.382e-05/0.9894, allocations: 23.94 kB / 1.553 GB, free: 8.023 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.67e-05/0.9895, allocations: 27.86 kB / 1.553 GB, free: 7.996 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/0.9895, allocations: 15.94 kB / 1.553 GB, free: 7.98 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001672/0.9911, allocations: 2.368 MB / 1.555 GB, free: 5.121 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000495/0.9916, allocations: 335.7 kB / 1.555 GB, free: 4.773 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/0.9918, allocations: 23.89 kB / 1.555 GB, free: 4.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009001/0.9927, allocations: 63.91 kB / 1.555 GB, free: 4.688 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.443e-05/0.9928, allocations: 63.7 kB / 1.555 GB, free: 4.625 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.9929, allocations: 32 kB / 1.555 GB, free: 4.594 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.0009344/0.9938, allocations: 0.8719 MB / 1.556 GB, free: 3.711 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002651/0.9965, allocations: 0.7499 MB / 1.557 GB, free: 2.961 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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.0001945/0.9967, allocations: 138.9 kB / 1.557 GB, free: 2.816 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002917/0.9996, allocations: 2.512 MB / 1.56 GB, free: 320 kB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.9996, allocations: 2.438 kB / 1.56 GB, free: 320 kB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004641/1, allocations: 454.6 kB / 1.56 GB, free: 15.87 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/1.001, allocations: 208 kB / 1.56 GB, free: 15.67 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00544/1.007, allocations: 3.496 MB / 1.564 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002073/1.009, allocations: 2.139 MB / 1.566 GB, free: 9.781 MB / 0.9948 GB Notification: Performance of SimCode: time 5.31e-07/1.009, allocations: 4 kB / 1.566 GB, free: 9.777 MB / 0.9948 GB Notification: Performance of Templates: time 0.02911/1.038, allocations: 21.32 MB / 1.587 GB, free: 4.559 MB / 1.01 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches