Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 249.5 MB / 257 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001321/0.001321, allocations: 180.9 kB / 316.3 MB, free: 3.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.3 MB / 0.5671 GB, free: 15.85 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007677/0.0007676, allocations: 85.53 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.864e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1957, allocations: 106.3 MB / 0.8852 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7499/0.9456, allocations: 173.5 MB / 1.055 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.9459, allocations: 98.31 kB / 1.055 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2236/1.17, allocations: 100 MB / 1.152 GB, free: 3.625 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.324e-06/1.17, allocations: 4 kB / 1.152 GB, free: 3.621 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 9.791e-05/1.17, allocations: 56 kB / 1.152 GB, free: 3.566 MB / 0.7605 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.005175/1.175, allocations: 2.217 MB / 1.155 GB, free: 1.293 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/1.175, allocations: 8.031 kB / 1.155 GB, free: 1.285 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003365/1.178, allocations: 0.5825 MB / 1.155 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002607/1.181, allocations: 1.486 MB / 1.157 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-05/1.181, allocations: 88 kB / 1.157 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003699/1.181, allocations: 160 kB / 1.157 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005337/1.187, allocations: 3.236 MB / 1.16 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006235/1.193, allocations: 3.834 MB / 1.164 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.559e-05/1.193, allocations: 0 / 1.164 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002553/1.193, allocations: 7.953 kB / 1.164 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000166/1.194, allocations: 144.6 kB / 1.164 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02152/1.215, allocations: 19.5 MB / 1.183 GB, free: 2.164 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002934/1.218, allocations: 1.86 MB / 1.185 GB, free: 156 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/1.219, allocations: 0.7319 MB / 1.186 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/1.219, allocations: 105.9 kB / 1.186 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/1.219, allocations: 43.33 kB / 1.186 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=77): time 4.599e-06/1.219, allocations: 4 kB / 1.186 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=92): time 0.007956/1.227, allocations: 3.824 MB / 1.189 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.614e-05/1.227, allocations: 141.4 kB / 1.19 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/1.229, allocations: 0.8349 MB / 1.19 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.765e-05/1.229, allocations: 25.7 kB / 1.19 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007867/1.23, allocations: 1.18 MB / 1.192 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/1.23, allocations: 319.4 kB / 1.192 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.932e-05/1.23, allocations: 0 / 1.192 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002301/1.23, allocations: 406.7 kB / 1.192 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/1.231, allocations: 0.816 MB / 1.193 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/1.233, allocations: 1.436 MB / 1.194 GB, free: 5.887 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002604/1.235, allocations: 1.407 MB / 1.196 GB, free: 4.48 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/1.235, allocations: 4 kB / 1.196 GB, free: 4.477 MB / 0.8073 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.004395/1.24, allocations: 2.554 MB / 1.198 GB, free: 1.914 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003282/1.243, allocations: 8.351 MB / 1.206 GB, free: 8.91 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.66e-05/1.243, allocations: 27.92 kB / 1.207 GB, free: 8.883 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.608e-05/1.243, allocations: 40 kB / 1.207 GB, free: 8.844 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002483/1.246, allocations: 0.5186 MB / 1.207 GB, free: 8.324 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-05/1.246, allocations: 43.84 kB / 1.207 GB, free: 8.281 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/1.247, allocations: 123.6 kB / 1.207 GB, free: 8.16 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/1.247, allocations: 87.98 kB / 1.207 GB, free: 8.074 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/1.247, allocations: 4 kB / 1.207 GB, free: 8.07 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004295/1.251, allocations: 2.401 MB / 1.21 GB, free: 5.668 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.225e-05/1.251, allocations: 20 kB / 1.21 GB, free: 5.648 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.252e-05/1.252, allocations: 36 kB / 1.21 GB, free: 5.613 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002295/1.254, allocations: 0.5232 MB / 1.21 GB, free: 5.09 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.187e-05/1.254, allocations: 39.86 kB / 1.21 GB, free: 5.051 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000965/1.255, allocations: 107.6 kB / 1.21 GB, free: 4.945 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/1.255, allocations: 87.97 kB / 1.21 GB, free: 4.859 MB / 0.823 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.0003509/1.255, allocations: 160.3 kB / 1.211 GB, free: 4.695 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/1.256, allocations: 94.97 kB / 1.211 GB, free: 4.602 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003072/1.259, allocations: 1.812 MB / 1.212 GB, free: 2.734 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/1.259, allocations: 12 kB / 1.212 GB, free: 2.723 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.259, allocations: 3.938 kB / 1.212 GB, free: 2.719 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/1.259, allocations: 7.938 kB / 1.212 GB, free: 2.711 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/1.269, allocations: 8.409 MB / 1.221 GB, free: 9.316 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/1.269, allocations: 12 kB / 1.221 GB, free: 9.305 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/1.27, allocations: 247.6 kB / 1.221 GB, free: 9.062 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.329e-05/1.27, allocations: 16 kB / 1.221 GB, free: 9.047 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.806e-05/1.27, allocations: 19.94 kB / 1.221 GB, free: 9.027 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.805e-05/1.27, allocations: 23.86 kB / 1.221 GB, free: 9.004 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.149e-05/1.27, allocations: 15.94 kB / 1.221 GB, free: 8.988 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00263/1.273, allocations: 2.295 MB / 1.223 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000532/1.273, allocations: 323.8 kB / 1.224 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/1.273, allocations: 16 kB / 1.224 GB, free: 5.902 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007008/1.274, allocations: 63.89 kB / 1.224 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/1.274, allocations: 95.59 kB / 1.224 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.166e-05/1.274, allocations: 40 kB / 1.224 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0008904/1.275, allocations: 0.6669 MB / 1.224 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/1.275, allocations: 0 / 1.224 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002874/1.278, allocations: 0.789 MB / 1.225 GB, free: 4.258 MB / 0.8386 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.0002873/1.278, allocations: 164.5 kB / 1.225 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003785/1.282, allocations: 2.77 MB / 1.228 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.282, allocations: 0 / 1.228 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000702/1.283, allocations: 0.5427 MB / 1.229 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009369/1.284, allocations: 138.2 kB / 1.229 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006049/1.29, allocations: 3.607 MB / 1.232 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002091/1.292, allocations: 2.15 MB / 1.234 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002712/1.295, allocations: 1.054 MB / 1.235 GB, free: 9.633 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003033/1.295, allocations: 91.41 kB / 1.235 GB, free: 9.543 MB / 0.8542 GB Notification: Performance of SimCode: time 1.082e-06/1.295, allocations: 0 / 1.235 GB, free: 9.543 MB / 0.8542 GB Notification: Performance of Templates: time 0.02499/1.32, allocations: 13.76 MB / 1.249 GB, free: 11.82 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches