Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.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.TransformerDD,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.TransformerDD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,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.TransformerDD") [: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.687/1.687, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009002/0.0009001, allocations: 173.3 kB / 490.8 MB, free: 1.973 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.05/1.05, allocations: 221.4 MB / 0.7863 GB, free: 13.68 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.0007938/0.0007939, allocations: 94.86 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.251e-06/6.271e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1646, allocations: 143 MB / 1.212 GB, free: 40.13 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4816/0.6462, allocations: 198.8 MB / 1.406 GB, free: 2.461 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/0.6465, allocations: 97.42 kB / 1.406 GB, free: 2.406 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.2108/0.8573, allocations: 104.7 MB / 1.508 GB, free: 8.594 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.834e-05/0.8574, allocations: 52 kB / 1.508 GB, free: 8.543 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.003561/0.8609, allocations: 2.282 MB / 1.51 GB, free: 6.207 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.861, allocations: 12.03 kB / 1.51 GB, free: 6.195 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009312/0.8703, allocations: 1.487 MB / 1.512 GB, free: 4.703 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002478/0.8728, allocations: 1.607 MB / 1.513 GB, free: 3.055 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.085e-05/0.8729, allocations: 88 kB / 1.513 GB, free: 2.969 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003661/0.8732, allocations: 156 kB / 1.514 GB, free: 2.816 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005492/0.8787, allocations: 3.959 MB / 1.517 GB, free: 14.85 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005716/0.8845, allocations: 4.236 MB / 1.522 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.532e-05/0.8845, allocations: 0 / 1.522 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002748/0.8848, allocations: 7.984 kB / 1.522 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002386/0.885, allocations: 184.5 kB / 1.522 GB, free: 10.33 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01837/0.9034, allocations: 20.77 MB / 1.542 GB, free: 3.688 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002013/0.9054, allocations: 1.851 MB / 1.544 GB, free: 1.77 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/0.9072, allocations: 1.462 MB / 1.545 GB, free: 296 kB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.9073, allocations: 122 kB / 1.545 GB, free: 156 kB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.9074, allocations: 63.48 kB / 1.545 GB, free: 84 kB / 0.948 GB Notification: Performance of pre-optimization done (n=139): time 2.495e-06/0.9074, allocations: 0 / 1.545 GB, free: 84 kB / 0.948 GB Notification: Performance of matching and sorting (n=181): time 0.01299/0.9204, allocations: 7.809 MB / 1.553 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/0.9205, allocations: 226.8 kB / 1.553 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008647/0.9213, allocations: 0.8547 MB / 1.554 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.9214, allocations: 25.7 kB / 1.554 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004679/0.9219, allocations: 1.045 MB / 1.555 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004246/0.9224, allocations: 0.5968 MB / 1.556 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.9225, allocations: 0 / 1.556 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.9227, allocations: 431.3 kB / 1.556 GB, free: 4.973 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001745/0.9244, allocations: 1.437 MB / 1.558 GB, free: 3.531 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002048/0.9265, allocations: 1.996 MB / 1.56 GB, free: 1.293 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003257/0.9297, allocations: 2.067 MB / 1.562 GB, free: 15.23 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.9298, allocations: 4 kB / 1.562 GB, free: 15.23 MB / 0.9792 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.007604/0.9374, allocations: 4.679 MB / 1.566 GB, free: 10.53 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001752/0.9391, allocations: 6.7 MB / 1.573 GB, free: 3.309 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/0.9392, allocations: 19.91 kB / 1.573 GB, free: 3.289 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002403/0.9416, allocations: 1.008 MB / 1.574 GB, free: 2.273 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002974/0.9446, allocations: 0.6318 MB / 1.574 GB, free: 1.641 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/0.9561, allocations: 9.379 MB / 1.583 GB, free: 8.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002471/0.9586, allocations: 291.3 kB / 1.584 GB, free: 7.734 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002162/0.9588, allocations: 107.9 kB / 1.584 GB, free: 7.629 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 4.358e-06/0.9588, allocations: 6.969 kB / 1.584 GB, free: 7.625 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006934/0.9657, allocations: 4.401 MB / 1.588 GB, free: 3.215 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/0.9658, allocations: 16 kB / 1.588 GB, free: 3.199 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001873/0.9676, allocations: 0.865 MB / 1.589 GB, free: 2.328 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002878/0.9705, allocations: 0.6318 MB / 1.59 GB, free: 1.695 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009969/0.9805, allocations: 9.014 MB / 1.598 GB, free: 8.445 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/0.9829, allocations: 283.4 kB / 1.599 GB, free: 8.168 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/0.9831, allocations: 108 kB / 1.599 GB, free: 8.062 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 218 * 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,77.8%) 30,(6,80.6%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000358/0.9834, allocations: 152.4 kB / 1.599 GB, free: 7.906 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003349/0.9838, allocations: 126.5 kB / 1.599 GB, free: 7.781 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007613/0.9914, allocations: 4.482 MB / 1.603 GB, free: 3.246 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.9914, allocations: 16 kB / 1.603 GB, free: 3.23 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.9914, allocations: 12 kB / 1.603 GB, free: 3.219 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/0.9915, allocations: 11.97 kB / 1.603 GB, free: 3.207 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/1.002, allocations: 7.345 MB / 1.611 GB, free: 11.73 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/1.002, allocations: 4 kB / 1.611 GB, free: 11.72 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002289/1.004, allocations: 443.5 kB / 1.611 GB, free: 11.29 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002015/1.006, allocations: 0.8603 MB / 1.612 GB, free: 10.42 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/1.007, allocations: 35.95 kB / 1.612 GB, free: 10.39 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/1.017, allocations: 8.794 MB / 1.621 GB, free: 1.352 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.017, allocations: 11.94 kB / 1.621 GB, free: 1.34 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005838/1.023, allocations: 4.223 MB / 1.625 GB, free: 12.85 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007806/1.024, allocations: 0.5267 MB / 1.625 GB, free: 12.3 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002648/1.024, allocations: 12 kB / 1.625 GB, free: 12.29 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002284/1.026, allocations: 255.6 kB / 1.625 GB, free: 12.04 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/1.026, allocations: 108.9 kB / 1.626 GB, free: 11.94 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001523/1.026, allocations: 67.95 kB / 1.626 GB, free: 11.87 MB / 1.042 GB Notification: Performance of sort global known variables: time 0.0006932/1.027, allocations: 0.6748 MB / 1.626 GB, free: 11.2 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.002766/1.03, allocations: 1.039 MB / 1.627 GB, free: 10.16 MB / 1.042 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): 103 * 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.0002525/1.03, allocations: 142.8 kB / 1.627 GB, free: 10.01 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.008557/1.039, allocations: 6.19 MB / 1.633 GB, free: 3.793 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.039, allocations: 12 kB / 1.633 GB, free: 3.781 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.002798/1.042, allocations: 1.93 MB / 1.635 GB, free: 1.828 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007376/1.042, allocations: 122.3 kB / 1.635 GB, free: 1.711 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/1.056, allocations: 5.589 MB / 1.641 GB, free: 11.98 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002542/1.059, allocations: 2.354 MB / 1.643 GB, free: 9.59 MB / 1.057 GB Notification: Performance of SimCode: time 2.71e-07/1.059, allocations: 0 / 1.643 GB, free: 9.59 MB / 1.057 GB Notification: Performance of Templates: time 0.05967/1.118, allocations: 52.26 MB / 1.694 GB, free: 5.383 MB / 1.104 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches