Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.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.TransformerStepDownYD,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.TransformerStepDownYD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,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.TransformerStepDownYD") [: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.704/1.704, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.0009234/0.0009234, allocations: 181.3 kB / 490.8 MB, free: 1.883 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.05/1.05, allocations: 221.3 MB / 0.7863 GB, free: 13.73 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.0008217/0.0008218, allocations: 83.44 kB / 0.9264 GB, free: 14.27 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.7e-06/5.72e-06, allocations: 0 / 1.072 GB, free: 164.6 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1629, allocations: 143 MB / 1.212 GB, free: 21.82 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.476/0.6389, allocations: 199.3 MB / 1.406 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.6392, allocations: 100.6 kB / 1.406 GB, free: 4.023 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.2143/0.8535, allocations: 108.6 MB / 1.512 GB, free: 5.172 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.925e-05/0.8536, allocations: 56 kB / 1.512 GB, free: 5.117 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.004512/0.8581, allocations: 2.372 MB / 1.515 GB, free: 2.688 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.8582, allocations: 11.97 kB / 1.515 GB, free: 2.676 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009585/0.8678, allocations: 1.514 MB / 1.516 GB, free: 1.156 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002755/0.8705, allocations: 1.658 MB / 1.518 GB, free: 15.46 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-05/0.8706, allocations: 92 kB / 1.518 GB, free: 15.37 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004547/0.8711, allocations: 164 kB / 1.518 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005857/0.8769, allocations: 4.076 MB / 1.522 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006113/0.8831, allocations: 4.434 MB / 1.526 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.995e-05/0.8831, allocations: 0 / 1.526 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00029/0.8834, allocations: 4 kB / 1.526 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002358/0.8836, allocations: 196.7 kB / 1.527 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01969/0.9034, allocations: 22.15 MB / 1.548 GB, free: 14.19 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/0.9053, allocations: 1.811 MB / 1.55 GB, free: 12.31 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001701/0.907, allocations: 1.433 MB / 1.551 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.9072, allocations: 118.1 kB / 1.551 GB, free: 10.72 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.9072, allocations: 47.55 kB / 1.551 GB, free: 10.67 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=132): time 2.415e-06/0.9072, allocations: 0 / 1.551 GB, free: 10.67 MB / 0.9948 GB Notification: Performance of matching and sorting (n=174): time 0.01274/0.92, allocations: 7.782 MB / 1.559 GB, free: 2.84 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/0.9201, allocations: 230.9 kB / 1.559 GB, free: 2.562 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008459/0.9209, allocations: 0.8274 MB / 1.56 GB, free: 1.73 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.9211, allocations: 25.7 kB / 1.56 GB, free: 1.699 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004861/0.9215, allocations: 1.111 MB / 1.561 GB, free: 0.5703 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000421/0.922, allocations: 0.5735 MB / 1.562 GB, free: 15.99 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.9221, allocations: 0 / 1.562 GB, free: 15.99 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.9223, allocations: 423.2 kB / 1.562 GB, free: 15.57 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.924, allocations: 1.387 MB / 1.564 GB, free: 14.18 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001971/0.926, allocations: 1.947 MB / 1.565 GB, free: 11.98 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003216/0.9292, allocations: 2.016 MB / 1.567 GB, free: 9.965 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.9292, allocations: 4 kB / 1.567 GB, free: 9.961 MB / 1.01 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007426/0.9366, allocations: 4.585 MB / 1.572 GB, free: 5.359 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001728/0.9384, allocations: 6.867 MB / 1.579 GB, free: 13.96 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/0.9384, allocations: 16 kB / 1.579 GB, free: 13.94 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002395/0.9408, allocations: 1.032 MB / 1.58 GB, free: 12.9 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002907/0.9437, allocations: 0.624 MB / 1.58 GB, free: 12.28 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/0.9552, allocations: 9.452 MB / 1.589 GB, free: 2.586 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/0.9577, allocations: 291.3 kB / 1.59 GB, free: 2.301 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002207/0.9579, allocations: 111.9 kB / 1.59 GB, free: 2.191 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 5.731e-06/0.958, allocations: 4 kB / 1.59 GB, free: 2.188 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006891/0.9648, allocations: 4.304 MB / 1.594 GB, free: 13.88 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.861e-05/0.9649, allocations: 24.02 kB / 1.594 GB, free: 13.85 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001888/0.9668, allocations: 0.8648 MB / 1.595 GB, free: 12.98 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002859/0.9697, allocations: 0.6204 MB / 1.596 GB, free: 12.36 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/0.9797, allocations: 9.048 MB / 1.604 GB, free: 3.07 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002331/0.9821, allocations: 287.4 kB / 1.605 GB, free: 2.789 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002148/0.9823, allocations: 108 kB / 1.605 GB, free: 2.684 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 210 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,77.8%) 30,(7,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003356/0.9826, allocations: 159.3 kB / 1.605 GB, free: 2.523 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003342/0.983, allocations: 126.5 kB / 1.605 GB, free: 2.398 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007325/0.9903, allocations: 4.226 MB / 1.609 GB, free: 14.14 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.9903, allocations: 20 kB / 1.609 GB, free: 14.12 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/0.9904, allocations: 12 kB / 1.609 GB, free: 14.11 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.9904, allocations: 7.969 kB / 1.609 GB, free: 14.1 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/1.001, allocations: 7.44 MB / 1.616 GB, free: 6.492 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/1.001, allocations: 8 kB / 1.616 GB, free: 6.484 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002329/1.003, allocations: 423.4 kB / 1.617 GB, free: 6.07 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002013/1.005, allocations: 0.8759 MB / 1.618 GB, free: 5.188 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/1.006, allocations: 31.95 kB / 1.618 GB, free: 5.156 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0102/1.016, allocations: 8.849 MB / 1.626 GB, free: 12.07 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.998e-06/1.016, allocations: 8 kB / 1.626 GB, free: 12.06 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005746/1.021, allocations: 4.169 MB / 1.63 GB, free: 7.625 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007615/1.022, allocations: 0.5188 MB / 1.631 GB, free: 7.086 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/1.023, allocations: 11.98 kB / 1.631 GB, free: 7.074 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002219/1.025, allocations: 263.5 kB / 1.631 GB, free: 6.816 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/1.025, allocations: 101 kB / 1.631 GB, free: 6.719 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/1.025, allocations: 67.95 kB / 1.631 GB, free: 6.652 MB / 1.073 GB Notification: Performance of sort global known variables: time 0.0006452/1.026, allocations: 0.6435 MB / 1.632 GB, free: 6.008 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.002573/1.028, allocations: 1.043 MB / 1.633 GB, free: 4.965 MB / 1.073 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): 99 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002407/1.029, allocations: 138.9 kB / 1.633 GB, free: 4.82 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.008344/1.037, allocations: 6.045 MB / 1.639 GB, free: 14.75 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.037, allocations: 0 / 1.639 GB, free: 14.75 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.002768/1.04, allocations: 1.922 MB / 1.641 GB, free: 12.8 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007225/1.04, allocations: 108.9 kB / 1.641 GB, free: 12.7 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/1.055, allocations: 5.697 MB / 1.647 GB, free: 6.848 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00265/1.057, allocations: 2.431 MB / 1.649 GB, free: 4.383 MB / 1.089 GB Notification: Performance of SimCode: time 2.81e-07/1.057, allocations: 0 / 1.649 GB, free: 4.383 MB / 1.089 GB Notification: Performance of Templates: time 0.06127/1.119, allocations: 51.34 MB / 1.699 GB, free: 1.109 MB / 1.135 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches