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.001038/0.001039, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 182.7 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.3 MB / 241 MB, free: 5.352 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.608/2.608, allocations: 437.8 MB / 0.7128 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004149/0.000415, allocations: 8 kB / 0.8735 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6461/0.6466, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01861/0.6652, allocations: 15.77 MB / 1.039 GB, free: 20 kB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.009358/0.6746, allocations: 5.667 MB / 1.045 GB, free: 10.33 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.6759, allocations: 39.88 kB / 1.045 GB, free: 10.29 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.677, allocations: 290 kB / 1.045 GB, free: 10.01 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002314/0.6793, allocations: 0.7864 MB / 1.046 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002304/0.6816, allocations: 0.7755 MB / 1.046 GB, free: 8.445 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005889/0.6875, allocations: 6.043 MB / 1.052 GB, free: 2.391 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01034/0.6979, allocations: 6.768 MB / 1.059 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002088/0.7, allocations: 1.179 MB / 1.06 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002971/0.703, allocations: 1.795 MB / 1.062 GB, free: 8.559 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0006688/0.7037, allocations: 180 kB / 1.062 GB, free: 8.383 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002304/0.706, allocations: 0.9906 MB / 1.063 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001945/0.7079, allocations: 1.353 MB / 1.064 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002442/0.7104, allocations: 1.293 MB / 1.066 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00547/0.7159, allocations: 5.106 MB / 1.071 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.7159, allocations: 0 / 1.071 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7159, allocations: 3.938 kB / 1.071 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001833/0.7161, allocations: 0 / 1.071 GB, free: 15.61 MB / 0.8262 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.005949/0.7221, allocations: 2.221 MB / 1.073 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.7221, allocations: 12.03 kB / 1.073 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003933/0.7261, allocations: 0.6613 MB / 1.073 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003037/0.7291, allocations: 1.427 MB / 1.075 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.7293, allocations: 210 kB / 1.075 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008705/0.7302, allocations: 264.4 kB / 1.075 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/0.7415, allocations: 4.727 MB / 1.08 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-05/0.7416, allocations: 4 kB / 1.08 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006713/0.7423, allocations: 112 kB / 1.08 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001989/0.7425, allocations: 148.6 kB / 1.08 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007882/0.7504, allocations: 4.081 MB / 1.084 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02582/0.7762, allocations: 20.32 MB / 1.104 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003464/0.7797, allocations: 1.899 MB / 1.106 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/0.781, allocations: 0.747 MB / 1.107 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/0.7812, allocations: 109.7 kB / 1.107 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.7812, allocations: 43.16 kB / 1.107 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=77): time 3.867e-06/0.7812, allocations: 0 / 1.107 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of matching and sorting (n=92): time 0.01968/0.8009, allocations: 5.283 MB / 1.112 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.969e-05/0.8011, allocations: 145.5 kB / 1.112 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.8025, allocations: 0.9646 MB / 1.113 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.8026, allocations: 41.7 kB / 1.113 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008284/0.8034, allocations: 1.187 MB / 1.114 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.00035/0.8038, allocations: 331.4 kB / 1.114 GB, free: 240 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.804, allocations: 137.6 kB / 1.115 GB, free: 96 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.8042, allocations: 334.1 kB / 1.115 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.8055, allocations: 0.8627 MB / 1.116 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/0.8073, allocations: 1.51 MB / 1.117 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00326/0.8106, allocations: 2.453 MB / 1.12 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-05/0.8106, allocations: 8 kB / 1.12 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003995/0.8146, allocations: 2.507 MB / 1.122 GB, free: 7.828 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005204/0.8152, allocations: 0.7103 MB / 1.123 GB, free: 6.824 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.135e-05/0.8152, allocations: 23.94 kB / 1.123 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.06e-05/0.8153, allocations: 32 kB / 1.123 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/0.8178, allocations: 0.5148 MB / 1.123 GB, free: 6.254 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-05/0.8179, allocations: 43.86 kB / 1.123 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.8191, allocations: 155.5 kB / 1.124 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.8193, allocations: 91.92 kB / 1.124 GB, free: 5.969 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.8193, allocations: 4 kB / 1.124 GB, free: 5.965 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003588/0.8229, allocations: 2.389 MB / 1.126 GB, free: 3.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.724e-05/0.823, allocations: 29 kB / 1.126 GB, free: 3.543 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.25e-05/0.823, allocations: 28 kB / 1.126 GB, free: 3.516 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/0.8254, allocations: 0.5148 MB / 1.126 GB, free: 3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.72e-05/0.8255, allocations: 43.84 kB / 1.127 GB, free: 2.957 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.8265, allocations: 131.7 kB / 1.127 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.8266, allocations: 83.98 kB / 1.127 GB, free: 2.746 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001908/0.8286, allocations: 1.231 MB / 1.128 GB, free: 1.504 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002803/0.8288, allocations: 98.81 kB / 1.128 GB, free: 1.406 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002998/0.8318, allocations: 1.825 MB / 1.13 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.8319, allocations: 12 kB / 1.13 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.8319, allocations: 0 / 1.13 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.8319, allocations: 3.984 kB / 1.13 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/0.8432, allocations: 9.053 MB / 1.139 GB, free: 5.465 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.553e-05/0.8433, allocations: 20.19 kB / 1.139 GB, free: 5.445 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.8444, allocations: 251.6 kB / 1.139 GB, free: 5.199 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.243e-05/0.8444, allocations: 16 kB / 1.139 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.141e-05/0.8445, allocations: 24 kB / 1.139 GB, free: 5.16 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.621e-05/0.8445, allocations: 23.92 kB / 1.139 GB, free: 5.137 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/0.8445, allocations: 15.94 kB / 1.139 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002128/0.8467, allocations: 1.778 MB / 1.141 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005619/0.8472, allocations: 327.8 kB / 1.141 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/0.8475, allocations: 31.98 kB / 1.141 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008559/0.8483, allocations: 75.91 kB / 1.141 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.8485, allocations: 91.61 kB / 1.141 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.576e-05/0.8486, allocations: 32 kB / 1.141 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001105/0.8497, allocations: 0.7293 MB / 1.142 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8497, allocations: 0 / 1.142 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003151/0.8528, allocations: 0.8047 MB / 1.143 GB, free: 1.094 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003139/0.8532, allocations: 167 kB / 1.143 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004506/0.8577, allocations: 2.979 MB / 1.146 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.8577, allocations: 0 / 1.146 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008351/0.8586, allocations: 0.5765 MB / 1.146 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002744/0.8613, allocations: 178.8 kB / 1.147 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00928/0.8706, allocations: 6.021 MB / 1.152 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00261/0.8733, allocations: 2.184 MB / 1.155 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005755/0.8739, allocations: 111.3 kB / 1.155 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of SimCode: time 8.12e-07/0.8739, allocations: 0 / 1.155 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of Templates: time 0.04352/0.9174, allocations: 26.61 MB / 1.181 GB, free: 10.08 MB / 0.9356 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/jenkins1/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