Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 110.5 kB / 16.42 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 188.3 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.347/2.347, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 60.09 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7705/0.7719, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD): time 0.01915/0.7911, allocations: 16.37 MB / 1.105 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009886/0.801, allocations: 5.882 MB / 1.11 GB, free: 6.676 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001673/0.8027, allocations: 43.59 kB / 1.11 GB, free: 6.672 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004/0.8067, allocations: 1.368 MB / 1.112 GB, free: 5.852 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003556/0.8103, allocations: 1.033 MB / 1.113 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002922/0.8132, allocations: 1.03 MB / 1.114 GB, free: 4.699 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005171/0.8184, allocations: 4.148 MB / 1.118 GB, free: 2.91 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007157/0.8256, allocations: 5.379 MB / 1.123 GB, free: 0.793 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00314/0.8287, allocations: 1.846 MB / 1.125 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003906/0.8326, allocations: 2.193 MB / 1.127 GB, free: 15 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001483/0.8341, allocations: 432.2 kB / 1.127 GB, free: 15 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003253/0.8374, allocations: 1.114 MB / 1.129 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003162/0.8406, allocations: 1.708 MB / 1.13 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.005108/0.8457, allocations: 1.684 MB / 1.132 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.8563, allocations: 6.314 MB / 1.138 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.8564, allocations: 0 / 1.138 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8564, allocations: 4 kB / 1.138 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001843/0.8566, allocations: 0 / 1.138 GB, free: 11.03 MB / 0.8887 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.009709/0.8663, allocations: 2.949 MB / 1.141 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.8663, allocations: 8.5 kB / 1.141 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01229/0.8786, allocations: 1.997 MB / 1.143 GB, free: 9.176 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005985/0.8847, allocations: 1.615 MB / 1.144 GB, free: 8.141 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/0.885, allocations: 218.1 kB / 1.145 GB, free: 8.039 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001324/0.8863, allocations: 281.9 kB / 1.145 GB, free: 7.945 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01436/0.9007, allocations: 5.685 MB / 1.15 GB, free: 4.672 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.877e-05/0.9008, allocations: 1.281 kB / 1.15 GB, free: 4.672 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004688/0.9013, allocations: 116.7 kB / 1.151 GB, free: 4.582 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003826/0.9016, allocations: 206.4 kB / 1.151 GB, free: 4.523 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01521/0.9169, allocations: 5.831 MB / 1.156 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02853/0.9454, allocations: 22.43 MB / 1.178 GB, free: 13.71 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006295/0.9518, allocations: 3.009 MB / 1.181 GB, free: 11.72 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004939/0.9567, allocations: 1.97 MB / 1.183 GB, free: 10.7 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001785/0.9569, allocations: 116.4 kB / 1.183 GB, free: 10.59 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.718e-05/0.957, allocations: 62.08 kB / 1.183 GB, free: 10.52 MB / 0.92 GB Notification: Performance of pre-optimization done (n=132): time 3.727e-06/0.957, allocations: 0 / 1.183 GB, free: 10.52 MB / 0.92 GB Notification: Performance of matching and sorting (n=174): time 0.03958/0.9966, allocations: 12.82 MB / 1.196 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.9967, allocations: 226.9 kB / 1.196 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.998, allocations: 0.9608 MB / 1.197 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002177/0.9983, allocations: 53.7 kB / 1.197 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000702/0.999, allocations: 1.154 MB / 1.198 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006177/0.9996, allocations: 0.5969 MB / 1.199 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008019/1, allocations: 463.7 kB / 1.199 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001962/1.001, allocations: 334 kB / 1.2 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004767/1.005, allocations: 1.879 MB / 1.201 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005243/1.011, allocations: 2.463 MB / 1.204 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009875/1.021, allocations: 4.37 MB / 1.208 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.511e-05/1.021, allocations: 8 kB / 1.208 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01343/1.034, allocations: 5.427 MB / 1.213 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/1.034, allocations: 16.22 kB / 1.213 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.064e-05/1.034, allocations: 24 kB / 1.213 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003349/1.038, allocations: 1.205 MB / 1.215 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003383/1.041, allocations: 0.7292 MB / 1.215 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01622/1.057, allocations: 11.43 MB / 1.226 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003552/1.061, allocations: 463.1 kB / 1.227 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005336/1.061, allocations: 108 kB / 1.227 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006996/1.068, allocations: 2.951 MB / 1.23 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005121/1.073, allocations: 2.456 MB / 1.232 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009798/1.083, allocations: 4.343 MB / 1.237 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.48e-05/1.083, allocations: 4 kB / 1.237 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.01286/1.096, allocations: 5.364 MB / 1.242 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/1.096, allocations: 12 kB / 1.242 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.728e-05/1.096, allocations: 20.31 kB / 1.242 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00274/1.099, allocations: 1.122 MB / 1.243 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003241/1.102, allocations: 0.7292 MB / 1.244 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01447/1.117, allocations: 11.23 MB / 1.255 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003336/1.12, allocations: 455.3 kB / 1.255 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004284/1.121, allocations: 108 kB / 1.255 GB, free: 15.38 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (212): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,31,92.0%), (5,31,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007284/1.121, allocations: 319.1 kB / 1.255 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005162/1.122, allocations: 118.6 kB / 1.256 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0125/1.134, allocations: 4.969 MB / 1.26 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.04e-05/1.134, allocations: 11.97 kB / 1.26 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.134, allocations: 0 / 1.26 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/1.136, allocations: 0.4916 MB / 1.261 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004348/1.136, allocations: 28 kB / 1.261 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002701/1.139, allocations: 387.4 kB / 1.261 GB, free: 9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003127/1.139, allocations: 160.9 kB / 1.261 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01515/1.154, allocations: 5.466 MB / 1.267 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01461/1.169, allocations: 6.172 MB / 1.273 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004379/1.173, allocations: 1.77 MB / 1.275 GB, free: 11.38 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001215/1.175, allocations: 0.6903 MB / 1.275 GB, free: 10.69 MB / 1.014 GB Notification: Performance of Backend: time 6.72e-07/1.175, allocations: 4 kB / 1.275 GB, free: 10.69 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01917/1.194, allocations: 6.857 MB / 1.282 GB, free: 3.785 MB / 1.014 GB Notification: Performance of SimCode: time 0.01158/1.205, allocations: 5.301 MB / 1.287 GB, free: 14.44 MB / 1.029 GB Notification: Performance of Templates: time 0.08918/1.295, allocations: 57.82 MB / 1.344 GB, free: 4.715 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches