Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") [: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.302/1.302, allocations: 249.4 MB / 256.7 MB, free: 6.953 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.001184/0.001184, allocations: 177.3 kB / 316 MB, free: 3.582 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.538/1.538, allocations: 205.1 MB / 0.5667 GB, free: 15.69 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.001229/0.001229, allocations: 92.72 kB / 0.671 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.214e-06/7.244e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2065, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6505/0.8571, allocations: 160.9 MB / 1.042 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.8574, allocations: 91.31 kB / 1.042 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.04247/0.8998, allocations: 17.63 MB / 1.059 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.35e-05/0.8999, allocations: 15.94 kB / 1.059 GB, free: 13.18 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.000873/0.9008, allocations: 0.5261 MB / 1.06 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.9008, allocations: 8.031 kB / 1.06 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008334/0.9017, allocations: 103.4 kB / 1.06 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.902, allocations: 252.8 kB / 1.06 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.902, allocations: 8 kB / 1.06 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-05/0.9021, allocations: 12 kB / 1.06 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004398/0.9025, allocations: 267.8 kB / 1.06 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000481/0.903, allocations: 341.9 kB / 1.061 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.9031, allocations: 4 kB / 1.061 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.9031, allocations: 0 / 1.061 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.929e-05/0.9031, allocations: 27.16 kB / 1.061 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.9051, allocations: 1.691 MB / 1.062 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.9055, allocations: 275.1 kB / 1.062 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.9058, allocations: 169 kB / 1.063 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/0.906, allocations: 89.08 kB / 1.063 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.906, allocations: 46.38 kB / 1.063 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.823e-06/0.906, allocations: 0 / 1.063 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35): time 0.003018/0.9091, allocations: 1.093 MB / 1.064 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.9091, allocations: 81.11 kB / 1.064 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.9093, allocations: 161.2 kB / 1.064 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.9093, allocations: 25.7 kB / 1.064 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.588e-05/0.9094, allocations: 138.2 kB / 1.064 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.567e-05/0.9095, allocations: 115.2 kB / 1.064 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.9095, allocations: 0 / 1.064 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.9097, allocations: 344.2 kB / 1.065 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.91, allocations: 215.2 kB / 1.065 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/0.9104, allocations: 304.7 kB / 1.065 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000615/0.911, allocations: 309.6 kB / 1.065 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.911, allocations: 0 / 1.065 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001103/0.9121, allocations: 0.6094 MB / 1.066 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000395/0.9125, allocations: 0.8834 MB / 1.067 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.9125, allocations: 0 / 1.067 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.9126, allocations: 7.938 kB / 1.067 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009935/0.9136, allocations: 151.1 kB / 1.067 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.9136, allocations: 7.984 kB / 1.067 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000401/0.914, allocations: 43.91 kB / 1.067 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.914, allocations: 19.55 kB / 1.067 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/0.9141, allocations: 7.906 kB / 1.067 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008831/0.9149, allocations: 469.8 kB / 1.068 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.915, allocations: 0 / 1.068 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.719e-06/0.915, allocations: 4 kB / 1.068 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007418/0.9157, allocations: 131.9 kB / 1.068 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.9157, allocations: 11.97 kB / 1.068 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.916, allocations: 27.97 kB / 1.068 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.9161, allocations: 15.81 kB / 1.068 GB, free: 5.191 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0001232/0.9162, allocations: 112.9 kB / 1.068 GB, free: 5.074 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.151e-05/0.9163, allocations: 23.16 kB / 1.068 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.9175, allocations: 0.6487 MB / 1.069 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.9175, allocations: 4 kB / 1.069 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.9175, allocations: 8 kB / 1.069 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.9176, allocations: 3.984 kB / 1.069 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/0.9196, allocations: 1.278 MB / 1.07 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.9196, allocations: 4 kB / 1.07 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006579/0.9202, allocations: 120.1 kB / 1.07 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.9203, allocations: 7.984 kB / 1.07 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.9203, allocations: 6.5 kB / 1.07 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.9203, allocations: 4 kB / 1.07 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9203, allocations: 0 / 1.07 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000965/0.9213, allocations: 0.7962 MB / 1.071 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.9214, allocations: 139 kB / 1.071 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.489e-05/0.9215, allocations: 4 kB / 1.071 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/0.9219, allocations: 35.64 kB / 1.071 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/0.922, allocations: 31.06 kB / 1.071 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.922, allocations: 8 kB / 1.071 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001021/0.9221, allocations: 140.7 kB / 1.071 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006421/0.9228, allocations: 139.7 kB / 1.071 GB, free: 2.098 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.0002743/0.923, allocations: 147 kB / 1.071 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009645/0.924, allocations: 0.7153 MB / 1.072 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.924, allocations: 0 / 1.072 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.9243, allocations: 229.5 kB / 1.072 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.9247, allocations: 31.28 kB / 1.072 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.9259, allocations: 0.5824 MB / 1.073 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005633/0.9264, allocations: 0.836 MB / 1.074 GB, free: 15.89 MB / 0.698 GB Notification: Performance of SimCode: time 2e-07/0.9264, allocations: 0 / 1.074 GB, free: 15.89 MB / 0.698 GB Notification: Performance of Templates: time 0.01075/0.9372, allocations: 6.585 MB / 1.08 GB, free: 9.363 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches