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.417/1.417, allocations: 249.3 MB / 261.8 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 188.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.1 MB / 0.572 GB, free: 10.64 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.0008245/0.0008244, allocations: 86.48 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.225e-05/3.227e-05, allocations: 7.984 kB / 0.788 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2065, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7943/1.001, allocations: 173.2 MB / 1.061 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003428/1.001, allocations: 92.25 kB / 1.061 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2461/1.247, allocations: 100.4 MB / 1.159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.807e-06/1.247, allocations: 0 / 1.159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.666e-05/1.247, allocations: 59.94 kB / 1.159 GB, free: 12.64 MB / 0.7761 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.004611/1.252, allocations: 2.221 MB / 1.161 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/1.252, allocations: 8.031 kB / 1.161 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003495/1.256, allocations: 0.5825 MB / 1.162 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002852/1.259, allocations: 1.475 MB / 1.163 GB, free: 8.25 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/1.259, allocations: 205.6 kB / 1.164 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004338/1.259, allocations: 268 kB / 1.164 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007379/1.267, allocations: 4.236 MB / 1.168 GB, free: 3.457 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.602e-05/1.267, allocations: 0 / 1.168 GB, free: 3.457 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002998/1.267, allocations: 116 kB / 1.168 GB, free: 3.344 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001691/1.267, allocations: 148.6 kB / 1.168 GB, free: 3.195 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006184/1.273, allocations: 3.595 MB / 1.172 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02317/1.296, allocations: 20.22 MB / 1.191 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00305/1.3, allocations: 1.873 MB / 1.193 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/1.301, allocations: 0.7514 MB / 1.194 GB, free: 6.617 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001694/1.301, allocations: 105.8 kB / 1.194 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/1.301, allocations: 39.34 kB / 1.194 GB, free: 6.445 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=77): time 3.286e-06/1.301, allocations: 3.938 kB / 1.194 GB, free: 6.441 MB / 0.8073 GB Notification: Performance of matching and sorting (n=92): time 0.01765/1.319, allocations: 4.808 MB / 1.199 GB, free: 1.621 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.837e-05/1.319, allocations: 145.2 kB / 1.199 GB, free: 1.449 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/1.32, allocations: 0.878 MB / 1.2 GB, free: 0.5664 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.911e-05/1.32, allocations: 41.69 kB / 1.2 GB, free: 0.5195 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007446/1.321, allocations: 1.183 MB / 1.201 GB, free: 15.32 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003203/1.321, allocations: 331.4 kB / 1.201 GB, free: 14.99 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.484e-05/1.321, allocations: 40.09 kB / 1.201 GB, free: 14.95 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001964/1.321, allocations: 402.7 kB / 1.202 GB, free: 14.55 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/1.323, allocations: 0.8316 MB / 1.203 GB, free: 13.71 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/1.324, allocations: 1.467 MB / 1.204 GB, free: 11.96 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/1.326, allocations: 1.176 MB / 1.205 GB, free: 10.78 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/1.326, allocations: 4 kB / 1.205 GB, free: 10.77 MB / 0.823 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003514/1.329, allocations: 2.446 MB / 1.208 GB, free: 8.32 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00302/1.332, allocations: 8.352 MB / 1.216 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.021e-05/1.332, allocations: 24 kB / 1.216 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.366e-05/1.332, allocations: 35.94 kB / 1.216 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00261/1.335, allocations: 0.5226 MB / 1.216 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.864e-05/1.335, allocations: 47.8 kB / 1.216 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/1.336, allocations: 155.6 kB / 1.216 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/1.337, allocations: 83.98 kB / 1.217 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/1.337, allocations: 4 kB / 1.217 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003347/1.34, allocations: 2.339 MB / 1.219 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.142e-05/1.34, allocations: 27.98 kB / 1.219 GB, free: 12.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.408e-05/1.34, allocations: 35.95 kB / 1.219 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002356/1.342, allocations: 0.5186 MB / 1.219 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-05/1.342, allocations: 40.14 kB / 1.219 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/1.343, allocations: 139.7 kB / 1.22 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/1.344, allocations: 87.98 kB / 1.22 GB, free: 11.26 MB / 0.8386 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 () * 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.0003449/1.344, allocations: 208.3 kB / 1.22 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/1.344, allocations: 90.88 kB / 1.22 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002813/1.347, allocations: 1.816 MB / 1.222 GB, free: 9.09 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/1.347, allocations: 11.95 kB / 1.222 GB, free: 9.078 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.347, allocations: 0 / 1.222 GB, free: 9.078 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/1.347, allocations: 15.86 kB / 1.222 GB, free: 9.062 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/1.359, allocations: 9.026 MB / 1.231 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.761e-05/1.359, allocations: 8.188 kB / 1.231 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/1.36, allocations: 251.6 kB / 1.231 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-05/1.36, allocations: 16 kB / 1.231 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.139e-05/1.36, allocations: 35.95 kB / 1.231 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.075e-05/1.36, allocations: 23.94 kB / 1.231 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-05/1.36, allocations: 19.92 kB / 1.231 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002541/1.362, allocations: 2.275 MB / 1.233 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006152/1.363, allocations: 327.8 kB / 1.233 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/1.363, allocations: 28 kB / 1.233 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007005/1.364, allocations: 83.84 kB / 1.234 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/1.364, allocations: 91.66 kB / 1.234 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-05/1.364, allocations: 32 kB / 1.234 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001033/1.365, allocations: 0.7099 MB / 1.234 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/1.365, allocations: 4 kB / 1.234 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003038/1.368, allocations: 0.8671 MB / 1.235 GB, free: 9.832 MB / 0.8542 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 () * 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.0003624/1.369, allocations: 184.4 kB / 1.235 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004425/1.373, allocations: 2.913 MB / 1.238 GB, free: 6.738 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.373, allocations: 0.5 kB / 1.238 GB, free: 6.738 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/1.374, allocations: 0.5643 MB / 1.239 GB, free: 6.176 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/1.375, allocations: 157.2 kB / 1.239 GB, free: 6.027 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007602/1.383, allocations: 3.671 MB / 1.243 GB, free: 2.184 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002167/1.385, allocations: 2.145 MB / 1.245 GB, free: 4 kB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00291/1.388, allocations: 1.054 MB / 1.246 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003214/1.388, allocations: 95.41 kB / 1.246 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of SimCode: time 1.483e-06/1.388, allocations: 3.938 kB / 1.246 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of Templates: time 0.02574/1.414, allocations: 14.41 MB / 1.26 GB, free: 488 kB / 0.8698 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