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.TransformerStepUpYD.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.TransformerStepUpYD,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.TransformerStepUpYD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD,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.TransformerStepUpYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.395/1.395, allocations: 249.5 MB / 257 MB, free: 6.93 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.001032/0.001032, allocations: 180.9 kB / 316.3 MB, free: 3.219 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.345/1.345, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0007908/0.0007908, allocations: 93.55 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.732e-05/1.733e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2042, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7519/0.9561, allocations: 181.5 MB / 1.062 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.9565, allocations: 91.94 kB / 1.063 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2424/1.199, allocations: 101.9 MB / 1.162 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.724e-06/1.199, allocations: 0 / 1.162 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.341e-05/1.199, allocations: 52 kB / 1.162 GB, free: 9.832 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.00492/1.204, allocations: 2.341 MB / 1.164 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/1.204, allocations: 11.97 kB / 1.164 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/1.215, allocations: 1.9 MB / 1.166 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004123/1.219, allocations: 1.658 MB / 1.168 GB, free: 3.812 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/1.219, allocations: 92 kB / 1.168 GB, free: 3.723 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000657/1.22, allocations: 164 kB / 1.168 GB, free: 3.562 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007422/1.228, allocations: 3.951 MB / 1.172 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007507/1.235, allocations: 4.308 MB / 1.176 GB, free: 11.2 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.304e-05/1.235, allocations: 4 kB / 1.176 GB, free: 11.2 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000287/1.235, allocations: 3.953 kB / 1.176 GB, free: 11.2 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003149/1.236, allocations: 192.7 kB / 1.176 GB, free: 11 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02531/1.261, allocations: 21.82 MB / 1.198 GB, free: 3.176 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003172/1.264, allocations: 2.478 MB / 1.2 GB, free: 0.5273 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001916/1.266, allocations: 1.321 MB / 1.201 GB, free: 15.18 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002086/1.266, allocations: 118.3 kB / 1.202 GB, free: 15.05 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/1.267, allocations: 59.89 kB / 1.202 GB, free: 14.98 MB / 0.823 GB Notification: Performance of pre-optimization done (n=132): time 3.427e-06/1.267, allocations: 0 / 1.202 GB, free: 14.98 MB / 0.823 GB Notification: Performance of matching and sorting (n=174): time 0.01449/1.281, allocations: 7.72 MB / 1.209 GB, free: 7.227 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/1.281, allocations: 222.9 kB / 1.209 GB, free: 6.961 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/1.282, allocations: 0.8117 MB / 1.21 GB, free: 6.141 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002379/1.283, allocations: 25.7 kB / 1.21 GB, free: 6.109 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006675/1.283, allocations: 1.154 MB / 1.211 GB, free: 4.938 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005576/1.284, allocations: 0.5658 MB / 1.212 GB, free: 4.363 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/1.284, allocations: 3.938 kB / 1.212 GB, free: 4.359 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002085/1.284, allocations: 435.2 kB / 1.212 GB, free: 3.926 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/1.286, allocations: 1.328 MB / 1.214 GB, free: 2.594 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/1.288, allocations: 1.892 MB / 1.215 GB, free: 464 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003468/1.292, allocations: 1.977 MB / 1.217 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/1.292, allocations: 8 kB / 1.217 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007954/1.3, allocations: 4.495 MB / 1.222 GB, free: 9.965 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.002688/1.302, allocations: 6.882 MB / 1.228 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.762e-05/1.302, allocations: 16 kB / 1.228 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00255/1.305, allocations: 0.9927 MB / 1.229 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00364/1.309, allocations: 0.737 MB / 1.23 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/1.322, allocations: 10.05 MB / 1.24 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003554/1.325, allocations: 427 kB / 1.24 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003638/1.326, allocations: 108 kB / 1.24 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/1.326, allocations: 4 kB / 1.24 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008082/1.334, allocations: 4.229 MB / 1.245 GB, free: 1.727 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.307e-05/1.334, allocations: 16 kB / 1.245 GB, free: 1.711 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/1.336, allocations: 0.8452 MB / 1.245 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003385/1.339, allocations: 0.7331 MB / 1.246 GB, free: 128 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01292/1.352, allocations: 9.626 MB / 1.256 GB, free: 6.258 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003485/1.356, allocations: 415 kB / 1.256 GB, free: 5.852 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006684/1.357, allocations: 108 kB / 1.256 GB, free: 5.746 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 210 * 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 prepare postOptimizeDAE: time 0.001043/1.358, allocations: 150.1 kB / 1.256 GB, free: 5.594 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007514/1.358, allocations: 122.5 kB / 1.256 GB, free: 5.473 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00879/1.367, allocations: 4.028 MB / 1.26 GB, free: 1.402 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.754e-05/1.367, allocations: 16 kB / 1.26 GB, free: 1.387 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.246e-05/1.367, allocations: 12 kB / 1.26 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.727e-05/1.367, allocations: 11.97 kB / 1.26 GB, free: 1.363 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5627/1.93, allocations: 7.324 MB / 1.267 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.441e-05/1.93, allocations: 6.719 kB / 1.267 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002933/1.933, allocations: 0.5238 MB / 1.268 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002583/1.936, allocations: 0.8699 MB / 1.269 GB, free: 252.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002854/1.936, allocations: 32.25 kB / 1.269 GB, free: 252.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01398/1.95, allocations: 9.369 MB / 1.278 GB, free: 250 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.896e-05/1.95, allocations: 10.53 kB / 1.278 GB, free: 250 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00883/1.959, allocations: 4.095 MB / 1.282 GB, free: 248.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/1.96, allocations: 0.5137 MB / 1.283 GB, free: 248.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004494/1.961, allocations: 11.16 kB / 1.283 GB, free: 248.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002981/1.964, allocations: 383.9 kB / 1.283 GB, free: 248.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005072/1.964, allocations: 146.1 kB / 1.283 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002205/1.964, allocations: 73.08 kB / 1.283 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001291/1.966, allocations: 0.6252 MB / 1.284 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.966, allocations: 0 / 1.284 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00603/1.972, allocations: 1.091 MB / 1.285 GB, free: 248.6 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): 99 * 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.0005176/1.972, allocations: 137.2 kB / 1.285 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01239/1.985, allocations: 6.156 MB / 1.291 GB, free: 248 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/1.985, allocations: 1.656 kB / 1.291 GB, free: 248 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003935/1.989, allocations: 2.023 MB / 1.293 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/1.99, allocations: 119.5 kB / 1.293 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02006/2.01, allocations: 5.861 MB / 1.299 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003337/2.014, allocations: 2.357 MB / 1.301 GB, free: 246 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003878/2.017, allocations: 1.258 MB / 1.302 GB, free: 246 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004802/2.018, allocations: 120.8 kB / 1.302 GB, free: 246 MB / 0.8698 GB Notification: Performance of SimCode: time 6.21e-07/2.018, allocations: 0 / 1.302 GB, free: 246 MB / 0.8698 GB Notification: Performance of Templates: time 0.04766/2.066, allocations: 33.2 MB / 1.335 GB, free: 244.7 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches