Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.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.TransformerStepUpYD,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.TransformerStepUpYD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD,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.TransformerStepUpYD") [: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.64/1.64, allocations: 390.4 MB / 397.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009122/0.0009122, allocations: 189.6 kB / 490.8 MB, free: 11.21 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.012/1.012, allocations: 221.4 MB / 0.7863 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008053/0.0008052, allocations: 95.8 kB / 0.9264 GB, free: 20.95 MB / 0.6042 GB Notification: Performance of FrontEnd - loaded program: time 6.623e-06/6.643e-06, allocations: 4 kB / 1.072 GB, free: 0 / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4164, allocations: 143 MB / 1.212 GB, free: 53.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1691/0.5855, allocations: 199.1 MB / 1.406 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.5858, allocations: 100.9 kB / 1.406 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of FrontEnd: time 0.5133/1.099, allocations: 108.6 MB / 1.512 GB, free: 207.6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.082e-05/1.099, allocations: 55.12 kB / 1.512 GB, free: 207.6 MB / 0.9636 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.003807/1.103, allocations: 2.376 MB / 1.515 GB, free: 206.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/1.103, allocations: 8.578 kB / 1.515 GB, free: 206.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00913/1.112, allocations: 1.504 MB / 1.516 GB, free: 206.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002889/1.115, allocations: 1.667 MB / 1.518 GB, free: 205.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/1.115, allocations: 96.59 kB / 1.518 GB, free: 205.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005566/1.116, allocations: 165.7 kB / 1.518 GB, free: 205.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006119/1.122, allocations: 4.07 MB / 1.522 GB, free: 203.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006812/1.129, allocations: 4.433 MB / 1.526 GB, free: 202.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.316e-05/1.129, allocations: 1.297 kB / 1.526 GB, free: 202.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002987/1.129, allocations: 1.75 kB / 1.526 GB, free: 202.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003064/1.129, allocations: 193.6 kB / 1.526 GB, free: 202.2 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01866/1.148, allocations: 22.15 MB / 1.548 GB, free: 184.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/1.15, allocations: 1.804 MB / 1.55 GB, free: 183.5 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/1.152, allocations: 1.42 MB / 1.551 GB, free: 182.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/1.152, allocations: 119.2 kB / 1.551 GB, free: 182.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/1.152, allocations: 55.5 kB / 1.551 GB, free: 182.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=132): time 2.455e-06/1.152, allocations: 0 / 1.551 GB, free: 182.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=174): time 0.0113/1.163, allocations: 7.797 MB / 1.559 GB, free: 174.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/1.163, allocations: 227 kB / 1.559 GB, free: 174.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006996/1.164, allocations: 0.8312 MB / 1.56 GB, free: 173.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/1.164, allocations: 25.7 kB / 1.56 GB, free: 173.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/1.164, allocations: 1.107 MB / 1.561 GB, free: 172.6 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003002/1.165, allocations: 0.5658 MB / 1.562 GB, free: 172 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/1.165, allocations: 0 / 1.562 GB, free: 172 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.165, allocations: 431.1 kB / 1.562 GB, free: 171.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/1.166, allocations: 1.39 MB / 1.563 GB, free: 170.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/1.168, allocations: 1.943 MB / 1.565 GB, free: 168 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002829/1.171, allocations: 2.016 MB / 1.567 GB, free: 166 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/1.171, allocations: 4 kB / 1.567 GB, free: 166 MB / 0.9636 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006596/1.177, allocations: 4.577 MB / 1.572 GB, free: 161.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007811/1.178, allocations: 6.879 MB / 1.578 GB, free: 154 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/1.178, allocations: 16 kB / 1.578 GB, free: 154 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002211/1.18, allocations: 1.02 MB / 1.579 GB, free: 152.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002767/1.183, allocations: 0.6275 MB / 1.58 GB, free: 152.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009686/1.193, allocations: 9.409 MB / 1.589 GB, free: 142.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/1.195, allocations: 295.3 kB / 1.59 GB, free: 142.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/1.195, allocations: 107.9 kB / 1.59 GB, free: 142.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 5.119e-06/1.195, allocations: 4 kB / 1.59 GB, free: 142.3 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006046/1.201, allocations: 4.311 MB / 1.594 GB, free: 138 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/1.201, allocations: 23.8 kB / 1.594 GB, free: 137.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00169/1.203, allocations: 0.8689 MB / 1.595 GB, free: 137.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00274/1.206, allocations: 0.6201 MB / 1.595 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008357/1.214, allocations: 9.032 MB / 1.604 GB, free: 127.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/1.217, allocations: 279.4 kB / 1.604 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/1.217, allocations: 115.9 kB / 1.605 GB, free: 126.8 MB / 0.9636 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,75.0%) 30,(6,77.8%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003237/1.217, allocations: 156.4 kB / 1.605 GB, free: 126.6 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000315/1.217, allocations: 126.5 kB / 1.605 GB, free: 126.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00654/1.224, allocations: 4.221 MB / 1.609 GB, free: 122.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/1.224, allocations: 16 kB / 1.609 GB, free: 122.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/1.224, allocations: 16 kB / 1.609 GB, free: 122.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/1.224, allocations: 13.56 kB / 1.609 GB, free: 122.2 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009195/1.233, allocations: 7.427 MB / 1.616 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/1.233, allocations: 8 kB / 1.616 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002176/1.235, allocations: 427.4 kB / 1.617 GB, free: 114.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001844/1.237, allocations: 0.8758 MB / 1.618 GB, free: 113.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/1.237, allocations: 31.97 kB / 1.618 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008595/1.246, allocations: 8.84 MB / 1.626 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/1.246, allocations: 11.94 kB / 1.626 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004961/1.251, allocations: 4.18 MB / 1.63 GB, free: 99.84 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006499/1.252, allocations: 0.5072 MB / 1.631 GB, free: 99.31 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002561/1.252, allocations: 11.98 kB / 1.631 GB, free: 99.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002171/1.254, allocations: 259.5 kB / 1.631 GB, free: 99.04 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/1.254, allocations: 105 kB / 1.631 GB, free: 98.94 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/1.254, allocations: 71.23 kB / 1.631 GB, free: 98.88 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0005264/1.255, allocations: 0.6396 MB / 1.632 GB, free: 98.23 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002405/1.257, allocations: 1.047 MB / 1.633 GB, free: 97.19 MB / 0.9636 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.0002355/1.258, allocations: 138.9 kB / 1.633 GB, free: 97.04 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.007266/1.265, allocations: 6.044 MB / 1.639 GB, free: 90.98 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.265, allocations: 4.688 kB / 1.639 GB, free: 90.97 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002431/1.267, allocations: 1.91 MB / 1.641 GB, free: 89.04 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007046/1.268, allocations: 123.6 kB / 1.641 GB, free: 88.92 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/1.281, allocations: 5.696 MB / 1.646 GB, free: 83.11 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002229/1.283, allocations: 2.43 MB / 1.649 GB, free: 80.64 MB / 0.9636 GB Notification: Performance of SimCode: time 2.81e-07/1.283, allocations: 0 / 1.649 GB, free: 80.64 MB / 0.9636 GB Notification: Performance of Templates: time 0.04919/1.333, allocations: 51.32 MB / 1.699 GB, free: 29.51 MB / 0.9636 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches