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.233/2.233, allocations: 393.5 MB / 408.4 MB, free: 10.95 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.001203/0.001202, allocations: 172 kB / 0.4902 GB, free: 2.234 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.654/1.654, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.001006/0.001006, allocations: 97.58 kB / 0.9396 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00048/0.0004806, allocations: 8.938 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3649, allocations: 143 MB / 1.229 GB, free: 85.45 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9958/1.361, allocations: 191.9 MB / 1.417 GB, free: 175.6 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004772/1.361, allocations: 102.8 kB / 1.417 GB, free: 175.6 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.2652/1.626, allocations: 108.6 MB / 1.523 GB, free: 88.25 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.106e-06/1.627, allocations: 0 / 1.523 GB, free: 88.25 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001863/1.627, allocations: 56 kB / 1.523 GB, free: 88.19 MB / 0.9011 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.009676/1.636, allocations: 2.271 MB / 1.525 GB, free: 85.86 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/1.637, allocations: 12.56 kB / 1.525 GB, free: 85.85 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004948/1.641, allocations: 0.5941 MB / 1.526 GB, free: 85.25 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00525/1.647, allocations: 1.474 MB / 1.527 GB, free: 83.73 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/1.647, allocations: 209.6 kB / 1.527 GB, free: 83.52 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001736/1.649, allocations: 272 kB / 1.528 GB, free: 83.26 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01548/1.664, allocations: 4.271 MB / 1.532 GB, free: 78.89 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001787/1.665, allocations: 7.891 kB / 1.532 GB, free: 78.89 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001611/1.666, allocations: 112 kB / 1.532 GB, free: 78.78 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002638/1.666, allocations: 140.6 kB / 1.532 GB, free: 78.64 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01008/1.677, allocations: 3.66 MB / 1.536 GB, free: 74.96 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02915/1.706, allocations: 20.22 MB / 1.555 GB, free: 52.78 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003026/1.709, allocations: 1.891 MB / 1.557 GB, free: 50.74 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/1.709, allocations: 105.7 kB / 1.557 GB, free: 50.62 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/1.709, allocations: 43.22 kB / 1.557 GB, free: 50.57 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=77): time 3.426e-06/1.709, allocations: 0 / 1.557 GB, free: 50.57 MB / 0.9011 GB Notification: Performance of matching and sorting (n=92): time 0.02067/1.73, allocations: 5.338 MB / 1.562 GB, free: 45.21 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/1.73, allocations: 145.7 kB / 1.563 GB, free: 45.04 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/1.732, allocations: 0.8856 MB / 1.563 GB, free: 44.14 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001422/1.732, allocations: 41.7 kB / 1.564 GB, free: 44.1 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006332/1.732, allocations: 1.183 MB / 1.565 GB, free: 42.89 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003763/1.733, allocations: 327.5 kB / 1.565 GB, free: 42.57 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/1.733, allocations: 35.94 kB / 1.565 GB, free: 42.54 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001995/1.733, allocations: 402.7 kB / 1.565 GB, free: 42.13 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/1.735, allocations: 0.8627 MB / 1.566 GB, free: 41.27 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/1.736, allocations: 1.507 MB / 1.568 GB, free: 39.48 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/1.738, allocations: 1.182 MB / 1.569 GB, free: 38.29 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.156e-05/1.738, allocations: 11.94 kB / 1.569 GB, free: 38.28 MB / 0.9011 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003709/1.741, allocations: 2.5 MB / 1.571 GB, free: 35.77 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.002045/1.743, allocations: 8.348 MB / 1.579 GB, free: 26.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.583e-05/1.744, allocations: 24 kB / 1.58 GB, free: 26.75 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.851e-05/1.744, allocations: 35.98 kB / 1.58 GB, free: 26.71 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00248/1.746, allocations: 0.5187 MB / 1.58 GB, free: 26.19 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.158e-05/1.746, allocations: 51.78 kB / 1.58 GB, free: 26.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/1.748, allocations: 155.6 kB / 1.58 GB, free: 25.99 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/1.748, allocations: 87.98 kB / 1.58 GB, free: 25.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/1.748, allocations: 4 kB / 1.58 GB, free: 25.9 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003369/1.751, allocations: 2.39 MB / 1.583 GB, free: 23.51 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.538e-05/1.751, allocations: 20 kB / 1.583 GB, free: 23.49 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.973e-05/1.751, allocations: 39.95 kB / 1.583 GB, free: 23.45 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002256/1.753, allocations: 0.5191 MB / 1.583 GB, free: 22.93 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.686e-05/1.754, allocations: 47.8 kB / 1.583 GB, free: 22.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/1.755, allocations: 127.7 kB / 1.583 GB, free: 22.76 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/1.755, allocations: 87.98 kB / 1.583 GB, free: 22.67 MB / 0.9011 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.002904/1.758, allocations: 1.23 MB / 1.585 GB, free: 21.43 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003902/1.758, allocations: 90.97 kB / 1.585 GB, free: 21.34 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002911/1.761, allocations: 1.864 MB / 1.587 GB, free: 19.43 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/1.761, allocations: 15.95 kB / 1.587 GB, free: 19.41 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/1.761, allocations: 0 / 1.587 GB, free: 19.41 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/1.761, allocations: 3.984 kB / 1.587 GB, free: 19.41 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0132/1.775, allocations: 9.008 MB / 1.595 GB, free: 9.422 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.784e-05/1.775, allocations: 8 kB / 1.595 GB, free: 9.414 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/1.776, allocations: 255.7 kB / 1.596 GB, free: 9.164 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.108e-05/1.776, allocations: 16 kB / 1.596 GB, free: 9.148 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.448e-05/1.776, allocations: 31.94 kB / 1.596 GB, free: 9.117 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.681e-05/1.776, allocations: 27.88 kB / 1.596 GB, free: 9.09 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.637e-06/1.776, allocations: 15.94 kB / 1.596 GB, free: 9.074 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/1.778, allocations: 2.323 MB / 1.598 GB, free: 6.316 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000851/1.779, allocations: 327.8 kB / 1.598 GB, free: 5.977 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/1.779, allocations: 32 kB / 1.598 GB, free: 5.945 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009402/1.78, allocations: 75.89 kB / 1.598 GB, free: 5.871 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/1.78, allocations: 95.59 kB / 1.599 GB, free: 5.777 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.64e-05/1.781, allocations: 36 kB / 1.599 GB, free: 5.742 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001176/1.782, allocations: 0.7176 MB / 1.599 GB, free: 5.027 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.91e-07/1.782, allocations: 4 kB / 1.599 GB, free: 5.023 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004347/1.786, allocations: 0.8671 MB / 1.6 GB, free: 4.156 MB / 0.9011 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.0004489/1.787, allocations: 183.6 kB / 1.6 GB, free: 3.965 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003952/1.791, allocations: 2.976 MB / 1.603 GB, free: 1 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.791, allocations: 3.938 kB / 1.603 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0006619/1.791, allocations: 0.5842 MB / 1.604 GB, free: 424 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/1.792, allocations: 152.7 kB / 1.604 GB, free: 272 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/1.804, allocations: 5.343 MB / 1.609 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002598/1.807, allocations: 2.149 MB / 1.611 GB, free: 8.57 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002881/1.81, allocations: 1.023 MB / 1.612 GB, free: 7.543 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003655/1.81, allocations: 103.3 kB / 1.612 GB, free: 7.441 MB / 0.9167 GB Notification: Performance of SimCode: time 5.921e-06/1.81, allocations: 0 / 1.612 GB, free: 7.441 MB / 0.9167 GB Notification: Performance of Templates: time 0.03022/1.84, allocations: 13.9 MB / 1.626 GB, free: 9.617 MB / 0.9323 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