Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.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.TransformerStepUpDY,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.TransformerStepUpDY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY,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.TransformerStepUpDY") [: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.711/1.711, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001065/0.001064, allocations: 177.2 kB / 490.8 MB, free: 1.969 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.078/1.078, allocations: 221.4 MB / 0.7863 GB, free: 13.65 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.0008065/0.0008065, allocations: 98.05 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.069e-06/5.15e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1644, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4805/0.645, allocations: 199.1 MB / 1.406 GB, free: 2.117 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.6452, allocations: 93.56 kB / 1.406 GB, free: 2.066 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.2231/0.8683, allocations: 112.4 MB / 1.516 GB, free: 424 kB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.464e-05/0.8684, allocations: 52 kB / 1.516 GB, free: 372 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.004916/0.8733, allocations: 2.467 MB / 1.518 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.8734, allocations: 12.03 kB / 1.518 GB, free: 13.83 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009692/0.8831, allocations: 1.522 MB / 1.52 GB, free: 12.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00292/0.886, allocations: 1.721 MB / 1.521 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.949e-05/0.8861, allocations: 100 kB / 1.522 GB, free: 10.44 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004115/0.8865, allocations: 175.9 kB / 1.522 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005952/0.8925, allocations: 4.194 MB / 1.526 GB, free: 6.066 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006205/0.8987, allocations: 4.628 MB / 1.53 GB, free: 1.352 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.17e-05/0.8987, allocations: 7.844 kB / 1.53 GB, free: 1.344 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002897/0.899, allocations: 4 kB / 1.53 GB, free: 1.34 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000231/0.8993, allocations: 193 kB / 1.531 GB, free: 1.148 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0201/0.9194, allocations: 22.52 MB / 1.553 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.9207, allocations: 1.202 MB / 1.554 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.9222, allocations: 1.219 MB / 1.555 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.9224, allocations: 122 kB / 1.555 GB, free: 5.941 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.9224, allocations: 55.56 kB / 1.555 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=123): time 2.575e-06/0.9224, allocations: 3.938 kB / 1.555 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of matching and sorting (n=153): time 0.0126/0.935, allocations: 7.421 MB / 1.562 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.9351, allocations: 226.9 kB / 1.563 GB, free: 14.13 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009576/0.9361, allocations: 0.933 MB / 1.563 GB, free: 13.19 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.9362, allocations: 25.7 kB / 1.564 GB, free: 13.16 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005218/0.9367, allocations: 1.2 MB / 1.565 GB, free: 11.94 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003784/0.9371, allocations: 0.5082 MB / 1.565 GB, free: 11.43 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.9373, allocations: 0 / 1.565 GB, free: 11.43 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.9374, allocations: 435.2 kB / 1.566 GB, free: 10.99 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001682/0.9391, allocations: 1.351 MB / 1.567 GB, free: 9.637 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/0.9411, allocations: 2.009 MB / 1.569 GB, free: 7.316 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003179/0.9443, allocations: 1.992 MB / 1.571 GB, free: 5.328 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.9443, allocations: 8 kB / 1.571 GB, free: 5.32 MB / 0.9792 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007289/0.9516, allocations: 4.374 MB / 1.575 GB, free: 0.918 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.002184/0.9538, allocations: 8.423 MB / 1.583 GB, free: 7.836 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/0.9539, allocations: 20 kB / 1.583 GB, free: 7.816 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002066/0.9559, allocations: 0.7778 MB / 1.584 GB, free: 7.02 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003055/0.959, allocations: 0.6593 MB / 1.585 GB, free: 6.359 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/0.97, allocations: 11.72 MB / 1.596 GB, free: 9.949 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002514/0.9726, allocations: 307.2 kB / 1.596 GB, free: 9.645 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002227/0.9728, allocations: 115.9 kB / 1.597 GB, free: 9.531 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 5.02e-06/0.9728, allocations: 4 kB / 1.597 GB, free: 9.527 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006571/0.9794, allocations: 4.101 MB / 1.601 GB, free: 5.406 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/0.9794, allocations: 27.98 kB / 1.601 GB, free: 5.379 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001513/0.9809, allocations: 0.6569 MB / 1.601 GB, free: 4.703 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002988/0.9839, allocations: 0.6591 MB / 1.602 GB, free: 4.043 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009358/0.9933, allocations: 11.31 MB / 1.613 GB, free: 8.039 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002377/0.9957, allocations: 295.3 kB / 1.613 GB, free: 7.75 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002129/0.9959, allocations: 112 kB / 1.613 GB, free: 7.641 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.0003461/0.9963, allocations: 172.2 kB / 1.614 GB, free: 7.465 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003245/0.9966, allocations: 122.5 kB / 1.614 GB, free: 7.344 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006899/1.004, allocations: 3.868 MB / 1.617 GB, free: 3.41 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/1.004, allocations: 16 kB / 1.617 GB, free: 3.395 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/1.004, allocations: 8 kB / 1.617 GB, free: 3.387 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/1.004, allocations: 11.97 kB / 1.617 GB, free: 3.375 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00992/1.013, allocations: 6.794 MB / 1.624 GB, free: 12.41 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.014, allocations: 4 kB / 1.624 GB, free: 12.4 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002301/1.016, allocations: 431.5 kB / 1.624 GB, free: 11.98 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001624/1.017, allocations: 0.626 MB / 1.625 GB, free: 11.34 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/1.018, allocations: 31.95 kB / 1.625 GB, free: 11.3 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009665/1.027, allocations: 11.13 MB / 1.636 GB, free: 15.49 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.027, allocations: 8 kB / 1.636 GB, free: 15.48 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005097/1.032, allocations: 3.699 MB / 1.64 GB, free: 11.5 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007322/1.033, allocations: 0.4993 MB / 1.64 GB, free: 10.98 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/1.033, allocations: 11.98 kB / 1.64 GB, free: 10.97 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002196/1.036, allocations: 259.6 kB / 1.64 GB, free: 10.72 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/1.036, allocations: 88.73 kB / 1.64 GB, free: 10.63 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/1.036, allocations: 59.95 kB / 1.641 GB, free: 10.57 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.0007492/1.037, allocations: 0.7294 MB / 1.641 GB, free: 9.844 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.002938/1.04, 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.0002515/1.04, allocations: 142.8 kB / 1.642 GB, free: 8.652 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.008276/1.048, allocations: 6.312 MB / 1.649 GB, free: 2.238 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.048, allocations: 4 kB / 1.649 GB, free: 2.234 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.002843/1.051, allocations: 2.102 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.0007459/1.052, allocations: 126.2 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.01414/1.066, allocations: 5.626 MB / 1.656 GB, free: 10.18 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002796/1.069, allocations: 2.489 MB / 1.659 GB, free: 7.648 MB / 1.073 GB Notification: Performance of SimCode: time 2.81e-07/1.069, allocations: 0 / 1.659 GB, free: 7.648 MB / 1.073 GB Notification: Performance of Templates: time 0.05673/1.125, allocations: 48.34 MB / 1.706 GB, free: 7.348 MB / 1.12 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpDY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches