Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") [: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 7.0.3-maint.7.0.x/package.mo): time 1.328/1.328, allocations: 249.4 MB / 256.7 MB, free: 7.055 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 189.1 kB / 316 MB, free: 3.609 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.2 MB / 0.5667 GB, free: 15.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009122/0.0009121, allocations: 94.44 kB / 0.671 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.773e-06/6.803e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1833, allocations: 106.3 MB / 0.8846 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5958/0.7791, allocations: 181.8 MB / 1.062 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.7795, allocations: 93.5 kB / 1.062 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.2464/1.026, allocations: 103.7 MB / 1.164 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001084/1.026, allocations: 63.92 kB / 1.164 GB, free: 8.848 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.00675/1.033, allocations: 2.396 MB / 1.166 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/1.033, allocations: 8.031 kB / 1.166 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01178/1.045, allocations: 1.511 MB / 1.167 GB, free: 4.871 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004303/1.049, allocations: 1.682 MB / 1.169 GB, free: 3.145 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/1.049, allocations: 96 kB / 1.169 GB, free: 3.051 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000962/1.05, allocations: 168 kB / 1.169 GB, free: 2.887 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008812/1.059, allocations: 4.069 MB / 1.173 GB, free: 14.81 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01054/1.069, allocations: 4.502 MB / 1.178 GB, free: 10.22 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.743e-05/1.07, allocations: 0 / 1.178 GB, free: 10.22 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003443/1.07, allocations: 7.906 kB / 1.178 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003205/1.07, allocations: 196.8 kB / 1.178 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03058/1.101, allocations: 22.46 MB / 1.2 GB, free: 1.457 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/1.103, allocations: 1.176 MB / 1.201 GB, free: 228 kB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001858/1.104, allocations: 1.18 MB / 1.202 GB, free: 15.02 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002161/1.105, allocations: 118 kB / 1.202 GB, free: 14.88 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/1.105, allocations: 55.5 kB / 1.202 GB, free: 14.82 MB / 0.823 GB Notification: Performance of pre-optimization done (n=116): time 3.196e-06/1.105, allocations: 0 / 1.202 GB, free: 14.82 MB / 0.823 GB Notification: Performance of matching and sorting (n=146): time 0.0154/1.12, allocations: 7.2 MB / 1.209 GB, free: 7.578 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.561e-05/1.12, allocations: 231 kB / 1.21 GB, free: 7.305 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/1.122, allocations: 0.9056 MB / 1.21 GB, free: 6.391 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002684/1.122, allocations: 33.64 kB / 1.21 GB, free: 6.352 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006701/1.122, allocations: 1.18 MB / 1.212 GB, free: 5.152 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005616/1.123, allocations: 492.8 kB / 1.212 GB, free: 4.664 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/1.123, allocations: 0 / 1.212 GB, free: 4.664 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002377/1.124, allocations: 426.9 kB / 1.212 GB, free: 4.238 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/1.125, allocations: 1.297 MB / 1.214 GB, free: 2.938 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002246/1.128, allocations: 1.975 MB / 1.216 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003675/1.131, allocations: 1.923 MB / 1.218 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/1.131, allocations: 8 kB / 1.218 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.008665/1.14, allocations: 4.258 MB / 1.222 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.003325/1.143, allocations: 8.598 MB / 1.23 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.235e-05/1.143, allocations: 20 kB / 1.23 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002521/1.146, allocations: 0.7933 MB / 1.231 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003829/1.15, allocations: 0.6552 MB / 1.232 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01339/1.163, allocations: 11.75 MB / 1.243 GB, free: 3.227 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003441/1.167, allocations: 303.2 kB / 1.243 GB, free: 2.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004557/1.167, allocations: 119.9 kB / 1.243 GB, free: 2.812 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/1.167, allocations: 4 kB / 1.243 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00803/1.175, allocations: 3.98 MB / 1.247 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.45e-05/1.175, allocations: 24 kB / 1.247 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001689/1.177, allocations: 0.6771 MB / 1.248 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003501/1.181, allocations: 0.6552 MB / 1.249 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/1.192, allocations: 11.34 MB / 1.26 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00373/1.196, allocations: 299.4 kB / 1.26 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005005/1.197, allocations: 112 kB / 1.26 GB, free: 0.9922 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (232): * Single equations (assignments): 226 * 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.000599/1.197, allocations: 172.1 kB / 1.26 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004417/1.198, allocations: 122.6 kB / 1.26 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2813/1.479, allocations: 3.621 MB / 1.264 GB, free: 355.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.42e-05/1.479, allocations: 16.94 kB / 1.264 GB, free: 355.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/1.479, allocations: 10.16 kB / 1.264 GB, free: 355.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/1.479, allocations: 10.86 kB / 1.264 GB, free: 355.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0104/1.489, allocations: 6.782 MB / 1.271 GB, free: 354.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/1.49, allocations: 11.72 kB / 1.271 GB, free: 354.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002361/1.492, allocations: 417 kB / 1.271 GB, free: 354.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001662/1.494, allocations: 0.6394 MB / 1.272 GB, free: 354.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/1.494, allocations: 28.16 kB / 1.272 GB, free: 354.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008773/1.503, allocations: 11.17 MB / 1.283 GB, free: 347.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/1.503, allocations: 12.56 kB / 1.283 GB, free: 347.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005159/1.508, allocations: 3.662 MB / 1.286 GB, free: 346.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008474/1.509, allocations: 493.5 kB / 1.287 GB, free: 346 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000277/1.509, allocations: 11.16 kB / 1.287 GB, free: 346 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002313/1.511, allocations: 257.4 kB / 1.287 GB, free: 346 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/1.511, allocations: 89.03 kB / 1.287 GB, free: 346 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/1.511, allocations: 59.08 kB / 1.287 GB, free: 346 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0008084/1.512, allocations: 0.695 MB / 1.288 GB, free: 345.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003626/1.516, allocations: 1.016 MB / 1.289 GB, free: 345.9 MB / 0.8698 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): 95 * 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.0003266/1.516, allocations: 132.7 kB / 1.289 GB, free: 345.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.009007/1.525, allocations: 6.15 MB / 1.295 GB, free: 344.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/1.525, allocations: 3.094 kB / 1.295 GB, free: 344.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003113/1.528, allocations: 2.069 MB / 1.297 GB, free: 344 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/1.53, allocations: 122 kB / 1.297 GB, free: 344 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/1.547, allocations: 5.526 MB / 1.302 GB, free: 343.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002826/1.55, allocations: 2.435 MB / 1.305 GB, free: 342.3 MB / 0.8698 GB Notification: Performance of SimCode: time 9.12e-07/1.55, allocations: 0 / 1.305 GB, free: 342.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.07058/1.62, allocations: 47.25 MB / 1.351 GB, free: 336 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches