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.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.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.001215/0.001214, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001017/0.001017, allocations: 177.3 kB / 15.94 MB, free: 228 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.418/1.418, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.587/2.587, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000391/0.0003911, allocations: 8 kB / 0.8708 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8353/0.8357, allocations: 153.7 MB / 1.021 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01787/0.8536, allocations: 14.61 MB / 1.035 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.009741/0.8634, allocations: 5.349 MB / 1.04 GB, free: 13.07 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.8647, allocations: 35.88 kB / 1.04 GB, free: 13.03 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0009406/0.8657, allocations: 322.1 kB / 1.041 GB, free: 12.71 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002035/0.8677, allocations: 462.5 kB / 1.041 GB, free: 12.26 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002443/0.8702, allocations: 0.647 MB / 1.042 GB, free: 11.61 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002609/0.8728, allocations: 1.606 MB / 1.043 GB, free: 10 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00935/0.8821, allocations: 5.891 MB / 1.049 GB, free: 4.055 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001958/0.8841, allocations: 0.9698 MB / 1.05 GB, free: 3.082 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.886, allocations: 1.126 MB / 1.051 GB, free: 1.953 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003611/0.8864, allocations: 180 kB / 1.051 GB, free: 1.777 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.8879, allocations: 0.5658 MB / 1.052 GB, free: 1.211 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001338/0.8893, allocations: 1.255 MB / 1.053 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0006798/0.89, allocations: 0.5161 MB / 1.054 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.005483/0.8955, allocations: 5.067 MB / 1.059 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.8955, allocations: 4 kB / 1.059 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.01e-06/0.8955, allocations: 0 / 1.059 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001855/0.8957, allocations: 0 / 1.059 GB, free: 10.35 MB / 0.8106 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.006111/0.9018, allocations: 2.252 MB / 1.061 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.9019, allocations: 11.98 kB / 1.061 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003961/0.9059, allocations: 0.7229 MB / 1.061 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004091/0.91, allocations: 1.41 MB / 1.063 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002041/0.9102, allocations: 205.6 kB / 1.063 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000826/0.9111, allocations: 276 kB / 1.063 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0109/0.922, allocations: 4.668 MB / 1.068 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.647e-05/0.9221, allocations: 3.938 kB / 1.068 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003435/0.9224, allocations: 115.9 kB / 1.068 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002052/0.9226, allocations: 148.6 kB / 1.068 GB, free: 356 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008089/0.9307, allocations: 4.074 MB / 1.072 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02752/0.9583, allocations: 20.42 MB / 1.092 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003539/0.9619, allocations: 1.944 MB / 1.094 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/0.9621, allocations: 105.7 kB / 1.094 GB, free: 3.652 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/0.9622, allocations: 43.22 kB / 1.094 GB, free: 3.602 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=77): time 2.415e-06/0.9622, allocations: 0 / 1.094 GB, free: 3.602 MB / 0.8419 GB Notification: Performance of matching and sorting (n=77): time 0.002655/0.9648, allocations: 1.703 MB / 1.096 GB, free: 1.891 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.942e-05/0.9649, allocations: 141.5 kB / 1.096 GB, free: 1.723 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.9663, allocations: 0.9684 MB / 1.097 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.767e-05/0.9664, allocations: 41.7 kB / 1.097 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008285/0.9672, allocations: 1.18 MB / 1.098 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/0.9675, allocations: 284.1 kB / 1.098 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-05/0.9676, allocations: 32 kB / 1.098 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002182/0.9678, allocations: 398.5 kB / 1.099 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.9689, allocations: 0.7806 MB / 1.099 GB, free: 14 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/0.9704, allocations: 1.417 MB / 1.101 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.9718, allocations: 1.096 MB / 1.102 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/0.9719, allocations: 8 kB / 1.102 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.003514/0.9754, allocations: 2.297 MB / 1.104 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.004449/0.9799, allocations: 8.351 MB / 1.112 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-05/0.9799, allocations: 20 kB / 1.112 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.436e-05/0.98, allocations: 32 kB / 1.112 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/0.9819, allocations: 447.2 kB / 1.113 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.051e-05/0.982, allocations: 43.86 kB / 1.113 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.9832, allocations: 257.9 kB / 1.113 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.9833, allocations: 83.92 kB / 1.113 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.9834, allocations: 8 kB / 1.113 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00341/0.9868, allocations: 2.199 MB / 1.115 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.314e-05/0.9868, allocations: 24.22 kB / 1.115 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.563e-05/0.9869, allocations: 36 kB / 1.115 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/0.9885, allocations: 447.2 kB / 1.116 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.945e-05/0.9886, allocations: 43.81 kB / 1.116 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.9896, allocations: 198.7 kB / 1.116 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.9898, allocations: 76 kB / 1.116 GB, free: 12 MB / 0.8731 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 (196): * Single equations (assignments): 196 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002151/0.9919, allocations: 1.203 MB / 1.117 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/0.9922, allocations: 86.97 kB / 1.117 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/0.9945, allocations: 1.552 MB / 1.119 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.9945, allocations: 11.98 kB / 1.119 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.9946, allocations: 3.953 kB / 1.119 GB, free: 9.082 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.9946, allocations: 7.922 kB / 1.119 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00895/1.004, allocations: 6.63 MB / 1.125 GB, free: 1.836 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/1.004, allocations: 8 kB / 1.125 GB, free: 1.828 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000758/1.004, allocations: 187.7 kB / 1.126 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-05/1.004, allocations: 12 kB / 1.126 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.464e-05/1.004, allocations: 24 kB / 1.126 GB, free: 1.609 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.25e-05/1.004, allocations: 15.94 kB / 1.126 GB, free: 1.594 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/1.004, allocations: 12.38 kB / 1.126 GB, free: 1.582 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/1.007, allocations: 1.971 MB / 1.127 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005976/1.007, allocations: 327.6 kB / 1.128 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/1.007, allocations: 23.98 kB / 1.128 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006575/1.008, allocations: 75.89 kB / 1.128 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/1.008, allocations: 67.77 kB / 1.128 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.106e-05/1.008, allocations: 28 kB / 1.128 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00101/1.009, allocations: 0.7176 MB / 1.129 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of sort global known variables: time 4.1e-07/1.009, allocations: 0 / 1.129 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003453/1.013, allocations: 1.193 MB / 1.13 GB, free: 12.84 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 (71): * Single equations (assignments): 71 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002643/1.013, allocations: 152.4 kB / 1.13 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004011/1.017, allocations: 2.71 MB / 1.133 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.017, allocations: 1.875 kB / 1.133 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006783/1.018, allocations: 0.517 MB / 1.133 GB, free: 9.473 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009433/1.019, allocations: 140 kB / 1.133 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006871/1.025, allocations: 5.059 MB / 1.138 GB, free: 4.145 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002092/1.028, allocations: 2.121 MB / 1.14 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002491/1.03, allocations: 0.9604 MB / 1.141 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/1.03, allocations: 79.42 kB / 1.141 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of SimCode: time 1.703e-06/1.03, allocations: 0 / 1.141 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of Templates: time 0.02385/1.054, allocations: 12 MB / 1.153 GB, free: 5.012 MB / 0.9044 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","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches