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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.276/2.276, allocations: 390.5 MB / 398 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 171.2 kB / 491.2 MB, free: 1.586 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 221.5 MB / 0.7868 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001021, allocations: 91.89 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.873e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3041, allocations: 143 MB / 1.212 GB, free: 39.58 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.058/1.362, allocations: 191.2 MB / 1.399 GB, free: 9.137 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/1.362, allocations: 97.88 kB / 1.399 GB, free: 9.082 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2396/1.602, allocations: 107.7 MB / 1.504 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.453e-06/1.602, allocations: 0 / 1.504 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.055e-05/1.602, allocations: 56 kB / 1.504 GB, free: 12.25 MB / 0.9167 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.004583/1.607, allocations: 2.22 MB / 1.507 GB, free: 9.977 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/1.607, allocations: 8.031 kB / 1.507 GB, free: 9.969 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003253/1.61, allocations: 0.5825 MB / 1.507 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002513/1.613, allocations: 1.475 MB / 1.509 GB, free: 7.863 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.031e-05/1.613, allocations: 92 kB / 1.509 GB, free: 7.773 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003554/1.613, allocations: 159.9 kB / 1.509 GB, free: 7.617 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005275/1.618, allocations: 3.236 MB / 1.512 GB, free: 4.375 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005967/1.624, allocations: 3.834 MB / 1.516 GB, free: 464 kB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.699e-05/1.624, allocations: 0 / 1.516 GB, free: 464 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002404/1.625, allocations: 0 / 1.516 GB, free: 464 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001531/1.625, allocations: 144.6 kB / 1.516 GB, free: 316 kB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02462/1.649, allocations: 19.5 MB / 1.535 GB, free: 10.86 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002972/1.652, allocations: 1.86 MB / 1.537 GB, free: 8.852 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/1.653, allocations: 0.7332 MB / 1.537 GB, free: 8.109 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/1.654, allocations: 105.8 kB / 1.538 GB, free: 7.988 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/1.654, allocations: 51.23 kB / 1.538 GB, free: 7.93 MB / 0.948 GB Notification: Performance of pre-optimization done (n=77): time 2.094e-06/1.654, allocations: 0 / 1.538 GB, free: 7.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=92): time 0.007543/1.661, allocations: 3.832 MB / 1.541 GB, free: 4.082 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/1.661, allocations: 141.2 kB / 1.541 GB, free: 3.914 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/1.662, allocations: 0.8272 MB / 1.542 GB, free: 3.082 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.432e-05/1.662, allocations: 25.7 kB / 1.542 GB, free: 3.051 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000713/1.663, allocations: 1.183 MB / 1.543 GB, free: 1.848 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002876/1.663, allocations: 327.3 kB / 1.544 GB, free: 1.523 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.782e-05/1.664, allocations: 0 / 1.544 GB, free: 1.523 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002066/1.664, allocations: 410.8 kB / 1.544 GB, free: 1.113 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/1.665, allocations: 0.8043 MB / 1.545 GB, free: 316 kB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001488/1.666, allocations: 1.44 MB / 1.546 GB, free: 14.58 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00256/1.669, allocations: 1.407 MB / 1.548 GB, free: 13.17 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/1.669, allocations: 8 kB / 1.548 GB, free: 13.16 MB / 0.9636 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.004432/1.673, allocations: 2.558 MB / 1.55 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.003113/1.676, allocations: 8.359 MB / 1.558 GB, free: 1.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.278e-05/1.677, allocations: 20 kB / 1.558 GB, free: 1.566 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.743e-05/1.677, allocations: 36 kB / 1.558 GB, free: 1.531 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002396/1.679, allocations: 0.5226 MB / 1.559 GB, free: 1.008 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.974e-05/1.679, allocations: 39.86 kB / 1.559 GB, free: 0.9688 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/1.68, allocations: 123.6 kB / 1.559 GB, free: 0.8477 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/1.68, allocations: 91.91 kB / 1.559 GB, free: 0.7578 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/1.68, allocations: 7.938 kB / 1.559 GB, free: 0.75 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004264/1.685, allocations: 2.405 MB / 1.562 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/1.685, allocations: 20 kB / 1.562 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.755e-05/1.685, allocations: 39.95 kB / 1.562 GB, free: 14.28 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002248/1.687, allocations: 0.5155 MB / 1.562 GB, free: 13.77 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.648e-05/1.687, allocations: 47.8 kB / 1.562 GB, free: 13.72 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000955/1.688, allocations: 99.67 kB / 1.562 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/1.688, allocations: 83.98 kB / 1.562 GB, free: 13.54 MB / 0.9792 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.0003261/1.688, allocations: 164.4 kB / 1.562 GB, free: 13.37 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002723/1.689, allocations: 98.88 kB / 1.563 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003225/1.692, allocations: 1.804 MB / 1.564 GB, free: 11.42 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/1.692, allocations: 15.95 kB / 1.564 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/1.692, allocations: 7.922 kB / 1.564 GB, free: 11.4 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/1.692, allocations: 3.984 kB / 1.564 GB, free: 11.39 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01091/1.703, allocations: 8.416 MB / 1.573 GB, free: 1.992 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/1.703, allocations: 12 kB / 1.573 GB, free: 1.98 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/1.704, allocations: 251.6 kB / 1.573 GB, free: 1.734 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.21e-05/1.704, allocations: 19.94 kB / 1.573 GB, free: 1.715 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.036e-05/1.704, allocations: 19.98 kB / 1.573 GB, free: 1.695 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.372e-05/1.704, allocations: 23.89 kB / 1.573 GB, free: 1.672 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.406e-05/1.704, allocations: 19.88 kB / 1.573 GB, free: 1.652 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002796/1.707, allocations: 2.299 MB / 1.575 GB, free: 14.92 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005476/1.708, allocations: 319.9 kB / 1.575 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/1.708, allocations: 15.98 kB / 1.575 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000685/1.708, allocations: 59.91 kB / 1.576 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/1.708, allocations: 95.66 kB / 1.576 GB, free: 14.42 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.639e-05/1.709, allocations: 39.98 kB / 1.576 GB, free: 14.38 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0009464/1.71, allocations: 0.663 MB / 1.576 GB, free: 13.72 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.71, allocations: 0 / 1.576 GB, free: 13.72 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003224/1.713, allocations: 0.8007 MB / 1.577 GB, free: 12.92 MB / 0.9948 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.0003195/1.713, allocations: 166.8 kB / 1.577 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00409/1.717, allocations: 2.776 MB / 1.58 GB, free: 9.984 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.717, allocations: 0 / 1.58 GB, free: 9.984 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007271/1.718, allocations: 0.5412 MB / 1.58 GB, free: 9.445 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009209/1.719, allocations: 142.5 kB / 1.581 GB, free: 9.312 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006676/1.726, allocations: 3.6 MB / 1.584 GB, free: 5.535 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002181/1.728, allocations: 2.146 MB / 1.586 GB, free: 3.359 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002775/1.731, allocations: 1.054 MB / 1.587 GB, free: 2.301 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/1.731, allocations: 91.41 kB / 1.587 GB, free: 2.211 MB / 0.9948 GB Notification: Performance of SimCode: time 1.292e-06/1.731, allocations: 3.938 kB / 1.587 GB, free: 2.207 MB / 0.9948 GB Notification: Performance of Templates: time 0.0258/1.757, allocations: 13.77 MB / 1.601 GB, free: 4.512 MB / 1.01 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