Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009465/0.0009466, allocations: 87.84 kB / 15.06 MB, free: 1.082 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.0009977/0.0009979, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.916/2.916, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005328/0.0005329, allocations: 9.625 kB / 0.9021 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.336, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer): time 0.005266/0.3414, allocations: 4.596 MB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005342/0.3467, allocations: 3.762 MB / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004215/0.3472, allocations: 11.88 kB / 1.066 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.3475, allocations: 87.31 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.3488, allocations: 0.5017 MB / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009511/0.3497, allocations: 351.2 kB / 1.067 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001239/0.351, allocations: 1.157 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.3522, allocations: 0.6253 MB / 1.069 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005223/0.3527, allocations: 354.6 kB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006477/0.3534, allocations: 474.3 kB / 1.07 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.847e-05/0.3535, allocations: 32 kB / 1.07 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.3545, allocations: 475.3 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002868/0.3548, allocations: 275.2 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.3549, allocations: 141.3 kB / 1.071 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009998/0.3559, allocations: 0.9548 MB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.356, allocations: 0 / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.784e-06/0.356, allocations: 0 / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.356, allocations: 4 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.001606/0.3576, allocations: 0.9468 MB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3576, allocations: 8.031 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007715/0.3654, allocations: 1.618 MB / 1.074 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009265/0.3663, allocations: 0.5385 MB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.3664, allocations: 45.3 kB / 1.075 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.3665, allocations: 59.98 kB / 1.075 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004127/0.3706, allocations: 1.833 MB / 1.076 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.3707, allocations: 3.938 kB / 1.076 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.3708, allocations: 27.98 kB / 1.076 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002064/0.371, allocations: 101.5 kB / 1.077 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006634/0.3777, allocations: 2.48 MB / 1.079 GB, free: 15.64 MB / 0.8419 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.008586/0.3863, allocations: 6.376 MB / 1.085 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00312/0.3894, allocations: 1.351 MB / 1.086 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002192/0.3916, allocations: 0.8948 MB / 1.087 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002503/0.3942, allocations: 2.147 MB / 1.089 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.3942, allocations: 54.41 kB / 1.089 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=69): time 2.585e-06/0.3942, allocations: 0 / 1.089 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of matching and sorting (n=93): time 0.02025/0.4145, allocations: 6.638 MB / 1.096 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.859e-05/0.4146, allocations: 195.9 kB / 1.096 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000726/0.4153, allocations: 0.5173 MB / 1.097 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001516/0.4155, allocations: 41.7 kB / 1.097 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.4158, allocations: 390.7 kB / 1.097 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004103/0.4162, allocations: 323.3 kB / 1.097 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.4164, allocations: 24 kB / 1.097 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002301/0.4166, allocations: 374.8 kB / 1.098 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002542/0.4192, allocations: 1.002 MB / 1.099 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002758/0.4219, allocations: 1.283 MB / 1.1 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002693/0.4246, allocations: 1.087 MB / 1.101 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.4247, allocations: 4 kB / 1.101 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.008842/0.4335, allocations: 3.337 MB / 1.104 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002402/0.4338, allocations: 335.9 kB / 1.105 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.151e-05/0.4338, allocations: 8 kB / 1.105 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004/0.4378, allocations: 1.096 MB / 1.106 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001974/0.4398, allocations: 467.2 kB / 1.106 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/0.4516, allocations: 9.207 MB / 1.115 GB, free: 9.066 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/0.4537, allocations: 307.5 kB / 1.115 GB, free: 8.766 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002317/0.4539, allocations: 63.95 kB / 1.116 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.4539, allocations: 4 kB / 1.116 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008068/0.462, allocations: 3.012 MB / 1.118 GB, free: 5.672 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/0.4621, allocations: 8.438 kB / 1.118 GB, free: 5.664 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002698/0.4648, allocations: 0.7636 MB / 1.119 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/0.4668, allocations: 491.2 kB / 1.12 GB, free: 4.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008396/0.4752, allocations: 6.915 MB / 1.126 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/0.4771, allocations: 303.5 kB / 1.127 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002341/0.4774, allocations: 59.95 kB / 1.127 GB, free: 12.74 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (124): * Single equations (assignments): 120 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006761/0.4781, allocations: 361 kB / 1.127 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/0.4784, allocations: 79.14 kB / 1.127 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008651/0.487, allocations: 3.081 MB / 1.13 GB, free: 9.184 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/0.4871, allocations: 12 kB / 1.13 GB, free: 9.172 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.032e-05/0.4871, allocations: 7.953 kB / 1.13 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/0.4871, allocations: 11.92 kB / 1.13 GB, free: 9.152 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/0.4984, allocations: 5.027 MB / 1.135 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/0.4984, allocations: 4 kB / 1.135 GB, free: 3.98 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/0.4999, allocations: 359.8 kB / 1.135 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003566/0.5035, allocations: 1.002 MB / 1.136 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/0.5037, allocations: 35.97 kB / 1.137 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/0.5144, allocations: 8.653 MB / 1.145 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.571e-05/0.5144, allocations: 15.95 kB / 1.145 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008876/0.5233, allocations: 3.247 MB / 1.148 GB, free: 6.031 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007241/0.5241, allocations: 308 kB / 1.148 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/0.5243, allocations: 23.98 kB / 1.148 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001754/0.5261, allocations: 295.5 kB / 1.149 GB, free: 5.398 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003364/0.5265, allocations: 87.84 kB / 1.149 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.5266, allocations: 43.97 kB / 1.149 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006017/0.5272, allocations: 370.8 kB / 1.149 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.763e-06/0.5272, allocations: 0 / 1.149 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002468/0.5297, allocations: 0.5078 MB / 1.15 GB, free: 4.398 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (66): * Single equations (assignments): 62 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003413/0.53, allocations: 139 kB / 1.15 GB, free: 4.254 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01231/0.5424, allocations: 4.956 MB / 1.155 GB, free: 15.21 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/0.5424, allocations: 4 kB / 1.155 GB, free: 15.21 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003798/0.5462, allocations: 1.735 MB / 1.156 GB, free: 13.43 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.5478, allocations: 111.4 kB / 1.156 GB, free: 13.32 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009991/0.5578, allocations: 3.526 MB / 1.16 GB, free: 9.688 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008852/0.5587, allocations: 1.04 MB / 1.161 GB, free: 8.621 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002133/0.5609, allocations: 0.4906 MB / 1.161 GB, free: 8.125 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003775/0.5613, allocations: 87.36 kB / 1.162 GB, free: 8.039 MB / 0.92 GB Notification: Performance of SimCode: time 7.91e-07/0.5613, allocations: 0 / 1.162 GB, free: 8.039 MB / 0.92 GB Notification: Performance of Templates: time 0.03601/0.5973, allocations: 19.73 MB / 1.181 GB, free: 4.395 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches