Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.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.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y.V.1.|probe_Y.V.2.|probe_Y.V.3.|probeD.V.1.|probeD.V.2.|probeD.V.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y.V.1.|probe_Y.V.2.|probe_Y.V.3.|probeD.V.1.|probeD.V.2.|probeD.V.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.415/1.415, allocations: 249.5 MB / 257 MB, free: 6.844 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.001045/0.001045, allocations: 180.8 kB / 316.3 MB, free: 3.238 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.33/1.33, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.000807/0.000807, allocations: 103.2 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.654e-05/1.656e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.167, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5949/0.762, allocations: 150.5 MB / 1.032 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/0.7623, allocations: 95.5 kB / 1.032 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.08034/0.8426, allocations: 35.31 MB / 1.067 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8426, allocations: 0 / 1.067 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.45e-05/0.8427, allocations: 24 kB / 1.067 GB, free: 6.703 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.001863/0.8446, allocations: 1.144 MB / 1.068 GB, free: 5.578 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.8446, allocations: 8.031 kB / 1.068 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/0.846, allocations: 266.4 kB / 1.068 GB, free: 5.309 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.8472, allocations: 0.7201 MB / 1.069 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.006e-05/0.8472, allocations: 40 kB / 1.069 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.8474, allocations: 76 kB / 1.069 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002176/0.8496, allocations: 1.468 MB / 1.07 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002623/0.8522, allocations: 1.716 MB / 1.072 GB, free: 2.488 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.8522, allocations: 4 kB / 1.072 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.8524, allocations: 3.984 kB / 1.072 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-05/0.8524, allocations: 61.31 kB / 1.072 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00809/0.8605, allocations: 7.365 MB / 1.079 GB, free: 12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.8607, allocations: 125.3 kB / 1.079 GB, free: 11.85 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.8e-05/0.8608, allocations: 73.02 kB / 1.08 GB, free: 11.78 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/0.861, allocations: 92.58 kB / 1.08 GB, free: 11.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.861, allocations: 38.56 kB / 1.08 GB, free: 11.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.184e-06/0.861, allocations: 0 / 1.08 GB, free: 11.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0006602/0.8617, allocations: 255 kB / 1.08 GB, free: 11.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.424e-05/0.8618, allocations: 132.1 kB / 1.08 GB, free: 11.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009565/0.8627, allocations: 0.8031 MB / 1.081 GB, free: 10.63 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.8628, allocations: 25.7 kB / 1.081 GB, free: 10.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004801/0.8633, allocations: 0.7642 MB / 1.082 GB, free: 9.902 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.8633, allocations: 48.81 kB / 1.082 GB, free: 9.867 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.8634, allocations: 0 / 1.082 GB, free: 9.867 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.8635, allocations: 369 kB / 1.082 GB, free: 9.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004476/0.864, allocations: 390.2 kB / 1.082 GB, free: 9.262 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009109/0.8649, allocations: 1.12 MB / 1.083 GB, free: 7.934 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.866, allocations: 0.7803 MB / 1.084 GB, free: 7.352 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/0.866, allocations: 8 kB / 1.084 GB, free: 7.344 MB / 0.698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00208/0.8681, allocations: 1.447 MB / 1.086 GB, free: 6.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/0.8682, allocations: 18.69 kB / 1.086 GB, free: 6.145 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/0.8682, allocations: 28 kB / 1.086 GB, free: 6.117 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.385e-05/0.8682, allocations: 43.94 kB / 1.086 GB, free: 6.074 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007851/0.869, allocations: 281 kB / 1.086 GB, free: 5.809 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.832e-05/0.8691, allocations: 55.78 kB / 1.086 GB, free: 5.754 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00076/0.8699, allocations: 166.2 kB / 1.086 GB, free: 5.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.67e-05/0.87, allocations: 74.88 kB / 1.086 GB, free: 5.527 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 147 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001663/0.8701, allocations: 165.4 kB / 1.086 GB, free: 5.367 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.8703, allocations: 67.28 kB / 1.087 GB, free: 5.301 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.8705, allocations: 137.1 kB / 1.087 GB, free: 5.168 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.8706, allocations: 3.938 kB / 1.087 GB, free: 5.164 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.8706, allocations: 0 / 1.087 GB, free: 5.164 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.8706, allocations: 7.938 kB / 1.087 GB, free: 5.156 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007586/0.8713, allocations: 0.496 MB / 1.087 GB, free: 4.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.8714, allocations: 4 kB / 1.087 GB, free: 4.727 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.221e-05/0.8714, allocations: 4 kB / 1.087 GB, free: 4.723 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.8714, allocations: 4 kB / 1.087 GB, free: 4.719 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.8714, allocations: 0 / 1.087 GB, free: 4.719 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.8714, allocations: 7.891 kB / 1.087 GB, free: 4.711 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.8714, allocations: 4 kB / 1.087 GB, free: 4.707 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.8717, allocations: 379.2 kB / 1.088 GB, free: 4.316 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.8719, allocations: 162 kB / 1.088 GB, free: 4.152 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.853e-05/0.8719, allocations: 4 kB / 1.088 GB, free: 4.148 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.8722, allocations: 11.97 kB / 1.088 GB, free: 4.137 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/0.8722, allocations: 7.938 kB / 1.088 GB, free: 4.129 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.8722, allocations: 0 / 1.088 GB, free: 4.129 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006217/0.8729, allocations: 0.6027 MB / 1.088 GB, free: 3.688 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8729, allocations: 4 kB / 1.088 GB, free: 3.684 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001044/0.8739, allocations: 271 kB / 1.089 GB, free: 3.418 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001476/0.8741, allocations: 111.2 kB / 1.089 GB, free: 3.301 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008049/0.8749, allocations: 0.6404 MB / 1.089 GB, free: 2.812 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8749, allocations: 0 / 1.089 GB, free: 2.812 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.167e-05/0.8749, allocations: 24.86 kB / 1.089 GB, free: 2.793 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.8752, allocations: 42.64 kB / 1.089 GB, free: 2.773 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.8772, allocations: 1.281 MB / 1.091 GB, free: 1.641 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009517/0.8781, allocations: 1.298 MB / 1.092 GB, free: 472 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007752/0.8789, allocations: 369.3 kB / 1.092 GB, free: 100 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.564e-05/0.879, allocations: 47 kB / 1.092 GB, free: 56 kB / 0.698 GB Notification: Performance of SimCode: time 3.51e-07/0.879, allocations: 7.938 kB / 1.092 GB, free: 48 kB / 0.698 GB Notification: Performance of Templates: time 0.009592/0.8886, allocations: 4.455 MB / 1.097 GB, free: 11.61 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches