Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.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.TransformerStepDownDY,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.TransformerStepDownDY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,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.TransformerStepDownDY") [: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.706/1.706, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.0009052/0.0009053, allocations: 185.2 kB / 490.8 MB, free: 1.867 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.064/1.064, allocations: 221.3 MB / 0.7863 GB, free: 13.59 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.0008003/0.0008004, allocations: 88.89 kB / 0.9264 GB, free: 14.11 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.45e-06/5.47e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1645, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4809/0.6455, allocations: 199.1 MB / 1.406 GB, free: 2.238 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001907/0.6457, allocations: 93.12 kB / 1.406 GB, free: 2.188 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.2268/0.8725, allocations: 112.3 MB / 1.516 GB, free: 436 kB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.639e-05/0.8726, allocations: 55.98 kB / 1.516 GB, free: 380 kB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.004958/0.8776, allocations: 2.465 MB / 1.518 GB, free: 13.85 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.8776, allocations: 8.031 kB / 1.518 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009823/0.8875, allocations: 1.526 MB / 1.52 GB, free: 12.31 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002958/0.8904, allocations: 1.721 MB / 1.521 GB, free: 10.55 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.247e-05/0.8905, allocations: 96 kB / 1.522 GB, free: 10.46 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005053/0.891, allocations: 172 kB / 1.522 GB, free: 10.29 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006137/0.8972, allocations: 4.194 MB / 1.526 GB, free: 6.082 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006286/0.9035, allocations: 4.636 MB / 1.53 GB, free: 1.355 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-05/0.9035, allocations: 0 / 1.53 GB, free: 1.355 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002967/0.9038, allocations: 7.906 kB / 1.53 GB, free: 1.348 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002388/0.9041, allocations: 197 kB / 1.531 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01998/0.9241, allocations: 22.52 MB / 1.553 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.9255, allocations: 1.21 MB / 1.554 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/0.9269, allocations: 1.212 MB / 1.555 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.9271, allocations: 118 kB / 1.555 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.9271, allocations: 55.56 kB / 1.555 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=123): time 2.344e-06/0.9271, allocations: 3.938 kB / 1.555 GB, free: 5.883 MB / 0.9636 GB Notification: Performance of matching and sorting (n=153): time 0.01266/0.9398, allocations: 7.429 MB / 1.562 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/0.9399, allocations: 227 kB / 1.563 GB, free: 14.13 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009558/0.9409, allocations: 0.9331 MB / 1.563 GB, free: 13.19 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.941, allocations: 25.7 kB / 1.563 GB, free: 13.16 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005232/0.9415, allocations: 1.203 MB / 1.565 GB, free: 11.94 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003849/0.9419, allocations: 0.5082 MB / 1.565 GB, free: 11.42 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.942, allocations: 0 / 1.565 GB, free: 11.42 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.9422, allocations: 423.2 kB / 1.566 GB, free: 11 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001678/0.9439, allocations: 1.363 MB / 1.567 GB, free: 9.633 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/0.9459, allocations: 2.009 MB / 1.569 GB, free: 7.312 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00318/0.9491, allocations: 1.992 MB / 1.571 GB, free: 5.324 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.9491, allocations: 8 kB / 1.571 GB, free: 5.316 MB / 0.9792 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007274/0.9564, allocations: 4.375 MB / 1.575 GB, free: 0.9141 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.002203/0.9586, allocations: 8.426 MB / 1.583 GB, free: 7.828 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/0.9586, allocations: 24 kB / 1.583 GB, free: 7.805 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002127/0.9608, allocations: 0.7661 MB / 1.584 GB, free: 7.02 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003073/0.9639, allocations: 0.6591 MB / 1.585 GB, free: 6.359 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/0.975, allocations: 11.72 MB / 1.596 GB, free: 9.949 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002536/0.9775, allocations: 299.3 kB / 1.596 GB, free: 9.656 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002227/0.9778, allocations: 123.8 kB / 1.597 GB, free: 9.535 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.238e-06/0.9778, allocations: 4 kB / 1.597 GB, free: 9.531 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006639/0.9844, allocations: 4.097 MB / 1.601 GB, free: 5.414 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.9845, allocations: 24.28 kB / 1.601 GB, free: 5.391 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001544/0.986, allocations: 0.6607 MB / 1.601 GB, free: 4.711 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003029/0.9891, allocations: 0.6707 MB / 1.602 GB, free: 4.039 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009436/0.9985, allocations: 11.31 MB / 1.613 GB, free: 8.035 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002378/1.001, allocations: 295.2 kB / 1.613 GB, free: 7.746 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000211/1.001, allocations: 112 kB / 1.613 GB, free: 7.637 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 234 * 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.0003483/1.001, allocations: 176.2 kB / 1.613 GB, free: 7.457 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003246/1.002, allocations: 118.6 kB / 1.614 GB, free: 7.34 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006982/1.009, allocations: 3.857 MB / 1.617 GB, free: 3.422 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/1.009, allocations: 16 kB / 1.617 GB, free: 3.406 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/1.009, allocations: 8 kB / 1.617 GB, free: 3.398 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/1.009, allocations: 11.97 kB / 1.617 GB, free: 3.387 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/1.019, allocations: 6.801 MB / 1.624 GB, free: 12.41 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.019, allocations: 8 kB / 1.624 GB, free: 12.4 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002319/1.021, allocations: 423.3 kB / 1.624 GB, free: 11.99 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001668/1.023, allocations: 0.6222 MB / 1.625 GB, free: 11.35 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/1.023, allocations: 31.95 kB / 1.625 GB, free: 11.32 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009779/1.033, allocations: 11.13 MB / 1.636 GB, free: 15.49 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/1.033, allocations: 7.938 kB / 1.636 GB, free: 15.48 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005195/1.038, allocations: 3.703 MB / 1.64 GB, free: 11.5 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007384/1.039, allocations: 0.4915 MB / 1.64 GB, free: 10.98 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/1.039, allocations: 12 kB / 1.64 GB, free: 10.97 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00222/1.041, allocations: 255.6 kB / 1.64 GB, free: 10.72 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/1.042, allocations: 96.66 kB / 1.64 GB, free: 10.62 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/1.042, allocations: 59.95 kB / 1.64 GB, free: 10.57 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.0007676/1.042, allocations: 0.7255 MB / 1.641 GB, free: 9.844 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.002951/1.045, allocations: 1.039 MB / 1.642 GB, free: 8.805 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 (105): * 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: 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.0002531/1.046, allocations: 142.9 kB / 1.642 GB, free: 8.656 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.008239/1.054, allocations: 6.321 MB / 1.649 GB, free: 2.23 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.054, allocations: 0 / 1.649 GB, free: 2.23 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0029/1.057, allocations: 2.097 MB / 1.651 GB, free: 72 kB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000726/1.058, allocations: 121.4 kB / 1.651 GB, free: 15.95 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/1.072, allocations: 5.634 MB / 1.656 GB, free: 10.19 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002716/1.074, allocations: 2.491 MB / 1.659 GB, free: 7.66 MB / 1.073 GB Notification: Performance of SimCode: time 3.31e-07/1.074, allocations: 0 / 1.659 GB, free: 7.66 MB / 1.073 GB Notification: Performance of Templates: time 0.05631/1.131, allocations: 48.33 MB / 1.706 GB, free: 7.367 MB / 1.12 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches