Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.197/2.197, 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.001024/0.001024, allocations: 184.8 kB / 487.4 MB, free: 5.047 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.454/1.454, allocations: 221.5 MB / 0.7824 GB, free: 0.957 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.0009402/0.0009404, allocations: 87.8 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.967e-05/1.97e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2805, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.04/1.321, allocations: 185.6 MB / 1.387 GB, free: 16.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/1.321, allocations: 102.6 kB / 1.387 GB, free: 16.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2281/1.549, allocations: 102.2 MB / 1.487 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.503e-06/1.549, allocations: 0 / 1.487 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001121/1.549, allocations: 59.98 kB / 1.487 GB, free: 15.02 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.004761/1.554, allocations: 2.164 MB / 1.489 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/1.554, allocations: 12.03 kB / 1.489 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004007/1.558, allocations: 0.7462 MB / 1.49 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002646/1.561, allocations: 1.461 MB / 1.491 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.528e-05/1.561, allocations: 84 kB / 1.491 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003392/1.561, allocations: 144 kB / 1.492 GB, free: 10.31 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004971/1.566, allocations: 2.966 MB / 1.495 GB, free: 7.34 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005936/1.572, allocations: 3.774 MB / 1.498 GB, free: 3.371 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.065e-05/1.572, allocations: 11.88 kB / 1.498 GB, free: 3.359 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002368/1.573, allocations: 4 kB / 1.498 GB, free: 3.355 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001897/1.573, allocations: 164.3 kB / 1.498 GB, free: 3.195 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02388/1.597, allocations: 20.69 MB / 1.519 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006456/1.597, allocations: 0.5044 MB / 1.519 GB, free: 12.04 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005706/1.598, allocations: 490.6 kB / 1.52 GB, free: 11.54 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.826e-05/1.598, allocations: 8.672 kB / 1.52 GB, free: 11.53 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/1.598, allocations: 58.44 kB / 1.52 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=50): time 5.049e-06/1.598, allocations: 3.984 kB / 1.52 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of matching and sorting (n=56): time 0.00513/1.603, allocations: 3.569 MB / 1.523 GB, free: 7.836 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/1.603, allocations: 235.3 kB / 1.523 GB, free: 7.551 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/1.605, allocations: 1.115 MB / 1.524 GB, free: 6.414 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.055e-05/1.605, allocations: 26.27 kB / 1.524 GB, free: 6.383 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009406/1.606, allocations: 1.23 MB / 1.526 GB, free: 5.133 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003312/1.606, allocations: 213.1 kB / 1.526 GB, free: 4.922 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.362e-05/1.606, allocations: 0 / 1.526 GB, free: 4.922 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003101/1.607, allocations: 406.7 kB / 1.526 GB, free: 4.516 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/1.608, allocations: 0.734 MB / 1.527 GB, free: 3.781 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/1.61, allocations: 1.42 MB / 1.528 GB, free: 2.023 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/1.612, allocations: 1.104 MB / 1.529 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.64e-05/1.612, allocations: 8 kB / 1.529 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004003/1.616, allocations: 2.215 MB / 1.532 GB, free: 14.69 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.005076/1.621, allocations: 9.391 MB / 1.541 GB, free: 4.562 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.026e-05/1.621, allocations: 24 kB / 1.541 GB, free: 4.539 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-05/1.621, allocations: 39.94 kB / 1.541 GB, free: 4.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001794/1.623, allocations: 451.1 kB / 1.541 GB, free: 4.059 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.182e-05/1.623, allocations: 47.86 kB / 1.541 GB, free: 4.012 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/1.625, allocations: 255.2 kB / 1.542 GB, free: 3.762 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/1.625, allocations: 79.98 kB / 1.542 GB, free: 3.684 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/1.625, allocations: 5.875 kB / 1.542 GB, free: 3.68 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002915/1.628, allocations: 1.86 MB / 1.543 GB, free: 1.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/1.628, allocations: 28.25 kB / 1.543 GB, free: 1.793 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.091e-05/1.628, allocations: 36 kB / 1.543 GB, free: 1.758 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/1.629, allocations: 407.3 kB / 1.544 GB, free: 1.359 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.245e-05/1.629, allocations: 55.78 kB / 1.544 GB, free: 1.305 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/1.63, allocations: 151.4 kB / 1.544 GB, free: 1.156 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/1.63, allocations: 79.98 kB / 1.544 GB, free: 1.078 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 192 * 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.0002597/1.631, allocations: 164.3 kB / 1.544 GB, free: 0.9102 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003131/1.631, allocations: 114.7 kB / 1.544 GB, free: 0.7969 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/1.632, allocations: 0.8298 MB / 1.545 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/1.632, allocations: 11.98 kB / 1.545 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.632, allocations: 0 / 1.545 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/1.632, allocations: 7.953 kB / 1.545 GB, free: 15.94 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009651/1.642, allocations: 7.365 MB / 1.552 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/1.642, allocations: 12 kB / 1.552 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004816/1.642, allocations: 143.7 kB / 1.553 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.015e-05/1.642, allocations: 16 kB / 1.553 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.356e-05/1.642, allocations: 16 kB / 1.553 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.1e-05/1.642, allocations: 20.56 kB / 1.553 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.314e-05/1.642, allocations: 19.94 kB / 1.553 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/1.645, allocations: 2.384 MB / 1.555 GB, free: 5.324 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004974/1.645, allocations: 343.5 kB / 1.555 GB, free: 4.969 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/1.645, allocations: 15.98 kB / 1.555 GB, free: 4.953 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009517/1.646, allocations: 108.2 kB / 1.555 GB, free: 4.848 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-05/1.646, allocations: 75.69 kB / 1.555 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.464e-05/1.646, allocations: 31.94 kB / 1.556 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001098/1.648, allocations: 0.8407 MB / 1.556 GB, free: 3.891 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4.61e-07/1.648, allocations: 0 / 1.556 GB, free: 3.891 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003108/1.651, allocations: 0.7422 MB / 1.557 GB, free: 3.148 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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.0002441/1.651, allocations: 142.9 kB / 1.557 GB, free: 3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003148/1.654, allocations: 2.387 MB / 1.56 GB, free: 0.625 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.81e-06/1.654, allocations: 0.6875 kB / 1.56 GB, free: 0.625 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004768/1.655, allocations: 429.9 kB / 1.56 GB, free: 212 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/1.656, allocations: 204.1 kB / 1.56 GB, free: 8 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005918/1.662, allocations: 3.396 MB / 1.563 GB, free: 12.42 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001954/1.664, allocations: 2.035 MB / 1.565 GB, free: 10.35 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002146/1.666, allocations: 0.8598 MB / 1.566 GB, free: 9.488 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/1.666, allocations: 79.41 kB / 1.566 GB, free: 9.41 MB / 0.9792 GB Notification: Performance of SimCode: time 7.91e-07/1.666, allocations: 0 / 1.566 GB, free: 9.41 MB / 0.9792 GB Notification: Performance of Templates: time 0.02293/1.689, allocations: 12.98 MB / 1.579 GB, free: 12.52 MB / 0.9948 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches