Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.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.TransformerFull,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.TransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,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.TransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.499/2.499, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.0009924/0.0009923, allocations: 176.4 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 221.3 MB / 0.7915 GB, free: 5.418 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.0008608/0.0008611, allocations: 83.97 kB / 0.9317 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.204e-05/3.22e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3118, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.036/1.348, allocations: 204.7 MB / 1.419 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005257/1.348, allocations: 96.56 kB / 1.419 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.3147/1.663, allocations: 128.7 MB / 1.544 GB, free: 3.938 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.205e-06/1.663, allocations: 0 / 1.544 GB, free: 3.938 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001113/1.663, allocations: 59.98 kB / 1.544 GB, free: 3.879 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.006699/1.67, allocations: 2.432 MB / 1.547 GB, free: 1.391 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/1.67, allocations: 8.031 kB / 1.547 GB, free: 1.383 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01293/1.683, allocations: 2.052 MB / 1.549 GB, free: 15.32 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005472/1.688, allocations: 1.79 MB / 1.551 GB, free: 13.49 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002495/1.689, allocations: 217.8 kB / 1.551 GB, free: 13.27 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001808/1.69, allocations: 288 kB / 1.551 GB, free: 12.99 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01385/1.704, allocations: 4.952 MB / 1.556 GB, free: 7.969 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001419/1.705, allocations: 0 / 1.556 GB, free: 7.969 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001164/1.706, allocations: 124 kB / 1.556 GB, free: 7.848 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005621/1.706, allocations: 246 kB / 1.556 GB, free: 7.605 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/1.719, allocations: 4.67 MB / 1.561 GB, free: 2.926 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03731/1.756, allocations: 22.42 MB / 1.583 GB, free: 10.54 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003684/1.76, allocations: 2.055 MB / 1.585 GB, free: 8.418 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002177/1.762, allocations: 1.226 MB / 1.586 GB, free: 7.191 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002421/1.762, allocations: 110 kB / 1.586 GB, free: 7.066 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/1.762, allocations: 47.56 kB / 1.586 GB, free: 7.012 MB / 1.042 GB Notification: Performance of pre-optimization done (n=122): time 3.537e-06/1.762, allocations: 0 / 1.586 GB, free: 7.012 MB / 1.042 GB Notification: Performance of matching and sorting (n=173): time 0.04072/1.803, allocations: 11.25 MB / 1.597 GB, free: 11.74 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/1.803, allocations: 69.41 kB / 1.597 GB, free: 11.66 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/1.805, allocations: 1.025 MB / 1.598 GB, free: 10.61 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0003631/1.806, allocations: 49.7 kB / 1.598 GB, free: 10.55 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009528/1.807, allocations: 1.266 MB / 1.599 GB, free: 9.27 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008083/1.807, allocations: 0.5892 MB / 1.6 GB, free: 8.672 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/1.808, allocations: 48 kB / 1.6 GB, free: 8.625 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002985/1.808, allocations: 451.5 kB / 1.6 GB, free: 8.176 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002547/1.81, allocations: 1.512 MB / 1.602 GB, free: 6.66 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003032/1.814, allocations: 2.219 MB / 1.604 GB, free: 4.117 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002908/1.816, allocations: 1.876 MB / 1.606 GB, free: 2.242 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.313e-05/1.816, allocations: 8 kB / 1.606 GB, free: 2.234 MB / 1.057 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009913/1.826, allocations: 5.166 MB / 1.611 GB, free: 13.04 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003591/1.83, allocations: 8.873 MB / 1.62 GB, free: 3.473 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-05/1.83, allocations: 31.98 kB / 1.62 GB, free: 3.441 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004355/1.834, allocations: 1.371 MB / 1.621 GB, free: 2.051 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003754/1.838, allocations: 0.7643 MB / 1.622 GB, free: 1.285 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02121/1.859, allocations: 17.12 MB / 1.638 GB, free: 15.36 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004001/1.864, allocations: 495 kB / 1.639 GB, free: 14.87 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006674/1.864, allocations: 120 kB / 1.639 GB, free: 14.75 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.864, allocations: 6.031 kB / 1.639 GB, free: 14.75 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01033/1.875, allocations: 5.001 MB / 1.644 GB, free: 9.73 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.061e-05/1.875, allocations: 20 kB / 1.644 GB, free: 9.711 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003768/1.879, allocations: 1.36 MB / 1.645 GB, free: 8.332 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003749/1.882, allocations: 0.7643 MB / 1.646 GB, free: 7.566 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01996/1.902, allocations: 16.93 MB / 1.663 GB, free: 5.824 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003859/1.906, allocations: 471.2 kB / 1.663 GB, free: 5.363 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007202/1.907, allocations: 120 kB / 1.663 GB, free: 5.246 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 229 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 10,(2,100.0%) 10,(3,100.0%) 9,(2,100.0%) 10,(3,100.0%) 9,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001278/1.908, allocations: 248.2 kB / 1.663 GB, free: 4.996 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006726/1.909, allocations: 134.4 kB / 1.664 GB, free: 4.863 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/1.919, allocations: 4.776 MB / 1.668 GB, free: 32 kB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-05/1.919, allocations: 16 kB / 1.668 GB, free: 16 kB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.089e-05/1.919, allocations: 12 kB / 1.668 GB, free: 4 kB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.385e-05/1.919, allocations: 8.031 kB / 1.668 GB, free: 15.99 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01769/1.937, allocations: 8.586 MB / 1.677 GB, free: 7.184 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.15e-05/1.937, allocations: 4 kB / 1.677 GB, free: 7.18 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002714/1.94, allocations: 0.5108 MB / 1.677 GB, free: 6.668 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003967/1.944, allocations: 1.196 MB / 1.678 GB, free: 5.453 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003422/1.944, allocations: 55.95 kB / 1.678 GB, free: 5.398 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02105/1.965, allocations: 16.45 MB / 1.694 GB, free: 4.145 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.311e-05/1.965, allocations: 11.94 kB / 1.694 GB, free: 4.133 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8727/2.838, allocations: 4.351 MB / 1.699 GB, free: 328.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002006/2.84, allocations: 0.5465 MB / 1.699 GB, free: 328.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000364/2.84, allocations: 36.44 kB / 1.699 GB, free: 328.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003093/2.844, allocations: 446.5 kB / 1.7 GB, free: 328.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005608/2.844, allocations: 150.1 kB / 1.7 GB, free: 328.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/2.844, allocations: 65.27 kB / 1.7 GB, free: 328.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001564/2.846, allocations: 0.7923 MB / 1.701 GB, free: 328 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.3e-07/2.846, allocations: 0.9688 kB / 1.701 GB, free: 328 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006137/2.852, allocations: 1.326 MB / 1.702 GB, free: 328 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 98 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000458/2.853, allocations: 164.5 kB / 1.702 GB, free: 327.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01806/2.871, allocations: 8.012 MB / 1.71 GB, free: 326.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.806e-05/2.871, allocations: 2.5 kB / 1.71 GB, free: 326.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.006149/2.877, allocations: 2.789 MB / 1.713 GB, free: 325.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/2.879, allocations: 192 kB / 1.713 GB, free: 325.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02311/2.902, allocations: 6.267 MB / 1.719 GB, free: 324.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005315/2.907, allocations: 2.425 MB / 1.721 GB, free: 324 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005638/2.913, allocations: 1.295 MB / 1.723 GB, free: 324 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005972/2.913, allocations: 124 kB / 1.723 GB, free: 324 MB / 1.151 GB Notification: Performance of SimCode: time 1.453e-06/2.913, allocations: 0 / 1.723 GB, free: 324 MB / 1.151 GB Notification: Performance of Templates: time 0.08216/2.996, allocations: 41.97 MB / 1.764 GB, free: 322.8 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches