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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.403/1.403, allocations: 249.5 MB / 257 MB, free: 6.891 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.001028/0.001028, allocations: 180.8 kB / 316.3 MB, free: 3.258 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.552/1.552, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0008459/0.0008458, allocations: 90.44 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.411e-05/1.414e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2135, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7395/0.9531, allocations: 181.8 MB / 1.063 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.9534, allocations: 99.3 kB / 1.063 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2434/1.197, allocations: 104.3 MB / 1.165 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.844e-06/1.197, allocations: 0 / 1.165 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.992e-05/1.197, allocations: 56 kB / 1.165 GB, free: 6.973 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.005938/1.203, allocations: 2.357 MB / 1.167 GB, free: 4.559 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/1.203, allocations: 12.56 kB / 1.167 GB, free: 4.547 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01167/1.215, allocations: 1.9 MB / 1.169 GB, free: 2.641 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004656/1.219, allocations: 1.682 MB / 1.171 GB, free: 0.9141 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/1.22, allocations: 96 kB / 1.171 GB, free: 0.8203 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001105/1.221, allocations: 168 kB / 1.171 GB, free: 0.6562 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008999/1.23, allocations: 3.936 MB / 1.175 GB, free: 12.71 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0114/1.241, allocations: 4.377 MB / 1.179 GB, free: 8.25 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-05/1.241, allocations: 3.953 kB / 1.179 GB, free: 8.246 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000802/1.242, allocations: 4 kB / 1.179 GB, free: 8.242 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003759/1.242, allocations: 200.9 kB / 1.179 GB, free: 8.043 MB / 0.7917 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03229/1.275, allocations: 22.12 MB / 1.201 GB, free: 15.89 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003176/1.278, allocations: 1.979 MB / 1.203 GB, free: 13.79 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/1.28, allocations: 1.147 MB / 1.204 GB, free: 12.62 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002243/1.28, allocations: 114.4 kB / 1.204 GB, free: 12.49 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/1.28, allocations: 55.81 kB / 1.204 GB, free: 12.43 MB / 0.823 GB Notification: Performance of pre-optimization done (n=116): time 3.927e-06/1.28, allocations: 0 / 1.204 GB, free: 12.43 MB / 0.823 GB Notification: Performance of matching and sorting (n=146): time 0.01445/1.295, allocations: 7.014 MB / 1.211 GB, free: 5.375 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.779e-05/1.295, allocations: 222.9 kB / 1.211 GB, free: 5.109 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/1.296, allocations: 0.8939 MB / 1.212 GB, free: 4.207 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000187/1.296, allocations: 25.7 kB / 1.212 GB, free: 4.176 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007286/1.297, allocations: 1.239 MB / 1.213 GB, free: 2.918 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005195/1.298, allocations: 0.4889 MB / 1.214 GB, free: 2.422 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/1.298, allocations: 0 / 1.214 GB, free: 2.422 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002239/1.298, allocations: 423 kB / 1.214 GB, free: 2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001731/1.3, allocations: 1.242 MB / 1.215 GB, free: 0.7539 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002148/1.302, allocations: 1.906 MB / 1.217 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003386/1.305, allocations: 1.86 MB / 1.219 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.977e-05/1.305, allocations: 8 kB / 1.219 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.007777/1.313, allocations: 4.112 MB / 1.223 GB, free: 8.527 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.003605/1.317, allocations: 8.618 MB / 1.231 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.911e-05/1.317, allocations: 24 kB / 1.231 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002268/1.319, allocations: 0.7543 MB / 1.232 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003501/1.323, allocations: 0.7604 MB / 1.233 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01795/1.341, allocations: 12.27 MB / 1.245 GB, free: 0.7188 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005819/1.346, allocations: 427 kB / 1.245 GB, free: 308 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000518/1.347, allocations: 115.9 kB / 1.245 GB, free: 192 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.347, allocations: 7.953 kB / 1.245 GB, free: 184 kB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01202/1.359, allocations: 3.854 MB / 1.249 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-05/1.359, allocations: 20 kB / 1.249 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002512/1.362, allocations: 0.6493 MB / 1.25 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005772/1.368, allocations: 0.7604 MB / 1.251 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4935/1.861, allocations: 11.76 MB / 1.262 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003435/1.865, allocations: 412.2 kB / 1.262 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002473/1.865, allocations: 115 kB / 1.263 GB, free: 248.6 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.0005124/1.865, allocations: 174 kB / 1.263 GB, free: 248.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003503/1.866, allocations: 115.8 kB / 1.263 GB, free: 248.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007033/1.873, allocations: 3.417 MB / 1.266 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/1.873, allocations: 15.88 kB / 1.266 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/1.873, allocations: 8.469 kB / 1.266 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.309e-05/1.873, allocations: 11.95 kB / 1.266 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01147/1.884, allocations: 6.698 MB / 1.273 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/1.884, allocations: 7.438 kB / 1.273 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002635/1.887, allocations: 0.5174 MB / 1.273 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001758/1.889, allocations: 0.6211 MB / 1.274 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/1.889, allocations: 31.44 kB / 1.274 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01037/1.899, allocations: 11.56 MB / 1.285 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-05/1.899, allocations: 13.38 kB / 1.285 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005778/1.905, allocations: 3.587 MB / 1.289 GB, free: 238.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009254/1.906, allocations: 497.5 kB / 1.289 GB, free: 238.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/1.906, allocations: 10.41 kB / 1.289 GB, free: 238.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002648/1.909, allocations: 377 kB / 1.29 GB, free: 238.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004142/1.909, allocations: 125.3 kB / 1.29 GB, free: 238.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/1.91, allocations: 63.91 kB / 1.29 GB, free: 238.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001025/1.911, allocations: 0.6742 MB / 1.29 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.71e-07/1.911, allocations: 3.156 kB / 1.29 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004435/1.915, allocations: 1.04 MB / 1.291 GB, free: 238.7 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.0003334/1.915, allocations: 139.1 kB / 1.292 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01021/1.926, allocations: 6.313 MB / 1.298 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.926, allocations: 1.125 kB / 1.298 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003107/1.929, allocations: 2.14 MB / 1.3 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/1.93, allocations: 130.7 kB / 1.3 GB, free: 236.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/1.946, allocations: 5.739 MB / 1.306 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002081/1.948, allocations: 2.331 MB / 1.308 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003666/1.952, allocations: 1.264 MB / 1.309 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004623/1.952, allocations: 125.2 kB / 1.309 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of SimCode: time 6.51e-07/1.952, allocations: 0 / 1.309 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.03897/1.991, allocations: 28.97 MB / 1.337 GB, free: 233.7 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