Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") [: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.77/1.77, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.0009165/0.0009167, allocations: 189.2 kB / 487 MB, free: 5.359 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.117/1.117, allocations: 221.3 MB / 0.7819 GB, free: 1.383 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.0008231/0.0008231, allocations: 97.88 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.413e-06/6.432e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1899, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5416/0.7315, allocations: 190.3 MB / 1.391 GB, free: 2.66 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.7318, allocations: 97.97 kB / 1.391 GB, free: 2.609 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.2201/0.9519, allocations: 107.1 MB / 1.496 GB, free: 5.918 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.255e-05/0.952, allocations: 56 kB / 1.496 GB, free: 5.863 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.003762/0.9557, allocations: 2.27 MB / 1.498 GB, free: 3.535 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.9558, allocations: 8.031 kB / 1.498 GB, free: 3.527 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003176/0.959, allocations: 0.559 MB / 1.499 GB, free: 2.965 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/0.9614, allocations: 1.478 MB / 1.5 GB, free: 1.441 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.217e-05/0.9615, allocations: 95.98 kB / 1.5 GB, free: 1.348 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003437/0.9618, allocations: 160 kB / 1.5 GB, free: 1.191 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005165/0.967, allocations: 3.354 MB / 1.504 GB, free: 13.83 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005627/0.9726, allocations: 3.928 MB / 1.507 GB, free: 9.816 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.324e-05/0.9727, allocations: 7.938 kB / 1.507 GB, free: 9.809 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002416/0.9729, allocations: 0 / 1.507 GB, free: 9.809 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/0.9731, allocations: 148.6 kB / 1.508 GB, free: 9.66 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01901/0.9921, allocations: 19.8 MB / 1.527 GB, free: 3.855 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.9933, allocations: 1.088 MB / 1.528 GB, free: 2.73 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009502/0.9943, allocations: 0.7854 MB / 1.529 GB, free: 1.938 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.9944, allocations: 109.7 kB / 1.529 GB, free: 1.812 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.9945, allocations: 55.09 kB / 1.529 GB, free: 1.75 MB / 0.948 GB Notification: Performance of pre-optimization done (n=77): time 2.775e-06/0.9945, allocations: 0 / 1.529 GB, free: 1.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=92): time 0.007496/1.002, allocations: 3.95 MB / 1.533 GB, free: 13.78 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/1.002, allocations: 141.3 kB / 1.533 GB, free: 13.61 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000936/1.003, allocations: 0.8506 MB / 1.534 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.316e-05/1.003, allocations: 25.7 kB / 1.534 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005135/1.004, allocations: 1.148 MB / 1.535 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/1.004, allocations: 323.3 kB / 1.535 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.63e-05/1.004, allocations: 0 / 1.535 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.004, allocations: 398.8 kB / 1.536 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/1.005, allocations: 0.8825 MB / 1.536 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/1.006, allocations: 1.502 MB / 1.538 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002535/1.009, allocations: 1.463 MB / 1.539 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/1.009, allocations: 4 kB / 1.539 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.004247/1.013, allocations: 2.67 MB / 1.542 GB, free: 4.02 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.002074/1.015, allocations: 8.336 MB / 1.55 GB, free: 11.03 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/1.015, allocations: 24 kB / 1.55 GB, free: 11 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.08e-05/1.015, allocations: 35.94 kB / 1.55 GB, free: 10.97 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002416/1.018, allocations: 0.4992 MB / 1.551 GB, free: 10.47 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.151e-05/1.018, allocations: 47.8 kB / 1.551 GB, free: 10.42 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/1.019, allocations: 99.53 kB / 1.551 GB, free: 10.32 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/1.019, allocations: 83.98 kB / 1.551 GB, free: 10.24 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.305e-06/1.019, allocations: 10.91 kB / 1.551 GB, free: 10.23 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004069/1.023, allocations: 2.509 MB / 1.553 GB, free: 7.727 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/1.023, allocations: 20 kB / 1.553 GB, free: 7.707 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/1.023, allocations: 36 kB / 1.553 GB, free: 7.672 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/1.026, allocations: 0.4999 MB / 1.554 GB, free: 7.172 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.048e-05/1.026, allocations: 51.78 kB / 1.554 GB, free: 7.121 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008916/1.027, allocations: 71.75 kB / 1.554 GB, free: 7.051 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/1.027, allocations: 87.97 kB / 1.554 GB, free: 6.965 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 211 * 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.0002622/1.027, allocations: 164.4 kB / 1.554 GB, free: 6.797 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/1.027, allocations: 94.88 kB / 1.554 GB, free: 6.703 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003101/1.03, allocations: 1.974 MB / 1.556 GB, free: 4.68 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/1.03, allocations: 8 kB / 1.556 GB, free: 4.672 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.03, allocations: 4 kB / 1.556 GB, free: 4.668 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/1.03, allocations: 3.984 kB / 1.556 GB, free: 4.664 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01694/1.047, allocations: 15.31 MB / 1.571 GB, free: 4.145 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.321e-05/1.047, allocations: 20.94 kB / 1.571 GB, free: 4.125 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008141/1.048, allocations: 195.6 kB / 1.571 GB, free: 3.934 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.744e-05/1.048, allocations: 28 kB / 1.571 GB, free: 3.906 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.013e-05/1.048, allocations: 32 kB / 1.571 GB, free: 3.875 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.511e-05/1.048, allocations: 43.75 kB / 1.571 GB, free: 3.832 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.025e-05/1.048, allocations: 35.81 kB / 1.571 GB, free: 3.797 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002807/1.051, allocations: 3.099 MB / 1.574 GB, free: 15.87 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005901/1.052, allocations: 343.8 kB / 1.575 GB, free: 15.51 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002609/1.052, allocations: 31.89 kB / 1.575 GB, free: 15.48 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008888/1.053, allocations: 55.94 kB / 1.575 GB, free: 15.43 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/1.053, allocations: 107.5 kB / 1.575 GB, free: 15.32 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.72e-05/1.053, allocations: 48 kB / 1.575 GB, free: 15.27 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.0008736/1.054, allocations: 0.6865 MB / 1.576 GB, free: 14.59 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003173/1.057, allocations: 0.8007 MB / 1.577 GB, free: 13.79 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 89 * 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.0003245/1.058, allocations: 178.7 kB / 1.577 GB, free: 13.61 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004009/1.062, allocations: 3.014 MB / 1.58 GB, free: 10.6 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/1.062, allocations: 11.88 kB / 1.58 GB, free: 10.59 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0007313/1.062, allocations: 0.6301 MB / 1.58 GB, free: 9.965 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/1.063, allocations: 173.9 kB / 1.58 GB, free: 9.801 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007847/1.071, allocations: 4.133 MB / 1.584 GB, free: 5.34 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002938/1.074, allocations: 2.267 MB / 1.587 GB, free: 3.039 MB / 1.01 GB Notification: Performance of SimCode: time 6.31e-07/1.074, allocations: 0 / 1.587 GB, free: 3.039 MB / 1.01 GB Notification: Performance of Templates: time 0.03673/1.111, allocations: 23.58 MB / 1.61 GB, free: 11.55 MB / 1.042 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches