Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.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.ThreePhasesUnbalanced.Conversion.Examples.Transformer,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") [: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.701/1.701, allocations: 390.4 MB / 397.7 MB, free: 11.2 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.0008907/0.0008907, allocations: 189.2 kB / 490.8 MB, free: 1.879 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.051/1.051, allocations: 221.4 MB / 0.7863 GB, free: 13.61 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.0008218/0.0008218, allocations: 91.84 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.26e-06/5.29e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1642, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4751/0.6392, allocations: 199.5 MB / 1.406 GB, free: 1.836 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.6395, allocations: 90.5 kB / 1.406 GB, free: 1.789 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.2231/0.8626, allocations: 111.4 MB / 1.515 GB, free: 0.9414 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.078e-05/0.8627, allocations: 55.98 kB / 1.515 GB, free: 0.8867 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: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.005126/0.8678, allocations: 2.4 MB / 1.518 GB, free: 14.43 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.8678, allocations: 8.031 kB / 1.518 GB, free: 14.42 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009693/0.8775, allocations: 1.518 MB / 1.519 GB, free: 12.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002807/0.8804, allocations: 1.674 MB / 1.521 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.922e-05/0.8804, allocations: 99.91 kB / 1.521 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004684/0.8809, allocations: 168 kB / 1.521 GB, free: 10.92 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005831/0.8868, allocations: 4.073 MB / 1.525 GB, free: 6.844 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006022/0.8928, allocations: 4.498 MB / 1.529 GB, free: 2.258 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.755e-05/0.8928, allocations: 0 / 1.529 GB, free: 2.258 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002772/0.8931, allocations: 4 kB / 1.529 GB, free: 2.254 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002327/0.8934, allocations: 196.8 kB / 1.53 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01959/0.913, allocations: 22.47 MB / 1.552 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.9143, allocations: 1.17 MB / 1.553 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.9157, allocations: 1.176 MB / 1.554 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000149/0.9158, allocations: 118 kB / 1.554 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.9159, allocations: 59.53 kB / 1.554 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=116): time 2.444e-06/0.9159, allocations: 0 / 1.554 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of matching and sorting (n=146): time 0.01187/0.9278, allocations: 7.203 MB / 1.561 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.9278, allocations: 235 kB / 1.561 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009211/0.9288, allocations: 0.9018 MB / 1.562 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.9289, allocations: 25.7 kB / 1.562 GB, free: 14.41 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004914/0.9294, allocations: 1.192 MB / 1.563 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003448/0.9297, allocations: 496.8 kB / 1.564 GB, free: 12.7 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.9299, allocations: 0 / 1.564 GB, free: 12.7 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.93, allocations: 423 kB / 1.564 GB, free: 12.28 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/0.9316, allocations: 1.301 MB / 1.566 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001891/0.9335, allocations: 1.968 MB / 1.567 GB, free: 8.695 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003045/0.9365, allocations: 1.926 MB / 1.569 GB, free: 6.773 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.9366, allocations: 8 kB / 1.569 GB, free: 6.766 MB / 0.9792 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.007018/0.9436, allocations: 4.258 MB / 1.573 GB, free: 2.477 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.002095/0.9457, allocations: 8.598 MB / 1.582 GB, free: 9.203 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/0.9457, allocations: 23.94 kB / 1.582 GB, free: 9.18 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002105/0.9478, allocations: 0.7856 MB / 1.583 GB, free: 8.375 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002956/0.9508, allocations: 0.6552 MB / 1.583 GB, free: 7.719 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/0.9617, allocations: 11.75 MB / 1.595 GB, free: 11.28 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/0.9643, allocations: 311.2 kB / 1.595 GB, free: 10.98 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/0.9645, allocations: 115.9 kB / 1.595 GB, free: 10.86 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 5.26e-06/0.9645, allocations: 4 kB / 1.595 GB, free: 10.86 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006402/0.9709, allocations: 3.973 MB / 1.599 GB, free: 6.863 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.119e-05/0.971, allocations: 28.22 kB / 1.599 GB, free: 6.836 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001548/0.9725, allocations: 0.6768 MB / 1.6 GB, free: 6.141 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002931/0.9755, allocations: 0.6513 MB / 1.6 GB, free: 5.488 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009279/0.9848, allocations: 11.35 MB / 1.611 GB, free: 9.438 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/0.9871, allocations: 295.3 kB / 1.612 GB, free: 9.148 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002145/0.9874, allocations: 112 kB / 1.612 GB, free: 9.039 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (232): * Single equations (assignments): 226 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000314/0.9877, allocations: 172.2 kB / 1.612 GB, free: 8.863 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000312/0.988, allocations: 118.6 kB / 1.612 GB, free: 8.746 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006576/0.9946, allocations: 3.627 MB / 1.616 GB, free: 5.074 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.9946, allocations: 19.84 kB / 1.616 GB, free: 5.055 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.9946, allocations: 12 kB / 1.616 GB, free: 5.043 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.9946, allocations: 11.97 kB / 1.616 GB, free: 5.031 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009929/1.005, allocations: 6.783 MB / 1.622 GB, free: 14.05 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/1.005, allocations: 8 kB / 1.622 GB, free: 14.04 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002266/1.007, allocations: 415.9 kB / 1.623 GB, free: 13.63 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001689/1.009, allocations: 0.6373 MB / 1.623 GB, free: 12.98 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/1.009, allocations: 31.95 kB / 1.623 GB, free: 12.95 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009645/1.018, allocations: 11.17 MB / 1.634 GB, free: 1.082 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/1.018, allocations: 11.94 kB / 1.634 GB, free: 1.07 MB / 1.042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005084/1.023, allocations: 3.651 MB / 1.638 GB, free: 13.14 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006873/1.024, allocations: 499.3 kB / 1.638 GB, free: 12.63 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/1.024, allocations: 8 kB / 1.638 GB, free: 12.62 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002202/1.027, allocations: 259.5 kB / 1.639 GB, free: 12.37 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/1.027, allocations: 92.73 kB / 1.639 GB, free: 12.28 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/1.027, allocations: 55.95 kB / 1.639 GB, free: 12.23 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.0006957/1.028, allocations: 0.6943 MB / 1.639 GB, free: 11.54 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.002722/1.03, allocations: 1.019 MB / 1.64 GB, free: 10.52 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000242/1.031, allocations: 131 kB / 1.641 GB, free: 10.38 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.007926/1.039, allocations: 6.143 MB / 1.647 GB, free: 4.125 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.039, allocations: 5.75 kB / 1.647 GB, free: 4.121 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.002872/1.041, allocations: 2.069 MB / 1.649 GB, free: 1.992 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007195/1.042, allocations: 130.6 kB / 1.649 GB, free: 1.867 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/1.056, allocations: 5.525 MB / 1.654 GB, free: 12.2 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002671/1.059, allocations: 2.431 MB / 1.656 GB, free: 9.734 MB / 1.073 GB Notification: Performance of SimCode: time 2.51e-07/1.059, allocations: 0 / 1.656 GB, free: 9.734 MB / 1.073 GB Notification: Performance of Templates: time 0.05703/1.116, allocations: 47.24 MB / 1.703 GB, free: 10.52 MB / 1.12 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches