Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001135/0.001135, allocations: 100.1 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.001244/0.001244, allocations: 177.3 kB / 15.95 MB, free: 216 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.509/1.509, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.538/2.538, allocations: 390.3 MB / 0.6653 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005354/0.0005354, allocations: 12 kB / 0.8145 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8556/0.8562, allocations: 142.3 MB / 0.9535 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01489/0.8711, allocations: 14.61 MB / 0.9678 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009246/0.8804, allocations: 5.361 MB / 0.973 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001391/0.8819, allocations: 33.03 kB / 0.9731 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008286/0.8827, allocations: 323.8 kB / 0.9734 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.8844, allocations: 461.5 kB / 0.9738 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.8866, allocations: 0.644 MB / 0.9744 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002455/0.889, allocations: 1.602 MB / 0.976 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009145/0.8982, allocations: 5.882 MB / 0.9817 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002235/0.9005, allocations: 0.9698 MB / 0.9827 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00293/0.9034, allocations: 1.13 MB / 0.9838 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005456/0.904, allocations: 180 kB / 0.984 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.9057, allocations: 0.5697 MB / 0.9845 GB, free: 276 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001306/0.9071, allocations: 1.259 MB / 0.9857 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006198/0.9077, allocations: 0.52 MB / 0.9863 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004619/0.9123, allocations: 5.063 MB / 0.9912 GB, free: 9.406 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.9123, allocations: 0 / 0.9912 GB, free: 9.406 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.216e-06/0.9124, allocations: 0 / 0.9912 GB, free: 9.406 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001237/0.9125, allocations: 0 / 0.9912 GB, free: 9.406 MB / 0.7481 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.00461/0.9171, allocations: 2.256 MB / 0.9934 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.9171, allocations: 8.031 kB / 0.9934 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003602/0.9208, allocations: 0.7151 MB / 0.9941 GB, free: 6.363 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003555/0.9243, allocations: 1.414 MB / 0.9955 GB, free: 4.906 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001795/0.9245, allocations: 213.5 kB / 0.9957 GB, free: 4.695 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005017/0.925, allocations: 272 kB / 0.996 GB, free: 4.43 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008827/0.9339, allocations: 4.664 MB / 1.001 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.11e-05/0.934, allocations: 11.94 kB / 1.001 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000278/0.9342, allocations: 116 kB / 1.001 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001688/0.9344, allocations: 148.6 kB / 1.001 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006891/0.9413, allocations: 4.062 MB / 1.005 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02559/0.9669, allocations: 20.42 MB / 1.025 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003364/0.9704, allocations: 1.944 MB / 1.027 GB, free: 2.836 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002003/0.9706, allocations: 113.7 kB / 1.027 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.9707, allocations: 47.16 kB / 1.027 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=77): time 2.856e-06/0.9707, allocations: 0 / 1.027 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of matching and sorting (n=77): time 0.003011/0.9737, allocations: 1.703 MB / 1.028 GB, free: 0.9453 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.959e-05/0.9738, allocations: 141.2 kB / 1.029 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.9753, allocations: 0.9685 MB / 1.029 GB, free: 15.79 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.797e-05/0.9754, allocations: 33.7 kB / 1.03 GB, free: 15.75 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008463/0.9763, allocations: 1.187 MB / 1.031 GB, free: 14.55 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/0.9766, allocations: 280.2 kB / 1.031 GB, free: 14.27 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.33e-05/0.9767, allocations: 28 kB / 1.031 GB, free: 14.24 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.9769, allocations: 403.1 kB / 1.031 GB, free: 13.84 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.978, allocations: 0.7768 MB / 1.032 GB, free: 13.06 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/0.9797, allocations: 1.417 MB / 1.033 GB, free: 11.36 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.9811, allocations: 1.092 MB / 1.035 GB, free: 10.27 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.945e-05/0.9812, allocations: 4 kB / 1.035 GB, free: 10.27 MB / 0.795 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.003473/0.9847, allocations: 2.308 MB / 1.037 GB, free: 7.949 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.003251/0.9879, allocations: 8.347 MB / 1.045 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.993e-05/0.988, allocations: 24 kB / 1.045 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.267e-05/0.9881, allocations: 35.95 kB / 1.045 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/0.9899, allocations: 447.2 kB / 1.045 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.978e-05/0.99, allocations: 43.86 kB / 1.045 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.9916, allocations: 265.9 kB / 1.046 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002009/0.9918, allocations: 79.98 kB / 1.046 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.9918, allocations: 4 kB / 1.046 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003685/0.9955, allocations: 2.199 MB / 1.048 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.131e-05/0.9956, allocations: 23.94 kB / 1.048 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.233e-05/0.9957, allocations: 36 kB / 1.048 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.9973, allocations: 443.2 kB / 1.048 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.355e-05/0.9974, allocations: 43.84 kB / 1.048 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.9986, allocations: 199 kB / 1.049 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.9987, allocations: 79.98 kB / 1.049 GB, free: 11.05 MB / 0.8106 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.00209/1.001, allocations: 1.205 MB / 1.05 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003041/1.001, allocations: 90.97 kB / 1.05 GB, free: 9.75 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/1.003, allocations: 1.544 MB / 1.052 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/1.003, allocations: 8 kB / 1.052 GB, free: 8.148 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.003, allocations: 4 kB / 1.052 GB, free: 8.145 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/1.003, allocations: 3.984 kB / 1.052 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00958/1.013, allocations: 6.633 MB / 1.058 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.036e-05/1.013, allocations: 8 kB / 1.058 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007922/1.014, allocations: 188.6 kB / 1.058 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-05/1.014, allocations: 12 kB / 1.058 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.538e-05/1.014, allocations: 24 kB / 1.058 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.601e-05/1.014, allocations: 23.88 kB / 1.058 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/1.014, allocations: 11.94 kB / 1.058 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/1.016, allocations: 1.971 MB / 1.06 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006939/1.017, allocations: 323.7 kB / 1.061 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/1.017, allocations: 20 kB / 1.061 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007759/1.018, allocations: 75.89 kB / 1.061 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.018, allocations: 71.72 kB / 1.061 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.971e-05/1.018, allocations: 28 kB / 1.061 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001047/1.019, allocations: 0.7215 MB / 1.061 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.6e-07/1.019, allocations: 4 kB / 1.061 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003816/1.023, allocations: 1.181 MB / 1.063 GB, free: 11.9 MB / 0.8262 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.0003071/1.023, allocations: 143 kB / 1.063 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004208/1.027, allocations: 2.715 MB / 1.065 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/1.027, allocations: 0 / 1.065 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006986/1.028, allocations: 0.517 MB / 1.066 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/1.029, allocations: 145.1 kB / 1.066 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009382/1.039, allocations: 5.062 MB / 1.071 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003509/1.042, allocations: 2.113 MB / 1.073 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002711/1.045, allocations: 0.9603 MB / 1.074 GB, free: 88 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/1.045, allocations: 91.36 kB / 1.074 GB, free: 16 MB / 0.8419 GB Notification: Performance of SimCode: time 3.437e-06/1.045, allocations: 0 / 1.074 GB, free: 16 MB / 0.8419 GB Notification: Performance of Templates: time 0.024/1.069, allocations: 11.99 MB / 1.086 GB, free: 4.074 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches