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.152/2.152, allocations: 387.4 MB / 394.9 MB, free: 13.31 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.001654/0.001654, allocations: 172.8 kB / 487.4 MB, free: 5.043 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.487/1.487, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 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.001063/0.001063, allocations: 102.6 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.735e-05/1.737e-05, allocations: 5.875 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3166, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.354, allocations: 169.2 MB / 1.371 GB, free: 18.34 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/1.355, allocations: 101.5 kB / 1.371 GB, free: 18.34 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02765/1.382, allocations: 13.46 MB / 1.384 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.132e-06/1.382, allocations: 0 / 1.384 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.635e-05/1.382, allocations: 7.812 kB / 1.384 GB, free: 30.77 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.0005392/1.383, allocations: 446.2 kB / 1.385 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/1.383, allocations: 15.38 kB / 1.385 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000553/1.383, allocations: 62.08 kB / 1.385 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/1.384, allocations: 230.7 kB / 1.385 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/1.384, allocations: 3.844 kB / 1.385 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/1.384, allocations: 7.688 kB / 1.385 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000245/1.384, allocations: 158.1 kB / 1.385 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/1.384, allocations: 251.7 kB / 1.386 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/1.384, allocations: 3.875 kB / 1.386 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/1.384, allocations: 0 / 1.386 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/1.384, allocations: 15.75 kB / 1.386 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/1.386, allocations: 1.538 MB / 1.387 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.772e-05/1.386, allocations: 73.69 kB / 1.387 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.166e-05/1.386, allocations: 43.41 kB / 1.387 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/1.386, allocations: 3.844 kB / 1.387 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/1.386, allocations: 41.56 kB / 1.387 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/1.386, allocations: 0 / 1.387 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.000385/1.386, allocations: 178 kB / 1.387 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/1.386, allocations: 80.95 kB / 1.387 GB, free: 28.26 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/1.387, allocations: 196.4 kB / 1.388 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/1.387, allocations: 25.7 kB / 1.388 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/1.387, allocations: 166.7 kB / 1.388 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/1.387, allocations: 26.91 kB / 1.388 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/1.387, allocations: 0 / 1.388 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.387, allocations: 322.4 kB / 1.388 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-05/1.387, allocations: 73.47 kB / 1.388 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/1.387, allocations: 157.2 kB / 1.388 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/1.387, allocations: 102.6 kB / 1.388 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.387, allocations: 7.75 kB / 1.389 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003415/1.388, allocations: 255.8 kB / 1.389 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004308/1.388, allocations: 1.14 MB / 1.39 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.388, allocations: 3.844 kB / 1.39 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/1.388, allocations: 3.969 kB / 1.39 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/1.388, allocations: 54.39 kB / 1.39 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/1.388, allocations: 7.812 kB / 1.39 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/1.389, allocations: 23.53 kB / 1.39 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/1.389, allocations: 11.09 kB / 1.39 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.101e-06/1.389, allocations: 3.875 kB / 1.39 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000259/1.389, allocations: 188.5 kB / 1.39 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/1.389, allocations: 3.812 kB / 1.39 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.027e-06/1.389, allocations: 3.875 kB / 1.39 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/1.389, allocations: 54 kB / 1.39 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.389, allocations: 7.781 kB / 1.39 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/1.389, allocations: 15.61 kB / 1.39 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/1.389, allocations: 8.062 kB / 1.39 GB, free: 26.09 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 0.0001183/1.389, allocations: 120.8 kB / 1.39 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.514e-05/1.389, allocations: 22.97 kB / 1.39 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/1.39, allocations: 106.6 kB / 1.39 GB, free: 25.9 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/1.39, allocations: 0 / 1.39 GB, free: 25.9 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.39, allocations: 3.844 kB / 1.39 GB, free: 25.9 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/1.39, allocations: 0 / 1.39 GB, free: 25.9 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005457/1.39, allocations: 0.5759 MB / 1.391 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/1.39, allocations: 3.844 kB / 1.391 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.94e-05/1.39, allocations: 15.52 kB / 1.391 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/1.39, allocations: 3.844 kB / 1.391 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/1.39, allocations: 4.094 kB / 1.391 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/1.39, allocations: 11.94 kB / 1.391 GB, free: 25.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.39, allocations: 7.875 kB / 1.391 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/1.39, allocations: 397.3 kB / 1.391 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.855e-05/1.391, allocations: 115 kB / 1.392 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/1.391, allocations: 3.953 kB / 1.392 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/1.391, allocations: 15.77 kB / 1.392 GB, free: 24.9 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/1.391, allocations: 11.77 kB / 1.392 GB, free: 24.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/1.391, allocations: 3.688 kB / 1.392 GB, free: 24.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001201/1.391, allocations: 155.5 kB / 1.392 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.391, allocations: 0 / 1.392 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005247/1.391, allocations: 72.28 kB / 1.392 GB, free: 24.8 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.0001656/1.392, allocations: 126.1 kB / 1.392 GB, free: 24.69 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003433/1.392, allocations: 256.5 kB / 1.392 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.392, allocations: 0 / 1.392 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.245e-05/1.392, allocations: 38.73 kB / 1.392 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/1.392, allocations: 29.69 kB / 1.392 GB, free: 24.63 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00048/1.393, allocations: 264.8 kB / 1.393 GB, free: 24.44 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/1.393, allocations: 0.7424 MB / 1.393 GB, free: 23.72 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001955/1.393, allocations: 68.31 kB / 1.393 GB, free: 23.69 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/1.393, allocations: 15.19 kB / 1.393 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.393, allocations: 0 / 1.393 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of Templates: time 0.003631/1.397, allocations: 1.595 MB / 1.395 GB, free: 22.92 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