Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.456/2.456, allocations: 390.5 MB / 398 MB, free: 10.93 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.001334/0.001334, allocations: 184.8 kB / 491.2 MB, free: 1.535 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.658/1.658, allocations: 221.5 MB / 0.7868 GB, free: 13.23 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.001252/0.001252, allocations: 91.95 kB / 0.9269 GB, free: 13.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.509e-05/1.512e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3389, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.072/1.411, allocations: 170 MB / 1.378 GB, free: 17.42 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/1.411, allocations: 90.7 kB / 1.378 GB, free: 17.42 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02888/1.44, allocations: 13.47 MB / 1.392 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.934e-06/1.44, allocations: 0 / 1.392 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.501e-05/1.44, allocations: 3.875 kB / 1.392 GB, free: 28.98 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.0005407/1.44, allocations: 443.8 kB / 1.392 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/1.441, allocations: 11.38 kB / 1.392 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000587/1.441, allocations: 69.52 kB / 1.392 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/1.441, allocations: 230 kB / 1.392 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/1.441, allocations: 3.844 kB / 1.392 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/1.441, allocations: 11.47 kB / 1.392 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002667/1.442, allocations: 156.5 kB / 1.392 GB, free: 28.28 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/1.442, allocations: 256 kB / 1.393 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/1.442, allocations: 0 / 1.393 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/1.442, allocations: 3.875 kB / 1.393 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.043e-05/1.442, allocations: 19.53 kB / 1.393 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/1.444, allocations: 1.544 MB / 1.394 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.468e-05/1.444, allocations: 74.03 kB / 1.394 GB, free: 26.72 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.554e-05/1.444, allocations: 47.75 kB / 1.394 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/1.444, allocations: 0 / 1.394 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/1.444, allocations: 34.31 kB / 1.394 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/1.444, allocations: 3.844 kB / 1.394 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0004058/1.444, allocations: 171.1 kB / 1.395 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/1.444, allocations: 77.11 kB / 1.395 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/1.444, allocations: 195.6 kB / 1.395 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/1.444, allocations: 29.7 kB / 1.395 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/1.445, allocations: 160.5 kB / 1.395 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/1.445, allocations: 30.58 kB / 1.395 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/1.445, allocations: 0 / 1.395 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.304e-05/1.445, allocations: 325 kB / 1.395 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.393e-05/1.445, allocations: 72.91 kB / 1.395 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/1.445, allocations: 153.6 kB / 1.396 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/1.445, allocations: 108.2 kB / 1.396 GB, free: 25.69 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.445, allocations: 0 / 1.396 GB, free: 25.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000338/1.445, allocations: 256.4 kB / 1.396 GB, free: 25.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003339/1.446, allocations: 1.136 MB / 1.397 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.964e-06/1.446, allocations: 3.812 kB / 1.397 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/1.446, allocations: 3.844 kB / 1.397 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/1.446, allocations: 57.53 kB / 1.397 GB, free: 24.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/1.446, allocations: 7.688 kB / 1.397 GB, free: 24.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/1.446, allocations: 23.28 kB / 1.397 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/1.446, allocations: 11.7 kB / 1.397 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.683e-06/1.446, allocations: 7.781 kB / 1.397 GB, free: 24.37 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002674/1.447, allocations: 185.7 kB / 1.397 GB, free: 24.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/1.447, allocations: 8.031 kB / 1.397 GB, free: 24.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.148e-06/1.447, allocations: 3.906 kB / 1.397 GB, free: 24.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/1.447, allocations: 53.81 kB / 1.397 GB, free: 24.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/1.447, allocations: 15.72 kB / 1.397 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/1.447, allocations: 15.62 kB / 1.397 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/1.447, allocations: 7.844 kB / 1.397 GB, free: 24.3 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 8.128e-05/1.447, allocations: 113.3 kB / 1.397 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.035e-05/1.447, allocations: 15.5 kB / 1.398 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/1.447, allocations: 112.2 kB / 1.398 GB, free: 24.12 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/1.447, allocations: 0 / 1.398 GB, free: 24.12 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.447, allocations: 4 kB / 1.398 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/1.447, allocations: 0 / 1.398 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005347/1.448, allocations: 0.5802 MB / 1.398 GB, free: 23.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.448, allocations: 3.938 kB / 1.398 GB, free: 23.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.716e-05/1.448, allocations: 19.36 kB / 1.398 GB, free: 23.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/1.448, allocations: 3.812 kB / 1.398 GB, free: 23.64 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/1.448, allocations: 3.953 kB / 1.398 GB, free: 23.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/1.448, allocations: 3.844 kB / 1.398 GB, free: 23.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.448, allocations: 3.844 kB / 1.398 GB, free: 23.63 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/1.448, allocations: 405.2 kB / 1.399 GB, free: 23.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.095e-05/1.448, allocations: 111.5 kB / 1.399 GB, free: 23.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/1.448, allocations: 3.875 kB / 1.399 GB, free: 23.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/1.448, allocations: 11.7 kB / 1.399 GB, free: 23.12 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.321e-05/1.448, allocations: 15.28 kB / 1.399 GB, free: 23.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/1.448, allocations: 3.812 kB / 1.399 GB, free: 23.11 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001168/1.449, allocations: 158.9 kB / 1.399 GB, free: 23.02 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.449, allocations: 0 / 1.399 GB, free: 23.02 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004707/1.449, allocations: 77.25 kB / 1.399 GB, free: 23.01 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.0001513/1.449, allocations: 114.4 kB / 1.399 GB, free: 22.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003146/1.45, allocations: 254.9 kB / 1.399 GB, free: 22.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.45, allocations: 0 / 1.399 GB, free: 22.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.841e-05/1.45, allocations: 48.69 kB / 1.399 GB, free: 22.85 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/1.45, allocations: 26.19 kB / 1.399 GB, free: 22.84 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/1.45, allocations: 257.1 kB / 1.4 GB, free: 22.66 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/1.451, allocations: 0.742 MB / 1.4 GB, free: 21.93 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001946/1.451, allocations: 80.19 kB / 1.4 GB, free: 21.9 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/1.451, allocations: 18.38 kB / 1.4 GB, free: 21.89 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.451, allocations: 0 / 1.4 GB, free: 21.89 MB / 0.8386 GB Notification: Performance of Templates: time 0.003844/1.455, allocations: 1.596 MB / 1.402 GB, free: 21.15 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches