Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.784/1.784, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.0009571/0.0009571, allocations: 185.2 kB / 487 MB, free: 5.34 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.12/1.12, allocations: 221.3 MB / 0.7819 GB, free: 1.465 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.0009544/0.0009545, allocations: 102 kB / 0.9213 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.29e-06/5.31e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1918, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5415/0.7333, allocations: 169.1 MB / 1.37 GB, free: 7.492 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.7336, allocations: 94.59 kB / 1.37 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02576/0.7593, allocations: 13.1 MB / 1.383 GB, free: 12.48 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.7594, allocations: 4 kB / 1.383 GB, free: 12.48 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.0004429/0.7598, allocations: 456.2 kB / 1.384 GB, free: 12 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.7599, allocations: 9.031 kB / 1.384 GB, free: 11.99 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005524/0.7604, allocations: 67.64 kB / 1.384 GB, free: 11.93 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.7607, allocations: 227.7 kB / 1.384 GB, free: 11.68 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.7607, allocations: 8 kB / 1.384 GB, free: 11.67 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.7607, allocations: 8 kB / 1.384 GB, free: 11.66 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000249/0.761, allocations: 157.1 kB / 1.384 GB, free: 11.55 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.7613, allocations: 266.7 kB / 1.384 GB, free: 11.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.7613, allocations: 0 / 1.384 GB, free: 11.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.7613, allocations: 0 / 1.384 GB, free: 11.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.7614, allocations: 20.14 kB / 1.384 GB, free: 11.29 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.7628, allocations: 1.616 MB / 1.386 GB, free: 9.648 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.861e-05/0.7629, allocations: 79.25 kB / 1.386 GB, free: 9.562 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.707e-05/0.763, allocations: 40.33 kB / 1.386 GB, free: 9.523 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.763, allocations: 11.88 kB / 1.386 GB, free: 9.516 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.763, allocations: 34.55 kB / 1.386 GB, free: 9.473 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 2.555e-06/0.7631, allocations: 0 / 1.386 GB, free: 9.473 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0003847/0.7634, allocations: 177.5 kB / 1.386 GB, free: 9.309 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.7635, allocations: 77.11 kB / 1.386 GB, free: 9.215 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.7637, allocations: 197.4 kB / 1.387 GB, free: 9.043 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.7637, allocations: 29.8 kB / 1.387 GB, free: 9.008 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/0.7637, allocations: 161.8 kB / 1.387 GB, free: 8.855 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.7638, allocations: 27.33 kB / 1.387 GB, free: 8.832 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-05/0.7638, allocations: 0 / 1.387 GB, free: 8.832 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.974e-05/0.7639, allocations: 325.3 kB / 1.387 GB, free: 8.512 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.431e-05/0.764, allocations: 71.59 kB / 1.387 GB, free: 8.465 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.7641, allocations: 160.5 kB / 1.387 GB, free: 8.297 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.7643, allocations: 112.6 kB / 1.387 GB, free: 8.215 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.7643, allocations: 0 / 1.387 GB, free: 8.215 MB / 0.823 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003901/0.7647, allocations: 265.2 kB / 1.388 GB, free: 8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002947/0.765, allocations: 1.128 MB / 1.389 GB, free: 6.805 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.765, allocations: 4 kB / 1.389 GB, free: 6.801 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.765, allocations: 4 kB / 1.389 GB, free: 6.797 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.7653, allocations: 55.81 kB / 1.389 GB, free: 6.742 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.7653, allocations: 7.938 kB / 1.389 GB, free: 6.734 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.7655, allocations: 15.98 kB / 1.389 GB, free: 6.719 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.7655, allocations: 15.48 kB / 1.389 GB, free: 6.707 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.31e-06/0.7655, allocations: 4 kB / 1.389 GB, free: 6.703 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003023/0.7658, allocations: 188.7 kB / 1.389 GB, free: 6.559 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.7658, allocations: 4 kB / 1.389 GB, free: 6.555 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.368e-06/0.7658, allocations: 4 kB / 1.389 GB, free: 6.551 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.766, allocations: 51.47 kB / 1.389 GB, free: 6.504 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.766, allocations: 7.938 kB / 1.389 GB, free: 6.496 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.7662, allocations: 15.89 kB / 1.389 GB, free: 6.48 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.7662, allocations: 8 kB / 1.389 GB, free: 6.473 MB / 0.823 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.522e-05/0.7663, allocations: 108.9 kB / 1.389 GB, free: 6.359 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/0.7663, allocations: 15.94 kB / 1.389 GB, free: 6.344 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.7665, allocations: 116 kB / 1.389 GB, free: 6.242 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.7665, allocations: 4 kB / 1.389 GB, free: 6.238 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.7665, allocations: 3.938 kB / 1.389 GB, free: 6.234 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.7665, allocations: 0 / 1.389 GB, free: 6.234 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005599/0.7671, allocations: 0.5915 MB / 1.39 GB, free: 5.633 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.7671, allocations: 0 / 1.39 GB, free: 5.633 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.047e-05/0.7672, allocations: 12 kB / 1.39 GB, free: 5.621 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.7672, allocations: 8.062 kB / 1.39 GB, free: 5.613 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.7672, allocations: 11.91 kB / 1.39 GB, free: 5.602 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.7672, allocations: 3.984 kB / 1.39 GB, free: 5.598 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.7672, allocations: 7.938 kB / 1.39 GB, free: 5.59 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002075/0.7674, allocations: 333.5 kB / 1.39 GB, free: 5.211 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.346e-05/0.7675, allocations: 108.8 kB / 1.39 GB, free: 5.09 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.7676, allocations: 4 kB / 1.39 GB, free: 5.086 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.7677, allocations: 7.984 kB / 1.39 GB, free: 5.078 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.7677, allocations: 11.94 kB / 1.39 GB, free: 5.066 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.7678, allocations: 4 kB / 1.39 GB, free: 5.062 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0001098/0.7679, allocations: 160.9 kB / 1.391 GB, free: 4.93 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004157/0.7683, allocations: 83.8 kB / 1.391 GB, free: 4.852 MB / 0.823 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.0001216/0.7684, allocations: 112.6 kB / 1.391 GB, free: 4.734 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000314/0.7687, allocations: 266.6 kB / 1.391 GB, free: 4.539 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.7687, allocations: 0 / 1.391 GB, free: 4.539 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.967e-05/0.7688, allocations: 46.34 kB / 1.391 GB, free: 4.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.769, allocations: 21.55 kB / 1.391 GB, free: 4.484 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004634/0.7695, allocations: 269.5 kB / 1.391 GB, free: 4.207 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002921/0.7698, allocations: 0.7578 MB / 1.392 GB, free: 3.426 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/0.7698, allocations: 0 / 1.392 GB, free: 3.426 MB / 0.823 GB Notification: Performance of Templates: time 0.004631/0.7745, allocations: 2.488 MB / 1.395 GB, free: 0.9648 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches