Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.442/2.442, allocations: 387.4 MB / 394.9 MB, free: 13.32 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.001316/0.001316, allocations: 172.9 kB / 487.4 MB, free: 5.039 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.58/1.58, allocations: 221.5 MB / 0.7824 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 103.7 kB / 0.9219 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.028e-05/2.03e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3358, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.123/1.459, allocations: 191.1 MB / 1.393 GB, free: 13.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/1.459, allocations: 97.53 kB / 1.393 GB, free: 13.79 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2946/1.754, allocations: 118.5 MB / 1.508 GB, free: 9.086 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.505e-06/1.754, allocations: 0 / 1.508 GB, free: 9.086 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002167/1.754, allocations: 67.94 kB / 1.509 GB, free: 9.02 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.009355/1.763, allocations: 2.415 MB / 1.511 GB, free: 6.547 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/1.763, allocations: 8.031 kB / 1.511 GB, free: 6.539 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005039/1.768, allocations: 0.6951 MB / 1.512 GB, free: 5.84 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004703/1.773, allocations: 1.609 MB / 1.513 GB, free: 4.188 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001862/1.773, allocations: 92 kB / 1.513 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001459/1.775, allocations: 168 kB / 1.513 GB, free: 3.934 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008945/1.784, allocations: 3.202 MB / 1.517 GB, free: 0.7266 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01297/1.797, allocations: 4.119 MB / 1.521 GB, free: 12.42 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000166/1.797, allocations: 7.938 kB / 1.521 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001007/1.798, allocations: 4 kB / 1.521 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002709/1.798, allocations: 184.7 kB / 1.521 GB, free: 12.22 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03272/1.831, allocations: 22.12 MB / 1.542 GB, free: 3.988 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003015/1.834, allocations: 1.53 MB / 1.544 GB, free: 2.418 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001761/1.836, allocations: 1.002 MB / 1.545 GB, free: 1.406 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002084/1.836, allocations: 97.72 kB / 1.545 GB, free: 1.293 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/1.836, allocations: 47.12 kB / 1.545 GB, free: 1.238 MB / 0.948 GB Notification: Performance of pre-optimization done (n=72): time 3.206e-06/1.836, allocations: 0 / 1.545 GB, free: 1.238 MB / 0.948 GB Notification: Performance of matching and sorting (n=75): time 0.006667/1.843, allocations: 2.916 MB / 1.548 GB, free: 14.29 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.08e-05/1.843, allocations: 141.3 kB / 1.548 GB, free: 14.12 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/1.844, allocations: 0.8122 MB / 1.549 GB, free: 13.29 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.591e-05/1.844, allocations: 29.7 kB / 1.549 GB, free: 13.26 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009604/1.845, allocations: 1.2 MB / 1.55 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003471/1.846, allocations: 260.2 kB / 1.55 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-05/1.846, allocations: 0 / 1.55 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002568/1.846, allocations: 398.7 kB / 1.551 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/1.847, allocations: 0.7444 MB / 1.551 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/1.849, allocations: 1.242 MB / 1.552 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/1.851, allocations: 1.05 MB / 1.554 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-05/1.851, allocations: 8 kB / 1.554 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003594/1.854, allocations: 2.088 MB / 1.556 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.002666/1.857, allocations: 5.499 MB / 1.561 GB, free: 88 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.154e-05/1.857, allocations: 12 kB / 1.561 GB, free: 76 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.813e-05/1.857, allocations: 24 kB / 1.561 GB, free: 52 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/1.859, allocations: 419.3 kB / 1.561 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.576e-05/1.859, allocations: 27.92 kB / 1.561 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/1.86, allocations: 235.3 kB / 1.562 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/1.861, allocations: 55.98 kB / 1.562 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/1.861, allocations: 4 kB / 1.562 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002805/1.863, allocations: 1.666 MB / 1.563 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/1.864, allocations: 15.94 kB / 1.563 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/1.864, allocations: 24 kB / 1.563 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/1.865, allocations: 363.4 kB / 1.564 GB, free: 13.26 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.211e-05/1.865, allocations: 35.81 kB / 1.564 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/1.866, allocations: 155.6 kB / 1.564 GB, free: 13.07 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/1.866, allocations: 52 kB / 1.564 GB, free: 13.02 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * 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.0003263/1.867, allocations: 144.5 kB / 1.564 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003976/1.867, allocations: 94.86 kB / 1.564 GB, free: 12.78 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002702/1.87, allocations: 1.484 MB / 1.566 GB, free: 11.29 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/1.87, allocations: 8 kB / 1.566 GB, free: 11.28 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/1.87, allocations: 3.953 kB / 1.566 GB, free: 11.27 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/1.87, allocations: 11.98 kB / 1.566 GB, free: 11.26 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/1.881, allocations: 6.51 MB / 1.572 GB, free: 4.559 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/1.881, allocations: 8 kB / 1.572 GB, free: 4.551 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/1.883, allocations: 264.1 kB / 1.572 GB, free: 4.293 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.527e-05/1.883, allocations: 16 kB / 1.572 GB, free: 4.277 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.108e-05/1.883, allocations: 12 kB / 1.572 GB, free: 4.266 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.71e-05/1.883, allocations: 19.92 kB / 1.572 GB, free: 4.246 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-05/1.883, allocations: 15.94 kB / 1.572 GB, free: 4.23 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003046/1.886, allocations: 2.404 MB / 1.575 GB, free: 1.473 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000817/1.887, allocations: 367.7 kB / 1.575 GB, free: 1.094 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003096/1.887, allocations: 12 kB / 1.575 GB, free: 1.082 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/1.888, allocations: 123.8 kB / 1.575 GB, free: 0.9609 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/1.888, allocations: 79.84 kB / 1.575 GB, free: 0.8828 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-05/1.888, allocations: 28 kB / 1.575 GB, free: 0.8555 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0009935/1.889, allocations: 0.6006 MB / 1.576 GB, free: 268 kB / 0.9792 GB Notification: Performance of sort global known variables: time 1.7e-07/1.889, allocations: 0 / 1.576 GB, free: 268 kB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003697/1.893, allocations: 0.7579 MB / 1.577 GB, free: 15.5 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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.0003167/1.893, allocations: 146.9 kB / 1.577 GB, free: 15.35 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003988/1.897, allocations: 2.515 MB / 1.579 GB, free: 12.84 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/1.897, allocations: 3.938 kB / 1.579 GB, free: 12.84 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/1.898, allocations: 0.7047 MB / 1.58 GB, free: 12.13 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/1.9, allocations: 240.8 kB / 1.58 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00925/1.909, allocations: 3.831 MB / 1.584 GB, free: 7.922 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003064/1.913, allocations: 2.169 MB / 1.586 GB, free: 5.719 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002709/1.915, allocations: 0.7728 MB / 1.587 GB, free: 4.941 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003832/1.916, allocations: 71.42 kB / 1.587 GB, free: 4.871 MB / 0.9948 GB Notification: Performance of SimCode: time 1.313e-06/1.916, allocations: 0 / 1.587 GB, free: 4.871 MB / 0.9948 GB Notification: Performance of Templates: time 0.03088/1.947, allocations: 15.23 MB / 1.602 GB, free: 5.762 MB / 1.01 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches