Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.269/2.269, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001141/0.001141, allocations: 175.9 kB / 492.3 MB, free: 0.6289 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.693/1.693, allocations: 221.3 MB / 0.7872 GB, free: 12.91 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.000938/0.000938, allocations: 91.89 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.553e-05/3.563e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2882, allocations: 142.3 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9346/1.223, allocations: 169.8 MB / 1.378 GB, free: 18.94 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/1.223, allocations: 93.17 kB / 1.378 GB, free: 18.94 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02818/1.251, allocations: 13.51 MB / 1.392 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.323e-06/1.251, allocations: 0 / 1.392 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.721e-05/1.251, allocations: 7.156 kB / 1.392 GB, free: 30.22 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0004809/1.252, allocations: 452.5 kB / 1.392 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/1.252, allocations: 7.844 kB / 1.392 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006111/1.252, allocations: 66.2 kB / 1.392 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/1.253, allocations: 233.7 kB / 1.392 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/1.253, allocations: 9.969 kB / 1.392 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/1.253, allocations: 14.84 kB / 1.392 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003722/1.253, allocations: 283.2 kB / 1.393 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/1.253, allocations: 0 / 1.393 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/1.253, allocations: 6.969 kB / 1.393 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.219e-05/1.253, allocations: 19.66 kB / 1.393 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002557/1.254, allocations: 194.9 kB / 1.393 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/1.255, allocations: 1.584 MB / 1.394 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.388e-05/1.255, allocations: 75.08 kB / 1.394 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.776e-05/1.255, allocations: 55.81 kB / 1.394 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/1.255, allocations: 0 / 1.394 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/1.255, allocations: 34.5 kB / 1.394 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/1.255, allocations: 3.938 kB / 1.394 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0004206/1.256, allocations: 192.5 kB / 1.395 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/1.256, allocations: 77.11 kB / 1.395 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/1.256, allocations: 209.5 kB / 1.395 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/1.256, allocations: 25.7 kB / 1.395 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/1.256, allocations: 157.6 kB / 1.395 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/1.256, allocations: 34.52 kB / 1.395 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/1.256, allocations: 3.375 kB / 1.395 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.204e-05/1.256, allocations: 325.4 kB / 1.395 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.529e-05/1.256, allocations: 78.91 kB / 1.396 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/1.256, allocations: 151.6 kB / 1.396 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/1.256, allocations: 105.9 kB / 1.396 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.256, allocations: 7.969 kB / 1.396 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003248/1.257, allocations: 267.1 kB / 1.396 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003356/1.257, allocations: 1.14 MB / 1.397 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.257, allocations: 3.812 kB / 1.397 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/1.257, allocations: 3.812 kB / 1.397 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/1.257, allocations: 54.5 kB / 1.397 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/1.257, allocations: 7.922 kB / 1.397 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/1.258, allocations: 23.06 kB / 1.397 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/1.258, allocations: 11.38 kB / 1.397 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.201e-06/1.258, allocations: 3.844 kB / 1.397 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002463/1.258, allocations: 212.4 kB / 1.397 GB, free: 25.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-06/1.258, allocations: 0 / 1.397 GB, free: 25.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.619e-06/1.258, allocations: 7.719 kB / 1.397 GB, free: 25.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/1.258, allocations: 46.44 kB / 1.398 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/1.258, allocations: 8.234 kB / 1.398 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/1.258, allocations: 23.38 kB / 1.398 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/1.258, allocations: 19.61 kB / 1.398 GB, free: 25.47 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 7.151e-05/1.258, allocations: 117 kB / 1.398 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/1.258, allocations: 15.5 kB / 1.398 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/1.258, allocations: 118.4 kB / 1.398 GB, free: 25.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/1.258, allocations: 11.78 kB / 1.398 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.258, allocations: 0 / 1.398 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/1.259, allocations: 3.953 kB / 1.398 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005876/1.259, allocations: 0.6197 MB / 1.398 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.259, allocations: 3.984 kB / 1.398 GB, free: 24.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.982e-05/1.259, allocations: 19.33 kB / 1.398 GB, free: 24.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/1.259, allocations: 8.203 kB / 1.398 GB, free: 24.76 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/1.259, allocations: 3.844 kB / 1.398 GB, free: 24.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/1.259, allocations: 3.875 kB / 1.398 GB, free: 24.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.259, allocations: 3.938 kB / 1.398 GB, free: 24.76 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/1.259, allocations: 412.2 kB / 1.399 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-05/1.26, allocations: 107.7 kB / 1.399 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/1.26, allocations: 6.812 kB / 1.399 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/1.26, allocations: 11.73 kB / 1.399 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/1.26, allocations: 3.906 kB / 1.399 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/1.26, allocations: 7.156 kB / 1.399 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001262/1.26, allocations: 166.6 kB / 1.399 GB, free: 24.15 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.91e-07/1.26, allocations: 0 / 1.399 GB, free: 24.15 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004647/1.26, allocations: 95.31 kB / 1.399 GB, free: 24.14 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001413/1.261, allocations: 122.8 kB / 1.399 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003316/1.261, allocations: 262.1 kB / 1.4 GB, free: 23.99 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.261, allocations: 4.344 kB / 1.4 GB, free: 23.99 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.691e-05/1.261, allocations: 44.88 kB / 1.4 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/1.261, allocations: 32.22 kB / 1.4 GB, free: 23.97 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/1.262, allocations: 265.8 kB / 1.4 GB, free: 23.79 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/1.262, allocations: 0.7435 MB / 1.401 GB, free: 23.06 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001895/1.262, allocations: 75.91 kB / 1.401 GB, free: 23.03 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/1.262, allocations: 15.16 kB / 1.401 GB, free: 23.03 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/1.262, allocations: 0 / 1.401 GB, free: 23.03 MB / 0.8386 GB Notification: Performance of Templates: time 0.003694/1.266, allocations: 1.683 MB / 1.402 GB, free: 21.71 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches