Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001549/0.001549, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.366/1.366, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.508/2.508, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 67.91 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9086/0.9102, allocations: 151.6 MB / 1.167 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer): time 0.02092/0.9312, allocations: 17.12 MB / 1.184 GB, free: 2.59 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01082/0.9421, allocations: 6.098 MB / 1.19 GB, free: 12.46 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.9435, allocations: 47.88 kB / 1.19 GB, free: 12.42 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00427/0.9478, allocations: 1.567 MB / 1.192 GB, free: 10.85 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003074/0.9509, allocations: 1.07 MB / 1.193 GB, free: 9.773 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002805/0.9537, allocations: 1.047 MB / 1.194 GB, free: 8.727 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004837/0.9585, allocations: 4.237 MB / 1.198 GB, free: 4.48 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007187/0.9657, allocations: 5.644 MB / 1.203 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002708/0.9685, allocations: 1.893 MB / 1.205 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00352/0.972, allocations: 2.24 MB / 1.207 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001097/0.9731, allocations: 440 kB / 1.208 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/0.9759, allocations: 1.116 MB / 1.209 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.002527/0.9784, allocations: 1.747 MB / 1.211 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002373/0.9808, allocations: 1.72 MB / 1.212 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006269/0.9871, allocations: 6.438 MB / 1.219 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.9871, allocations: 0 / 1.219 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.725e-06/0.9871, allocations: 3.938 kB / 1.219 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001122/0.9872, allocations: 0 / 1.219 GB, free: 15.11 MB / 0.9512 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.00627/0.9935, allocations: 3.044 MB / 1.221 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.9936, allocations: 12.92 kB / 1.222 GB, free: 12 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/1.005, allocations: 2.02 MB / 1.223 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003709/1.009, allocations: 1.636 MB / 1.225 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/1.009, allocations: 222.3 kB / 1.225 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007255/1.01, allocations: 280.4 kB / 1.226 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01358/1.023, allocations: 5.773 MB / 1.231 GB, free: 1.934 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.537e-05/1.023, allocations: 4 kB / 1.231 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004295/1.024, allocations: 120 kB / 1.231 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003349/1.024, allocations: 208.8 kB / 1.232 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01435/1.038, allocations: 5.811 MB / 1.237 GB, free: 11.78 MB / 0.9669 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.03532/1.074, allocations: 22.72 MB / 1.259 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006624/1.08, allocations: 2.506 MB / 1.262 GB, free: 388 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004854/1.085, allocations: 1.64 MB / 1.263 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002978/1.086, allocations: 122 kB / 1.264 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.562e-05/1.086, allocations: 51.56 kB / 1.264 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=116): time 6.151e-06/1.086, allocations: 0 / 1.264 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.04024/1.126, allocations: 11.8 MB / 1.275 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.773e-05/1.126, allocations: 218.9 kB / 1.275 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/1.128, allocations: 1.051 MB / 1.276 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002753/1.128, allocations: 53.64 kB / 1.276 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008163/1.129, allocations: 1.291 MB / 1.278 GB, free: 4 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007002/1.13, allocations: 0.5229 MB / 1.278 GB, free: 15.48 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/1.131, allocations: 463.7 kB / 1.279 GB, free: 15.02 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.131, allocations: 337.9 kB / 1.279 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004875/1.136, allocations: 1.785 MB / 1.281 GB, free: 12.88 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005453/1.141, allocations: 2.467 MB / 1.283 GB, free: 10.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/1.152, allocations: 4.261 MB / 1.287 GB, free: 5.531 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.52e-05/1.152, allocations: 8 kB / 1.287 GB, free: 5.523 MB / 1.014 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01402/1.166, allocations: 5.103 MB / 1.292 GB, free: 400 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.891e-05/1.166, allocations: 22.44 kB / 1.292 GB, free: 380 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-05/1.166, allocations: 20 kB / 1.292 GB, free: 360 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003046/1.169, allocations: 0.8835 MB / 1.293 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003563/1.172, allocations: 0.7565 MB / 1.294 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01551/1.188, allocations: 13.88 MB / 1.307 GB, free: 15.97 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003472/1.192, allocations: 471.1 kB / 1.308 GB, free: 15.51 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004665/1.192, allocations: 116 kB / 1.308 GB, free: 15.39 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006784/1.199, allocations: 2.861 MB / 1.311 GB, free: 12.52 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005231/1.204, allocations: 2.459 MB / 1.313 GB, free: 9.754 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009785/1.214, allocations: 4.237 MB / 1.317 GB, free: 5.207 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.999e-05/1.214, allocations: 8 kB / 1.317 GB, free: 5.199 MB / 1.045 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.01307/1.227, allocations: 5.037 MB / 1.322 GB, free: 136 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/1.227, allocations: 16 kB / 1.322 GB, free: 120 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.442e-05/1.227, allocations: 24 kB / 1.322 GB, free: 96 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002457/1.23, allocations: 0.7936 MB / 1.323 GB, free: 15.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00342/1.233, allocations: 0.7565 MB / 1.324 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01658/1.25, allocations: 13.72 MB / 1.337 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003553/1.253, allocations: 451.3 kB / 1.338 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005161/1.254, allocations: 115.9 kB / 1.338 GB, free: 15.4 MB / 1.076 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009247/1.255, allocations: 317 kB / 1.338 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006741/1.255, allocations: 127.2 kB / 1.338 GB, free: 14.96 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/1.268, allocations: 4.382 MB / 1.342 GB, free: 10.53 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.928e-05/1.268, allocations: 11.91 kB / 1.342 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/1.268, allocations: 4 kB / 1.342 GB, free: 10.51 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009758/1.269, allocations: 472 kB / 1.343 GB, free: 10.03 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003875/1.269, allocations: 27.92 kB / 1.343 GB, free: 10 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002786/1.272, allocations: 383.4 kB / 1.343 GB, free: 9.629 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003018/1.272, allocations: 117.1 kB / 1.343 GB, free: 9.516 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01321/1.286, allocations: 4.885 MB / 1.348 GB, free: 4.594 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01394/1.3, allocations: 5.653 MB / 1.354 GB, free: 14.93 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0044/1.304, allocations: 1.595 MB / 1.355 GB, free: 13.33 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001316/1.305, allocations: 0.7449 MB / 1.356 GB, free: 12.59 MB / 1.092 GB Notification: Performance of Backend: time 4.71e-07/1.305, allocations: 0 / 1.356 GB, free: 12.59 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01882/1.324, allocations: 7.09 MB / 1.363 GB, free: 5.332 MB / 1.092 GB Notification: Performance of SimCode: time 0.009411/1.334, allocations: 5.162 MB / 1.368 GB, free: 128 kB / 1.092 GB Notification: Performance of Templates: time 0.0793/1.413, allocations: 53.86 MB / 1.421 GB, free: 10.29 MB / 1.154 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches