Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.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.TransformerFull,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.TransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,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.TransformerFull") [: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.763/1.763, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009275/0.0009275, allocations: 196.6 kB / 487 MB, free: 5.324 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.166/1.166, allocations: 221.3 MB / 0.7819 GB, free: 1.285 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.000891/0.000891, allocations: 102 kB / 0.9213 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.611e-06/5.631e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.179, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5201/0.6991, allocations: 203.1 MB / 1.404 GB, free: 6.121 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.6994, allocations: 94.25 kB / 1.404 GB, free: 6.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.2693/0.9687, allocations: 127.5 MB / 1.528 GB, free: 4.41 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.961e-05/0.9688, allocations: 63.98 kB / 1.528 GB, free: 4.348 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: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.004126/0.973, allocations: 2.471 MB / 1.531 GB, free: 1.82 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.973, allocations: 8.031 kB / 1.531 GB, free: 1.812 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/0.9836, allocations: 1.643 MB / 1.532 GB, free: 168 kB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003/0.9866, allocations: 1.802 MB / 1.534 GB, free: 14.32 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.32e-05/0.9867, allocations: 103.9 kB / 1.534 GB, free: 14.21 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004283/0.9871, allocations: 167.9 kB / 1.534 GB, free: 14.05 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006156/0.9933, allocations: 4.225 MB / 1.538 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006689/1, allocations: 4.659 MB / 1.543 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.369e-05/1, allocations: 3.984 kB / 1.543 GB, free: 5.09 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000298/1, allocations: 4 kB / 1.543 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003676/1.001, allocations: 246 kB / 1.543 GB, free: 4.844 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02191/1.023, allocations: 22.1 MB / 1.565 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/1.025, allocations: 1.624 MB / 1.566 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/1.026, allocations: 1.247 MB / 1.568 GB, free: 9.859 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/1.026, allocations: 114.1 kB / 1.568 GB, free: 9.73 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/1.026, allocations: 43.56 kB / 1.568 GB, free: 9.68 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=122): time 3.066e-06/1.026, allocations: 0 / 1.568 GB, free: 9.68 MB / 0.9948 GB Notification: Performance of matching and sorting (n=173): time 0.01498/1.041, allocations: 7.188 MB / 1.575 GB, free: 2.477 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/1.041, allocations: 69.41 kB / 1.575 GB, free: 2.395 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/1.043, allocations: 0.9854 MB / 1.576 GB, free: 1.387 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/1.043, allocations: 33.64 kB / 1.576 GB, free: 1.348 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006363/1.043, allocations: 1.188 MB / 1.577 GB, free: 140 kB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004881/1.044, allocations: 0.5736 MB / 1.578 GB, free: 15.55 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/1.044, allocations: 0 / 1.578 GB, free: 15.55 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002077/1.044, allocations: 443.5 kB / 1.578 GB, free: 15.11 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001968/1.046, allocations: 1.551 MB / 1.579 GB, free: 13.55 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002393/1.049, allocations: 2.242 MB / 1.582 GB, free: 11 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003612/1.052, allocations: 2.231 MB / 1.584 GB, free: 8.766 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/1.052, allocations: 4 kB / 1.584 GB, free: 8.762 MB / 1.01 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009834/1.062, allocations: 5.412 MB / 1.589 GB, free: 3.32 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.00294/1.065, allocations: 8.861 MB / 1.598 GB, free: 9.762 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.617e-05/1.065, allocations: 24 kB / 1.598 GB, free: 9.738 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004248/1.069, allocations: 1.406 MB / 1.599 GB, free: 8.312 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003109/1.072, allocations: 0.6591 MB / 1.6 GB, free: 7.652 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01859/1.091, allocations: 15.95 MB / 1.615 GB, free: 7.012 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003169/1.094, allocations: 311.2 kB / 1.616 GB, free: 6.707 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002669/1.094, allocations: 120 kB / 1.616 GB, free: 6.59 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 6.442e-06/1.094, allocations: 4 kB / 1.616 GB, free: 6.586 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009259/1.104, allocations: 5.123 MB / 1.621 GB, free: 1.438 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/1.104, allocations: 24 kB / 1.621 GB, free: 1.414 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003587/1.107, allocations: 1.344 MB / 1.622 GB, free: 52 kB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003075/1.11, allocations: 0.6552 MB / 1.623 GB, free: 15.39 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01662/1.127, allocations: 15.37 MB / 1.638 GB, free: 15.32 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00289/1.13, allocations: 299.4 kB / 1.638 GB, free: 15.03 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000256/1.13, allocations: 123.9 kB / 1.638 GB, free: 14.91 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 229 * 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 {(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004867/1.131, allocations: 172.1 kB / 1.638 GB, free: 14.73 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/1.131, allocations: 142.4 kB / 1.639 GB, free: 14.59 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009769/1.141, allocations: 5.006 MB / 1.643 GB, free: 9.531 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/1.141, allocations: 23.92 kB / 1.643 GB, free: 9.508 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/1.141, allocations: 12 kB / 1.643 GB, free: 9.496 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/1.141, allocations: 11.97 kB / 1.643 GB, free: 9.484 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/1.154, allocations: 8.164 MB / 1.651 GB, free: 1.109 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/1.154, allocations: 12.03 kB / 1.651 GB, free: 1.098 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002301/1.156, allocations: 415.3 kB / 1.652 GB, free: 0.6914 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003391/1.16, allocations: 1.184 MB / 1.653 GB, free: 15.49 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001484/1.16, allocations: 35.89 kB / 1.653 GB, free: 15.45 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01705/1.177, allocations: 15.22 MB / 1.668 GB, free: 15.52 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/1.177, allocations: 11.94 kB / 1.668 GB, free: 15.51 MB / 1.104 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007471/1.185, allocations: 4.492 MB / 1.672 GB, free: 10.74 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009475/1.186, allocations: 0.546 MB / 1.673 GB, free: 10.17 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002896/1.186, allocations: 8 kB / 1.673 GB, free: 10.16 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002421/1.188, allocations: 287.5 kB / 1.673 GB, free: 9.883 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/1.188, allocations: 104.9 kB / 1.673 GB, free: 9.777 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/1.189, allocations: 63.97 kB / 1.673 GB, free: 9.715 MB / 1.104 GB Notification: Performance of sort global known variables: time 0.0009671/1.19, allocations: 0.7621 MB / 1.674 GB, free: 8.941 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.003538/1.193, allocations: 1.148 MB / 1.675 GB, free: 7.793 MB / 1.104 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 (104): * Single equations (assignments): 98 * 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%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002745/1.193, allocations: 138.9 kB / 1.675 GB, free: 7.648 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01095/1.204, allocations: 7.451 MB / 1.683 GB, free: 88 kB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.204, allocations: 1.812 kB / 1.683 GB, free: 88 kB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.004503/1.209, allocations: 2.585 MB / 1.685 GB, free: 13.44 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000888/1.21, allocations: 165.2 kB / 1.685 GB, free: 13.28 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01621/1.226, allocations: 6.095 MB / 1.691 GB, free: 7.035 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002781/1.229, allocations: 2.512 MB / 1.694 GB, free: 4.488 MB / 1.12 GB Notification: Performance of SimCode: time 6.41e-07/1.229, allocations: 0 / 1.694 GB, free: 4.488 MB / 1.12 GB Notification: Performance of Templates: time 0.426/1.655, allocations: 58.47 MB / 1.751 GB, free: 269.1 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches