Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.000957/0.0009566, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001241/0.001241, allocations: 176.8 kB / 16.27 MB, free: 6.672 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.421/1.421, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.827/2.827, allocations: 462.7 MB / 0.7364 GB, free: 312 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003953, allocations: 12.53 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3625, allocations: 159.6 MB / 1.059 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01922/0.3817, allocations: 15.77 MB / 1.074 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.009747/0.3915, allocations: 5.677 MB / 1.08 GB, free: 0 / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.3929, allocations: 35.98 kB / 1.08 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.3942, allocations: 293.9 kB / 1.08 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002406/0.3966, allocations: 0.7825 MB / 1.081 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.399, allocations: 0.7721 MB / 1.081 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007407/0.4064, allocations: 6.043 MB / 1.087 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01129/0.4177, allocations: 6.755 MB / 1.094 GB, free: 1.227 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002275/0.42, allocations: 1.172 MB / 1.095 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003218/0.4233, allocations: 1.799 MB / 1.097 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0007072/0.424, allocations: 184 kB / 1.097 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/0.4268, allocations: 0.9867 MB / 1.098 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002465/0.4293, allocations: 1.357 MB / 1.099 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002498/0.4318, allocations: 1.293 MB / 1.101 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.007354/0.4391, allocations: 5.764 MB / 1.106 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.4392, allocations: 0 / 1.106 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.817e-06/0.4392, allocations: 0 / 1.106 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001451/0.4394, allocations: 0 / 1.106 GB, free: 4.633 MB / 0.8575 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.005496/0.4449, allocations: 2.234 MB / 1.108 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.4449, allocations: 12.03 kB / 1.108 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003665/0.4486, allocations: 0.6731 MB / 1.109 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002621/0.4512, allocations: 1.427 MB / 1.11 GB, free: 188 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.4514, allocations: 202 kB / 1.111 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004949/0.4519, allocations: 268.4 kB / 1.111 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009302/0.4612, allocations: 4.723 MB / 1.116 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.495e-05/0.4613, allocations: 4 kB / 1.116 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003137/0.4616, allocations: 115.9 kB / 1.116 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002442/0.4619, allocations: 148.6 kB / 1.116 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007862/0.4698, allocations: 4.085 MB / 1.12 GB, free: 6.543 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02657/0.4964, allocations: 20.31 MB / 1.14 GB, free: 268 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003409/0.4998, allocations: 1.901 MB / 1.141 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.5009, allocations: 0.7548 MB / 1.142 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/0.5011, allocations: 101.7 kB / 1.142 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.5012, allocations: 47.22 kB / 1.142 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=77): time 2.956e-06/0.5012, allocations: 3.938 kB / 1.142 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of matching and sorting (n=92): time 0.01894/0.5201, allocations: 5.275 MB / 1.147 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.869e-05/0.5202, allocations: 149.5 kB / 1.148 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.5216, allocations: 0.9723 MB / 1.149 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.597e-05/0.5216, allocations: 41.7 kB / 1.149 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007189/0.5224, allocations: 1.18 MB / 1.15 GB, free: 5.57 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003458/0.5227, allocations: 339.3 kB / 1.15 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.5229, allocations: 137.6 kB / 1.15 GB, free: 5.094 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5231, allocations: 333.9 kB / 1.151 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.5243, allocations: 0.8627 MB / 1.151 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/0.526, allocations: 1.514 MB / 1.153 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00302/0.5291, allocations: 2.453 MB / 1.155 GB, free: 15.35 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.5291, allocations: 8 kB / 1.155 GB, free: 15.34 MB / 0.92 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003697/0.5328, allocations: 2.504 MB / 1.158 GB, free: 12.83 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.000623/0.5334, allocations: 0.7147 MB / 1.158 GB, free: 11.82 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.577e-05/0.5335, allocations: 20 kB / 1.158 GB, free: 11.8 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.34e-05/0.5335, allocations: 32 kB / 1.158 GB, free: 11.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/0.5359, allocations: 0.5186 MB / 1.159 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.372e-05/0.536, allocations: 43.86 kB / 1.159 GB, free: 11.21 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.5371, allocations: 155.6 kB / 1.159 GB, free: 11.05 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002017/0.5373, allocations: 87.92 kB / 1.159 GB, free: 10.97 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.5373, allocations: 4 kB / 1.159 GB, free: 10.96 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003606/0.5409, allocations: 2.386 MB / 1.162 GB, free: 8.574 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-05/0.541, allocations: 24 kB / 1.162 GB, free: 8.551 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.207e-05/0.5411, allocations: 35.98 kB / 1.162 GB, free: 8.516 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002366/0.5434, allocations: 0.5148 MB / 1.162 GB, free: 8 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.12e-05/0.5435, allocations: 39.86 kB / 1.162 GB, free: 7.961 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.5445, allocations: 131.8 kB / 1.162 GB, free: 7.832 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.5447, allocations: 91.97 kB / 1.162 GB, free: 7.742 MB / 0.92 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.002183/0.5468, allocations: 1.224 MB / 1.164 GB, free: 6.508 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002704/0.5471, allocations: 98.81 kB / 1.164 GB, free: 6.41 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002974/0.5501, allocations: 1.832 MB / 1.165 GB, free: 4.531 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.5501, allocations: 12 kB / 1.165 GB, free: 4.52 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.5501, allocations: 0 / 1.165 GB, free: 4.52 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.5502, allocations: 3.984 kB / 1.165 GB, free: 4.516 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/0.5618, allocations: 9.061 MB / 1.174 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.5618, allocations: 12 kB / 1.174 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.5629, allocations: 247.6 kB / 1.175 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-05/0.5629, allocations: 19.98 kB / 1.175 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.276e-05/0.563, allocations: 28 kB / 1.175 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-05/0.563, allocations: 19.94 kB / 1.175 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.652e-05/0.5631, allocations: 20.22 kB / 1.175 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/0.5655, allocations: 1.77 MB / 1.176 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005353/0.566, allocations: 327.8 kB / 1.177 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.5662, allocations: 27.98 kB / 1.177 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007159/0.5669, allocations: 75.91 kB / 1.177 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.567, allocations: 91.61 kB / 1.177 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.598e-05/0.5671, allocations: 35.98 kB / 1.177 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009765/0.5681, allocations: 0.7332 MB / 1.178 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5681, allocations: 0 / 1.178 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002824/0.5709, allocations: 0.8086 MB / 1.178 GB, free: 6.09 MB / 0.9356 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.0003038/0.5712, allocations: 170.9 kB / 1.179 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004446/0.5757, allocations: 2.968 MB / 1.181 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.5757, allocations: 4.062 kB / 1.181 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009431/0.5766, allocations: 0.5761 MB / 1.182 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/0.579, allocations: 173.2 kB / 1.182 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0079/0.587, allocations: 5.559 MB / 1.188 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002155/0.5891, allocations: 2.113 MB / 1.19 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002674/0.5918, allocations: 1.019 MB / 1.191 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/0.5922, allocations: 95.41 kB / 1.191 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of SimCode: time 7.01e-07/0.5922, allocations: 0 / 1.191 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of Templates: time 0.02822/0.6204, allocations: 13.98 MB / 1.204 GB, free: 11.3 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches