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.376/1.376, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001075, allocations: 187.3 kB / 326.5 MB, free: 2.25 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.923/1.923, allocations: 205.4 MB / 0.5775 GB, free: 20.59 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.0009783/0.0009782, allocations: 91.98 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003693, allocations: 8.25 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2535, allocations: 106.3 MB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8227/1.076, allocations: 181.6 MB / 1.077 GB, free: 65.69 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004306/1.077, allocations: 100.2 kB / 1.078 GB, free: 65.69 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2358/1.313, allocations: 105.3 MB / 1.18 GB, free: 30.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.687e-06/1.313, allocations: 0 / 1.18 GB, free: 30.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001842/1.313, allocations: 62.39 kB / 1.18 GB, free: 30.54 MB / 0.698 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.01107/1.324, allocations: 2.431 MB / 1.183 GB, free: 28.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.52e-05/1.324, allocations: 8.031 kB / 1.183 GB, free: 28.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/1.336, allocations: 1.904 MB / 1.185 GB, free: 26.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006697/1.343, allocations: 1.677 MB / 1.186 GB, free: 25.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003734/1.344, allocations: 227.9 kB / 1.187 GB, free: 25.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002626/1.346, allocations: 283.2 kB / 1.187 GB, free: 25.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01977/1.366, allocations: 5.309 MB / 1.192 GB, free: 21.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001846/1.366, allocations: 7.938 kB / 1.192 GB, free: 21.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00153/1.368, allocations: 131.4 kB / 1.192 GB, free: 21.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003884/1.368, allocations: 194.4 kB / 1.192 GB, free: 21.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01559/1.384, allocations: 5.374 MB / 1.198 GB, free: 16.84 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.03904/1.423, allocations: 22.77 MB / 1.22 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006172/1.429, allocations: 2.502 MB / 1.222 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002794/1.429, allocations: 118.1 kB / 1.222 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.732e-05/1.43, allocations: 51.5 kB / 1.222 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=116): time 4.088e-06/1.43, allocations: 0 / 1.222 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of matching and sorting (n=146): time 0.04068/1.47, allocations: 11.55 MB / 1.234 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001899/1.47, allocations: 222.9 kB / 1.234 GB, free: 9.336 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/1.472, allocations: 0.9447 MB / 1.235 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003904/1.473, allocations: 45.7 kB / 1.235 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001011/1.474, allocations: 1.242 MB / 1.236 GB, free: 7.07 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007402/1.475, allocations: 0.5046 MB / 1.237 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/1.475, allocations: 44.03 kB / 1.237 GB, free: 6.516 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002594/1.475, allocations: 427 kB / 1.237 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004751/1.48, allocations: 1.757 MB / 1.239 GB, free: 4.328 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005223/1.485, allocations: 2.436 MB / 1.241 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004728/1.49, allocations: 2.087 MB / 1.243 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/1.49, allocations: 4 kB / 1.243 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.0123/1.502, allocations: 4.989 MB / 1.248 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.004254/1.506, allocations: 8.614 MB / 1.256 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.793e-05/1.507, allocations: 20 kB / 1.256 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002162/1.509, allocations: 0.7464 MB / 1.257 GB, free: 404 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003492/1.512, allocations: 0.7721 MB / 1.258 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/1.526, allocations: 12.79 MB / 1.27 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004134/1.53, allocations: 482.9 kB / 1.271 GB, free: 1.555 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004045/1.531, allocations: 112 kB / 1.271 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/1.531, allocations: 4 kB / 1.271 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01198/1.543, allocations: 4.856 MB / 1.276 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.872e-05/1.543, allocations: 23.94 kB / 1.276 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001855/1.545, allocations: 0.6964 MB / 1.276 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003324/1.548, allocations: 0.7604 MB / 1.277 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01252/1.561, allocations: 12.7 MB / 1.29 GB, free: 13.56 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003501/1.564, allocations: 451.2 kB / 1.29 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002915/1.564, allocations: 112 kB / 1.29 GB, free: 13.01 MB / 0.7917 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 () * Number of clocked 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.002932/1.567, allocations: 1.285 MB / 1.291 GB, free: 11.71 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004477/1.568, allocations: 118.6 kB / 1.291 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01053/1.578, allocations: 4.351 MB / 1.296 GB, free: 7.191 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/1.578, allocations: 20 kB / 1.296 GB, free: 7.172 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.798e-05/1.578, allocations: 12 kB / 1.296 GB, free: 7.16 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/1.578, allocations: 7.969 kB / 1.296 GB, free: 7.152 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01785/1.596, allocations: 7.932 MB / 1.303 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.31e-05/1.596, allocations: 4 kB / 1.304 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00245/1.599, allocations: 0.5272 MB / 1.304 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001789/1.601, allocations: 0.6376 MB / 1.305 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001696/1.601, allocations: 47.95 kB / 1.305 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01246/1.613, allocations: 12.35 MB / 1.317 GB, free: 0.6602 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.184e-05/1.613, allocations: 11.94 kB / 1.317 GB, free: 0.6484 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/1.624, allocations: 4.496 MB / 1.321 GB, free: 11.88 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001523/1.626, allocations: 495.4 kB / 1.322 GB, free: 11.37 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002348/1.626, allocations: 36 kB / 1.322 GB, free: 11.34 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002373/1.629, allocations: 391.3 kB / 1.322 GB, free: 10.95 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003525/1.629, allocations: 132.6 kB / 1.322 GB, free: 10.82 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/1.629, allocations: 63.95 kB / 1.322 GB, free: 10.76 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001172/1.63, allocations: 0.7254 MB / 1.323 GB, free: 10.04 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.31e-07/1.63, allocations: 0 / 1.323 GB, free: 10.04 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004549/1.635, allocations: 1.164 MB / 1.324 GB, free: 8.875 MB / 0.823 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 () * Number of clocked 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.0003827/1.635, allocations: 166.7 kB / 1.324 GB, free: 8.699 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0184/1.654, allocations: 8.106 MB / 1.332 GB, free: 460 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.821e-05/1.654, allocations: 8.188 kB / 1.332 GB, free: 452 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.005976/1.66, allocations: 2.72 MB / 1.335 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/1.661, allocations: 153.5 kB / 1.335 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02189/1.683, allocations: 8.151 MB / 1.343 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002635/1.686, allocations: 2.338 MB / 1.345 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.004084/1.69, allocations: 1.248 MB / 1.346 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005109/1.69, allocations: 123.3 kB / 1.347 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of SimCode: time 1.623e-06/1.69, allocations: 3.938 kB / 1.347 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of Templates: time 0.05307/1.743, allocations: 28.98 MB / 1.375 GB, free: 4.523 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