Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.754/1.754, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.0009307/0.0009306, allocations: 181.3 kB / 487 MB, free: 5.293 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.119/1.119, allocations: 221.3 MB / 0.7819 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00086/0.00086, allocations: 102.3 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.721e-06/5.761e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1878, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5528/0.7406, allocations: 198.3 MB / 1.399 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.7409, allocations: 99.98 kB / 1.399 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.2271/0.968, allocations: 108.6 MB / 1.505 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.007e-05/0.9681, allocations: 56 kB / 1.505 GB, free: 12.35 MB / 0.9323 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.004682/0.9728, allocations: 2.373 MB / 1.507 GB, free: 9.914 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.9728, allocations: 8.031 kB / 1.507 GB, free: 9.906 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009975/0.9828, allocations: 1.507 MB / 1.509 GB, free: 8.395 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002915/0.9858, allocations: 1.674 MB / 1.511 GB, free: 6.672 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.128e-05/0.9858, allocations: 92 kB / 1.511 GB, free: 6.582 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004092/0.9863, allocations: 164 kB / 1.511 GB, free: 6.422 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005999/0.9923, allocations: 4.076 MB / 1.515 GB, free: 2.34 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006106/0.9984, allocations: 4.429 MB / 1.519 GB, free: 13.82 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.836e-05/0.9984, allocations: 4 kB / 1.519 GB, free: 13.81 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002891/0.9987, allocations: 4 kB / 1.519 GB, free: 13.81 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002415/0.999, allocations: 196.5 kB / 1.519 GB, free: 13.61 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02028/1.019, allocations: 22.15 MB / 1.541 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/1.021, allocations: 1.803 MB / 1.543 GB, free: 3.523 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001747/1.023, allocations: 1.421 MB / 1.544 GB, free: 2.082 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/1.023, allocations: 126 kB / 1.544 GB, free: 1.941 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/1.023, allocations: 51.56 kB / 1.544 GB, free: 1.883 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=132): time 3.296e-06/1.023, allocations: 0 / 1.544 GB, free: 1.883 MB / 0.9636 GB Notification: Performance of matching and sorting (n=174): time 0.0132/1.036, allocations: 7.793 MB / 1.552 GB, free: 10.05 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.568e-05/1.037, allocations: 226.9 kB / 1.552 GB, free: 9.785 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009205/1.038, allocations: 0.8273 MB / 1.553 GB, free: 8.953 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/1.038, allocations: 25.7 kB / 1.553 GB, free: 8.922 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.00047/1.038, allocations: 1.099 MB / 1.554 GB, free: 7.805 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004395/1.039, allocations: 0.5774 MB / 1.555 GB, free: 7.219 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/1.039, allocations: 4.031 kB / 1.555 GB, free: 7.215 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001699/1.039, allocations: 427.2 kB / 1.555 GB, free: 6.789 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/1.041, allocations: 1.383 MB / 1.556 GB, free: 5.402 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/1.043, allocations: 1.954 MB / 1.558 GB, free: 3.195 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003233/1.046, allocations: 2.004 MB / 1.56 GB, free: 1.195 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/1.046, allocations: 12 kB / 1.56 GB, free: 1.184 MB / 0.9792 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007513/1.053, allocations: 4.577 MB / 1.565 GB, free: 12.59 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001741/1.055, allocations: 6.87 MB / 1.571 GB, free: 5.184 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/1.055, allocations: 16 kB / 1.571 GB, free: 5.168 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002442/1.058, allocations: 1.016 MB / 1.572 GB, free: 4.145 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002964/1.061, allocations: 0.624 MB / 1.573 GB, free: 3.52 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/1.072, allocations: 9.431 MB / 1.582 GB, free: 9.844 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002851/1.075, allocations: 287.4 kB / 1.582 GB, free: 9.562 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002151/1.075, allocations: 112 kB / 1.583 GB, free: 9.453 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 8.236e-06/1.075, allocations: 7.906 kB / 1.583 GB, free: 9.445 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007015/1.083, allocations: 4.311 MB / 1.587 GB, free: 5.125 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/1.083, allocations: 16 kB / 1.587 GB, free: 5.109 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001863/1.084, allocations: 0.8726 MB / 1.588 GB, free: 4.23 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002882/1.087, allocations: 0.6201 MB / 1.588 GB, free: 3.609 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/1.097, allocations: 9.033 MB / 1.597 GB, free: 10.34 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002468/1.1, allocations: 287.4 kB / 1.597 GB, free: 10.05 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002134/1.1, allocations: 104 kB / 1.597 GB, free: 9.953 MB / 1.026 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.0003976/1.1, allocations: 166.9 kB / 1.598 GB, free: 9.785 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/1.101, allocations: 122.6 kB / 1.598 GB, free: 9.664 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007445/1.108, allocations: 4.222 MB / 1.602 GB, free: 5.402 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/1.108, allocations: 16 kB / 1.602 GB, free: 5.387 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/1.108, allocations: 16 kB / 1.602 GB, free: 5.371 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/1.108, allocations: 11.95 kB / 1.602 GB, free: 5.359 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/1.119, allocations: 7.428 MB / 1.609 GB, free: 13.77 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/1.12, allocations: 4 kB / 1.609 GB, free: 13.76 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002456/1.122, allocations: 431.8 kB / 1.61 GB, free: 13.34 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002161/1.124, allocations: 0.8762 MB / 1.61 GB, free: 12.46 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001489/1.124, allocations: 27.95 kB / 1.61 GB, free: 12.43 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01049/1.135, allocations: 8.849 MB / 1.619 GB, free: 3.344 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/1.135, allocations: 4 kB / 1.619 GB, free: 3.34 MB / 1.042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006057/1.141, allocations: 4.177 MB / 1.623 GB, free: 14.9 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008646/1.142, allocations: 0.5149 MB / 1.624 GB, free: 14.36 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/1.142, allocations: 15.98 kB / 1.624 GB, free: 14.35 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002274/1.144, allocations: 255.6 kB / 1.624 GB, free: 14.1 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/1.145, allocations: 101 kB / 1.624 GB, free: 14 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/1.145, allocations: 67.95 kB / 1.624 GB, free: 13.93 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.0007619/1.145, allocations: 0.6396 MB / 1.625 GB, free: 13.29 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.003229/1.149, allocations: 1.051 MB / 1.626 GB, free: 12.24 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): 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.0002709/1.149, allocations: 134.9 kB / 1.626 GB, free: 12.1 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.009203/1.158, allocations: 6.049 MB / 1.632 GB, free: 6.023 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.158, allocations: 0 / 1.632 GB, free: 6.023 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.003088/1.161, allocations: 1.918 MB / 1.634 GB, free: 4.082 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009988/1.162, allocations: 113.2 kB / 1.634 GB, free: 3.973 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/1.179, allocations: 5.696 MB / 1.639 GB, free: 14.13 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002876/1.182, allocations: 2.426 MB / 1.642 GB, free: 11.68 MB / 1.073 GB Notification: Performance of SimCode: time 7.42e-07/1.182, allocations: 0 / 1.642 GB, free: 11.68 MB / 1.073 GB Notification: Performance of Templates: time 0.07024/1.252, allocations: 51.32 MB / 1.692 GB, free: 8.418 MB / 1.12 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches