Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.402/1.402, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 183.5 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.906/1.906, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009064/0.0009062, allocations: 93.92 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003437, allocations: 12.47 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2555, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7769/1.032, allocations: 173.3 MB / 1.069 GB, free: 154.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003787/1.033, allocations: 103.1 kB / 1.069 GB, free: 154.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2069/1.24, allocations: 100.9 MB / 1.168 GB, free: 62.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.936e-06/1.24, allocations: 3.938 kB / 1.168 GB, free: 62.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.748e-05/1.24, allocations: 52 kB / 1.168 GB, free: 62.91 MB / 0.698 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.006144/1.246, allocations: 2.275 MB / 1.17 GB, free: 60.58 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.246, allocations: 12.03 kB / 1.17 GB, free: 60.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003544/1.25, allocations: 0.5864 MB / 1.171 GB, free: 59.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003321/1.253, allocations: 1.482 MB / 1.172 GB, free: 58.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/1.253, allocations: 205.6 kB / 1.172 GB, free: 58.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000475/1.254, allocations: 272 kB / 1.173 GB, free: 57.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00712/1.261, allocations: 4.271 MB / 1.177 GB, free: 53.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.769e-05/1.261, allocations: 0 / 1.177 GB, free: 53.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002935/1.261, allocations: 111.9 kB / 1.177 GB, free: 53.51 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001594/1.261, allocations: 148.5 kB / 1.177 GB, free: 53.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005533/1.267, allocations: 3.66 MB / 1.181 GB, free: 49.69 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02276/1.29, allocations: 20.21 MB / 1.2 GB, free: 27.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002699/1.292, allocations: 1.877 MB / 1.202 GB, free: 25.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/1.293, allocations: 113.8 kB / 1.202 GB, free: 25.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/1.293, allocations: 43.16 kB / 1.202 GB, free: 25.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=77): time 3.357e-06/1.293, allocations: 3.984 kB / 1.202 GB, free: 25.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=92): time 0.01779/1.31, allocations: 5.338 MB / 1.208 GB, free: 19.94 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/1.311, allocations: 145.7 kB / 1.208 GB, free: 19.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/1.312, allocations: 0.8817 MB / 1.209 GB, free: 18.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.982e-05/1.312, allocations: 41.7 kB / 1.209 GB, free: 18.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005198/1.312, allocations: 1.18 MB / 1.21 GB, free: 17.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002606/1.313, allocations: 335.3 kB / 1.21 GB, free: 17.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-05/1.313, allocations: 32 kB / 1.21 GB, free: 17.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.313, allocations: 406.7 kB / 1.211 GB, free: 16.87 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/1.314, allocations: 0.8627 MB / 1.211 GB, free: 16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/1.315, allocations: 1.51 MB / 1.213 GB, free: 14.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/1.316, allocations: 1.182 MB / 1.214 GB, free: 13.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/1.317, allocations: 8 kB / 1.214 GB, free: 13.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003544/1.32, allocations: 2.492 MB / 1.217 GB, free: 10.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002332/1.322, allocations: 8.356 MB / 1.225 GB, free: 1.504 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.6e-05/1.322, allocations: 20 kB / 1.225 GB, free: 1.484 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.603e-05/1.323, allocations: 35.98 kB / 1.225 GB, free: 1.449 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002762/1.325, allocations: 0.5226 MB / 1.225 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.733e-05/1.325, allocations: 47.84 kB / 1.225 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/1.327, allocations: 159.5 kB / 1.225 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/1.327, allocations: 87.98 kB / 1.226 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/1.327, allocations: 4 kB / 1.226 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003586/1.33, allocations: 2.394 MB / 1.228 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.121e-05/1.331, allocations: 24 kB / 1.228 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.18e-05/1.331, allocations: 32 kB / 1.228 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002443/1.333, allocations: 0.519 MB / 1.228 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.452e-05/1.333, allocations: 51.81 kB / 1.228 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/1.334, allocations: 131.8 kB / 1.229 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/1.334, allocations: 83.98 kB / 1.229 GB, free: 13.39 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00261/1.337, allocations: 1.224 MB / 1.23 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003347/1.337, allocations: 94.88 kB / 1.23 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003114/1.34, allocations: 1.856 MB / 1.232 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/1.34, allocations: 8 kB / 1.232 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/1.34, allocations: 3.953 kB / 1.232 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/1.341, allocations: 7.984 kB / 1.232 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/1.353, allocations: 8.996 MB / 1.241 GB, free: 176 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/1.353, allocations: 12 kB / 1.241 GB, free: 164 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/1.355, allocations: 251.7 kB / 1.241 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-05/1.355, allocations: 16 kB / 1.241 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.289e-05/1.355, allocations: 35.92 kB / 1.241 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.077e-05/1.355, allocations: 15.94 kB / 1.241 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.875e-05/1.355, allocations: 23.88 kB / 1.241 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002754/1.358, allocations: 2.328 MB / 1.243 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007389/1.358, allocations: 327.7 kB / 1.244 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/1.358, allocations: 35.98 kB / 1.244 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007509/1.359, allocations: 71.91 kB / 1.244 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/1.359, allocations: 91.64 kB / 1.244 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-05/1.359, allocations: 39.95 kB / 1.244 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001153/1.361, allocations: 0.7215 MB / 1.244 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/1.361, allocations: 4 kB / 1.244 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003716/1.364, allocations: 0.8632 MB / 1.245 GB, free: 10.91 MB / 0.7292 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 (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.0004487/1.365, allocations: 186.8 kB / 1.245 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004748/1.37, allocations: 2.979 MB / 1.248 GB, free: 7.742 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/1.37, allocations: 4.5 kB / 1.248 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008487/1.37, allocations: 0.5877 MB / 1.249 GB, free: 7.152 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/1.372, allocations: 151.3 kB / 1.249 GB, free: 7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/1.382, allocations: 5.341 MB / 1.254 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002591/1.385, allocations: 2.145 MB / 1.256 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003032/1.388, allocations: 1.027 MB / 1.257 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003407/1.388, allocations: 99.41 kB / 1.258 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of SimCode: time 1.633e-06/1.388, allocations: 0 / 1.258 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of Templates: time 0.02744/1.415, allocations: 13.87 MB / 1.271 GB, free: 376 kB / 0.7448 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches