Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Converter,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008994/0.0008995, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006108/0.006108, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.561/1.561, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.034/3.034, allocations: 470.6 MB / 0.7441 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005416/0.0005419, allocations: 15.19 kB / 0.9123 GB, free: 34.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4422/0.4428, allocations: 161.4 MB / 1.07 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.02055/0.4634, allocations: 15.76 MB / 1.085 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01108/0.4745, allocations: 5.682 MB / 1.091 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/0.476, allocations: 35.94 kB / 1.091 GB, free: 5.855 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.4775, allocations: 293.9 kB / 1.091 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003169/0.4807, allocations: 0.7825 MB / 1.092 GB, free: 4.781 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003401/0.4842, allocations: 0.7732 MB / 1.093 GB, free: 4.008 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.009411/0.4936, allocations: 6.043 MB / 1.099 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01317/0.5068, allocations: 6.745 MB / 1.105 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002735/0.5096, allocations: 1.179 MB / 1.106 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003762/0.5134, allocations: 1.791 MB / 1.108 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0008814/0.5143, allocations: 180 kB / 1.108 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003004/0.5173, allocations: 0.9983 MB / 1.109 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003199/0.5205, allocations: 1.349 MB / 1.111 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.004804/0.5254, allocations: 1.293 MB / 1.112 GB, free: 320 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.009282/0.5347, allocations: 5.776 MB / 1.117 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5347, allocations: 0 / 1.117 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.465e-06/0.5348, allocations: 4 kB / 1.117 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001888/0.535, allocations: 0 / 1.117 GB, free: 10.52 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.006471/0.5414, allocations: 2.23 MB / 1.12 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.5415, allocations: 8.031 kB / 1.12 GB, free: 8.219 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003925/0.5454, allocations: 0.6613 MB / 1.12 GB, free: 7.555 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003164/0.5486, allocations: 1.427 MB / 1.122 GB, free: 6.082 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002069/0.5489, allocations: 210 kB / 1.122 GB, free: 5.875 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00071/0.5496, allocations: 268.4 kB / 1.122 GB, free: 5.613 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01027/0.5599, allocations: 4.712 MB / 1.127 GB, free: 0.8086 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.22e-05/0.56, allocations: 7.938 kB / 1.127 GB, free: 0.8008 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000332/0.5603, allocations: 116 kB / 1.127 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002079/0.5605, allocations: 160.6 kB / 1.127 GB, free: 0.5273 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008167/0.5687, allocations: 4.085 MB / 1.131 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03401/0.6027, allocations: 20.31 MB / 1.151 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004111/0.6069, allocations: 1.902 MB / 1.153 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.6084, allocations: 0.7508 MB / 1.153 GB, free: 3.34 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002364/0.6087, allocations: 113.7 kB / 1.154 GB, free: 3.207 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.832e-05/0.6087, allocations: 47.2 kB / 1.154 GB, free: 3.152 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=77): time 6.011e-06/0.6088, allocations: 0 / 1.154 GB, free: 3.152 MB / 0.9044 GB Notification: Performance of matching and sorting (n=92): time 0.02184/0.6306, allocations: 5.279 MB / 1.159 GB, free: 13.86 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.6308, allocations: 141.5 kB / 1.159 GB, free: 13.69 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.6325, allocations: 0.9763 MB / 1.16 GB, free: 12.71 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.6326, allocations: 41.7 kB / 1.16 GB, free: 12.66 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001241/0.6339, allocations: 1.176 MB / 1.161 GB, free: 11.46 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005309/0.6344, allocations: 335.3 kB / 1.161 GB, free: 11.13 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002668/0.6347, allocations: 137.6 kB / 1.161 GB, free: 10.99 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.6349, allocations: 334 kB / 1.162 GB, free: 10.66 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.6366, allocations: 0.8627 MB / 1.163 GB, free: 9.797 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002182/0.6388, allocations: 1.514 MB / 1.164 GB, free: 7.992 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003778/0.6426, allocations: 2.457 MB / 1.166 GB, free: 5.242 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.426e-05/0.6426, allocations: 8 kB / 1.166 GB, free: 5.234 MB / 0.92 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.00459/0.6472, allocations: 2.504 MB / 1.169 GB, free: 2.719 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008374/0.6481, allocations: 0.7178 MB / 1.17 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-05/0.6481, allocations: 20 kB / 1.17 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.805e-05/0.6482, allocations: 32 kB / 1.17 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002559/0.6508, allocations: 0.5148 MB / 1.17 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.186e-05/0.6509, allocations: 43.86 kB / 1.17 GB, free: 1.098 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.6521, allocations: 155.5 kB / 1.17 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002094/0.6524, allocations: 91.91 kB / 1.17 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.6524, allocations: 4.938 kB / 1.17 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00422/0.6566, allocations: 2.386 MB / 1.173 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.735e-05/0.6567, allocations: 27.94 kB / 1.173 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.301e-05/0.6567, allocations: 28 kB / 1.173 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/0.6592, allocations: 0.5115 MB / 1.173 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.144e-05/0.6593, allocations: 47.86 kB / 1.173 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.6605, allocations: 127.8 kB / 1.174 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/0.6607, allocations: 87.98 kB / 1.174 GB, free: 13.64 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (211): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002332/0.663, allocations: 1.222 MB / 1.175 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003202/0.6634, allocations: 98.8 kB / 1.175 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00342/0.6668, allocations: 1.833 MB / 1.177 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.6668, allocations: 12 kB / 1.177 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.6669, allocations: 3.984 kB / 1.177 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.6669, allocations: 3.984 kB / 1.177 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/0.6808, allocations: 9.056 MB / 1.186 GB, free: 356 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.857e-05/0.6808, allocations: 12 kB / 1.186 GB, free: 344 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/0.682, allocations: 248.5 kB / 1.186 GB, free: 96 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.789e-05/0.6821, allocations: 20 kB / 1.186 GB, free: 76 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-05/0.6822, allocations: 28 kB / 1.186 GB, free: 48 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-05/0.6822, allocations: 27.86 kB / 1.186 GB, free: 20 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.258e-05/0.6822, allocations: 15.94 kB / 1.186 GB, free: 4 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/0.6849, allocations: 1.77 MB / 1.188 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006776/0.6856, allocations: 327.7 kB / 1.188 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002718/0.6859, allocations: 28 kB / 1.188 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00092/0.6868, allocations: 75.89 kB / 1.188 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.687, allocations: 99.55 kB / 1.188 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.57e-05/0.6871, allocations: 36 kB / 1.188 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001433/0.6885, allocations: 0.7254 MB / 1.189 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6885, allocations: 0 / 1.189 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00372/0.6922, allocations: 0.8086 MB / 1.19 GB, free: 11.98 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003928/0.6926, allocations: 162.9 kB / 1.19 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005449/0.6981, allocations: 2.975 MB / 1.193 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/0.6981, allocations: 0 / 1.193 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.6992, allocations: 0.5803 MB / 1.193 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002703/0.7019, allocations: 172.2 kB / 1.193 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.7128, allocations: 5.565 MB / 1.199 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00323/0.716, allocations: 2.105 MB / 1.201 GB, free: 228 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003274/0.7193, allocations: 1.019 MB / 1.202 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004798/0.7198, allocations: 91.36 kB / 1.202 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of SimCode: time 9.42e-07/0.7199, allocations: 4 kB / 1.202 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of Templates: time 0.03248/0.7524, allocations: 13.98 MB / 1.216 GB, free: 1.195 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches