Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001051/0.001051, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.00131/0.00131, allocations: 172.7 kB / 15.95 MB, free: 208 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.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.805/2.805, allocations: 437.7 MB / 0.7117 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004905/0.000491, allocations: 11.94 kB / 0.8722 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7583/0.7588, allocations: 153.8 MB / 1.022 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01805/0.7769, allocations: 14.92 MB / 1.037 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.009658/0.7866, allocations: 5.388 MB / 1.042 GB, free: 11.85 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001907/0.7885, allocations: 35.88 kB / 1.042 GB, free: 11.81 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.7902, allocations: 293.9 kB / 1.043 GB, free: 11.52 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003119/0.7934, allocations: 0.6303 MB / 1.043 GB, free: 10.89 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002804/0.7962, allocations: 0.6002 MB / 1.044 GB, free: 10.29 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005671/0.8019, allocations: 4.576 MB / 1.048 GB, free: 5.703 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01059/0.8125, allocations: 5.892 MB / 1.054 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002674/0.8152, allocations: 1.207 MB / 1.055 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003585/0.8188, allocations: 1.753 MB / 1.057 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0008863/0.8198, allocations: 187.9 kB / 1.057 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002351/0.8221, allocations: 0.5853 MB / 1.058 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002486/0.8246, allocations: 1.364 MB / 1.059 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.8261, allocations: 0.5161 MB / 1.059 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.006529/0.8326, allocations: 5.09 MB / 1.064 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.8327, allocations: 4 kB / 1.064 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8327, allocations: 0 / 1.064 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002259/0.8329, allocations: 0 / 1.064 GB, free: 5.02 MB / 0.8106 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.006611/0.8395, allocations: 2.248 MB / 1.067 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.8396, allocations: 8.562 kB / 1.067 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003892/0.8435, allocations: 0.6643 MB / 1.067 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003222/0.8467, allocations: 1.418 MB / 1.069 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/0.847, allocations: 201.6 kB / 1.069 GB, free: 388 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009782/0.8479, allocations: 272 kB / 1.069 GB, free: 116 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01235/0.8603, allocations: 4.692 MB / 1.074 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001064/0.8605, allocations: 4 kB / 1.074 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001063/0.8615, allocations: 120 kB / 1.074 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002578/0.8618, allocations: 152.6 kB / 1.074 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/0.872, allocations: 4.062 MB / 1.078 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02853/0.9005, allocations: 20.3 MB / 1.098 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003359/0.904, allocations: 1.892 MB / 1.1 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/0.9053, allocations: 0.747 MB / 1.1 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002433/0.9056, allocations: 113.7 kB / 1.1 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/0.9056, allocations: 43.16 kB / 1.1 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=77): time 3.497e-06/0.9056, allocations: 0 / 1.1 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=92): time 0.01806/0.9237, allocations: 5.279 MB / 1.106 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.379e-05/0.9238, allocations: 141.6 kB / 1.106 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/0.9254, allocations: 0.9607 MB / 1.107 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.539e-05/0.9255, allocations: 41.7 kB / 1.107 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008644/0.9263, allocations: 1.187 MB / 1.108 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003266/0.9267, allocations: 327.5 kB / 1.108 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.9268, allocations: 32 kB / 1.108 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002039/0.927, allocations: 406.7 kB / 1.109 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.9284, allocations: 0.8549 MB / 1.109 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001884/0.9303, allocations: 1.499 MB / 1.111 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001853/0.9322, allocations: 1.178 MB / 1.112 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.486e-05/0.9322, allocations: 8 kB / 1.112 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.004371/0.9366, allocations: 2.484 MB / 1.115 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006867/0.9373, allocations: 0.7058 MB / 1.115 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.048e-05/0.9374, allocations: 20 kB / 1.115 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.113e-05/0.9374, allocations: 36 kB / 1.115 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002302/0.9397, allocations: 0.5187 MB / 1.116 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.86e-05/0.9398, allocations: 43.81 kB / 1.116 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.941, allocations: 155.6 kB / 1.116 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001909/0.9412, allocations: 83.98 kB / 1.116 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.9413, allocations: 4 kB / 1.116 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003754/0.945, allocations: 2.386 MB / 1.118 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.107e-05/0.9451, allocations: 20 kB / 1.118 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.96e-05/0.9452, allocations: 36 kB / 1.118 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/0.9473, allocations: 0.5109 MB / 1.119 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.216e-05/0.9474, allocations: 40.23 kB / 1.119 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009966/0.9484, allocations: 135.7 kB / 1.119 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/0.9486, allocations: 95.92 kB / 1.119 GB, free: 9.875 MB / 0.8731 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.002203/0.9508, allocations: 1.226 MB / 1.12 GB, free: 8.637 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/0.9511, allocations: 94.88 kB / 1.12 GB, free: 8.543 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003126/0.9542, allocations: 1.833 MB / 1.122 GB, free: 6.664 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.9542, allocations: 12 kB / 1.122 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.9542, allocations: 0 / 1.122 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.9543, allocations: 3.984 kB / 1.122 GB, free: 6.648 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/0.9693, allocations: 9.049 MB / 1.131 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.154e-05/0.9694, allocations: 12 kB / 1.131 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.9704, allocations: 251.5 kB / 1.131 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.68e-05/0.9705, allocations: 20.61 kB / 1.131 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.128e-05/0.9706, allocations: 32 kB / 1.131 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.856e-05/0.9706, allocations: 19.94 kB / 1.131 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.518e-05/0.9706, allocations: 19.92 kB / 1.131 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/0.9731, allocations: 1.767 MB / 1.133 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006988/0.9738, allocations: 327.8 kB / 1.133 GB, free: 9.996 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002724/0.9741, allocations: 28 kB / 1.134 GB, free: 9.969 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008649/0.975, allocations: 79.89 kB / 1.134 GB, free: 9.891 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.9751, allocations: 87.7 kB / 1.134 GB, free: 9.805 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-05/0.9752, allocations: 36 kB / 1.134 GB, free: 9.77 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001128/0.9764, allocations: 0.7176 MB / 1.134 GB, free: 9.051 MB / 0.8887 GB Notification: Performance of sort global known variables: time 4.81e-07/0.9764, allocations: 0 / 1.134 GB, free: 9.051 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00381/0.9802, allocations: 0.8125 MB / 1.135 GB, free: 8.238 MB / 0.8887 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.0003954/0.9806, allocations: 168.5 kB / 1.135 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004996/0.9856, allocations: 2.959 MB / 1.138 GB, free: 5.109 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/0.9856, allocations: 4 kB / 1.138 GB, free: 5.105 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000839/0.9865, allocations: 0.5764 MB / 1.139 GB, free: 4.531 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.988, allocations: 164.4 kB / 1.139 GB, free: 4.375 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009669/0.9977, allocations: 5.339 MB / 1.144 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002899/1.001, allocations: 2.113 MB / 1.146 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.003042/1.004, allocations: 1.019 MB / 1.147 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000407/1.004, allocations: 95.41 kB / 1.147 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of SimCode: time 1.644e-06/1.004, allocations: 0 / 1.147 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of Templates: time 0.03092/1.035, allocations: 13.75 MB / 1.161 GB, free: 13.92 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches