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.TransformerDD.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.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.455/1.455, allocations: 249.4 MB / 256.7 MB, free: 7.094 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.00108/0.00108, allocations: 192.1 kB / 316 MB, free: 3.57 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.35/1.35, allocations: 205.1 MB / 0.5667 GB, free: 15.64 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.000919/0.000919, allocations: 95.86 kB / 0.671 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.006e-05/1.008e-05, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.22, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5858/0.8059, allocations: 181.2 MB / 1.062 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.8062, allocations: 94.56 kB / 1.062 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.2324/1.039, allocations: 97.52 MB / 1.157 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001088/1.039, allocations: 59.94 kB / 1.157 GB, free: 15.62 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: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.006518/1.045, allocations: 2.282 MB / 1.159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/1.045, allocations: 8.031 kB / 1.159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01211/1.057, allocations: 1.499 MB / 1.161 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004607/1.062, allocations: 1.603 MB / 1.162 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/1.062, allocations: 91.91 kB / 1.162 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007516/1.063, allocations: 156 kB / 1.162 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007899/1.071, allocations: 3.955 MB / 1.166 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009645/1.081, allocations: 4.236 MB / 1.17 GB, free: 1.594 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.423e-05/1.081, allocations: 7.922 kB / 1.17 GB, free: 1.586 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003669/1.081, allocations: 8 kB / 1.17 GB, free: 1.578 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000307/1.081, allocations: 188.5 kB / 1.171 GB, free: 1.391 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02662/1.108, allocations: 20.75 MB / 1.191 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/1.111, allocations: 1.855 MB / 1.193 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002084/1.113, allocations: 1.466 MB / 1.194 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002165/1.113, allocations: 122 kB / 1.194 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/1.113, allocations: 59.5 kB / 1.194 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=139): time 3.276e-06/1.113, allocations: 0 / 1.194 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of matching and sorting (n=181): time 0.01625/1.129, allocations: 7.813 MB / 1.202 GB, free: 15.31 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.761e-05/1.129, allocations: 226.9 kB / 1.202 GB, free: 15.04 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/1.131, allocations: 0.8507 MB / 1.203 GB, free: 14.18 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002807/1.131, allocations: 25.7 kB / 1.203 GB, free: 14.14 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000592/1.131, allocations: 1.049 MB / 1.204 GB, free: 13.08 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005451/1.132, allocations: 0.5927 MB / 1.205 GB, free: 12.48 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/1.132, allocations: 0 / 1.205 GB, free: 12.48 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001893/1.132, allocations: 431.3 kB / 1.205 GB, free: 12.05 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001942/1.134, allocations: 1.437 MB / 1.206 GB, free: 10.61 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00238/1.137, allocations: 2 MB / 1.208 GB, free: 8.359 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003829/1.141, allocations: 2.063 MB / 1.21 GB, free: 6.305 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/1.141, allocations: 8 kB / 1.21 GB, free: 6.297 MB / 0.823 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.009073/1.15, allocations: 4.679 MB / 1.215 GB, free: 1.602 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002716/1.152, allocations: 6.708 MB / 1.221 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.33e-05/1.153, allocations: 16 kB / 1.222 GB, free: 10.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002899/1.155, allocations: 1.001 MB / 1.222 GB, free: 9.344 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003775/1.159, allocations: 0.6318 MB / 1.223 GB, free: 8.711 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01541/1.175, allocations: 9.387 MB / 1.232 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003375/1.178, allocations: 291.3 kB / 1.233 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003881/1.179, allocations: 111.9 kB / 1.233 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/1.179, allocations: 4 kB / 1.233 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008469/1.187, allocations: 4.401 MB / 1.237 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-05/1.187, allocations: 16 kB / 1.237 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002075/1.189, allocations: 0.8609 MB / 1.238 GB, free: 9.395 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00357/1.193, allocations: 0.6318 MB / 1.238 GB, free: 8.762 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01222/1.205, allocations: 9.005 MB / 1.247 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003264/1.208, allocations: 283.4 kB / 1.247 GB, free: 15.24 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003832/1.209, allocations: 111.9 kB / 1.248 GB, free: 15.13 MB / 0.8698 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.0006197/1.209, allocations: 156.3 kB / 1.248 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005482/1.21, allocations: 126.5 kB / 1.248 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008621/1.219, allocations: 4.478 MB / 1.252 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.703e-05/1.219, allocations: 16 kB / 1.252 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/1.219, allocations: 15.91 kB / 1.252 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-05/1.219, allocations: 15.95 kB / 1.252 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/1.231, allocations: 7.345 MB / 1.259 GB, free: 2.797 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/1.231, allocations: 8.156 kB / 1.259 GB, free: 2.789 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002538/1.234, allocations: 435.3 kB / 1.26 GB, free: 2.363 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002242/1.236, allocations: 0.8527 MB / 1.261 GB, free: 1.504 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002093/1.236, allocations: 35.95 kB / 1.261 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3792/1.616, allocations: 8.791 MB / 1.269 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/1.616, allocations: 11.72 kB / 1.269 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006145/1.622, allocations: 4.228 MB / 1.273 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009962/1.623, allocations: 0.5246 MB / 1.274 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002957/1.623, allocations: 14.47 kB / 1.274 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002437/1.626, allocations: 259.1 kB / 1.274 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/1.626, allocations: 107.3 kB / 1.274 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/1.626, allocations: 65.78 kB / 1.274 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0008178/1.627, allocations: 0.6739 MB / 1.275 GB, free: 219.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003569/1.63, allocations: 1.036 MB / 1.276 GB, free: 219.1 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 (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.0003253/1.631, allocations: 144.3 kB / 1.276 GB, free: 219 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.009421/1.64, allocations: 6.195 MB / 1.282 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.64, allocations: 0 / 1.282 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003103/1.643, allocations: 1.931 MB / 1.284 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/1.644, allocations: 122.6 kB / 1.284 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01581/1.66, allocations: 5.583 MB / 1.29 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002653/1.663, allocations: 2.359 MB / 1.292 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.362e-06/1.663, allocations: 3.562 kB / 1.292 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.08465/1.748, allocations: 52.27 MB / 1.343 GB, free: 214.3 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches