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.298/2.298, allocations: 390.3 MB / 402.8 MB, free: 6.719 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.001019/0.00102, allocations: 180.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 221.3 MB / 0.7915 GB, free: 5.426 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.0009232/0.0009231, allocations: 91.89 kB / 0.9317 GB, free: 5.734 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.852e-05/4.856e-05, allocations: 5.406 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3423, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.406, allocations: 170.7 MB / 1.385 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/1.406, allocations: 95.42 kB / 1.386 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.03417/1.44, allocations: 13.51 MB / 1.399 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.402e-06/1.44, allocations: 0 / 1.399 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.123e-05/1.44, allocations: 6.5 kB / 1.399 GB, free: 5.406 MB / 0.8542 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.0007048/1.441, allocations: 445.2 kB / 1.399 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/1.441, allocations: 16.03 kB / 1.399 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006598/1.442, allocations: 66.8 kB / 1.399 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/1.442, allocations: 224.7 kB / 1.399 GB, free: 4.609 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/1.442, allocations: 14.55 kB / 1.399 GB, free: 4.598 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/1.442, allocations: 14.5 kB / 1.399 GB, free: 4.59 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/1.443, allocations: 271.6 kB / 1.4 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/1.443, allocations: 0 / 1.4 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/1.443, allocations: 11.92 kB / 1.4 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/1.443, allocations: 11.67 kB / 1.4 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003351/1.443, allocations: 204 kB / 1.4 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/1.445, allocations: 1.585 MB / 1.401 GB, free: 2.594 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/1.445, allocations: 75.86 kB / 1.402 GB, free: 2.512 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.705e-05/1.445, allocations: 52 kB / 1.402 GB, free: 2.465 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/1.445, allocations: 0 / 1.402 GB, free: 2.465 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/1.445, allocations: 34.52 kB / 1.402 GB, free: 2.422 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 4.007e-06/1.445, allocations: 0 / 1.402 GB, free: 2.422 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0004927/1.446, allocations: 188.6 kB / 1.402 GB, free: 2.254 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/1.446, allocations: 85.2 kB / 1.402 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/1.446, allocations: 203.2 kB / 1.402 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/1.446, allocations: 25.7 kB / 1.402 GB, free: 1.941 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/1.446, allocations: 167.9 kB / 1.402 GB, free: 1.789 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/1.446, allocations: 30.92 kB / 1.402 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.121e-05/1.446, allocations: 3.562 kB / 1.402 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.446, allocations: 325 kB / 1.403 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/1.446, allocations: 70.48 kB / 1.403 GB, free: 1.395 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/1.447, allocations: 160.9 kB / 1.403 GB, free: 1.23 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/1.447, allocations: 99.06 kB / 1.403 GB, free: 1.16 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.447, allocations: 4 kB / 1.403 GB, free: 1.156 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004184/1.447, allocations: 269.4 kB / 1.403 GB, free: 0.9453 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005317/1.448, allocations: 1.142 MB / 1.404 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.448, allocations: 4 kB / 1.404 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/1.448, allocations: 4 kB / 1.404 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/1.448, allocations: 51.72 kB / 1.404 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/1.448, allocations: 8 kB / 1.404 GB, free: 15.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/1.448, allocations: 31.19 kB / 1.404 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/1.448, allocations: 11.98 kB / 1.404 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/1.448, allocations: 4 kB / 1.404 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003096/1.449, allocations: 214 kB / 1.405 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/1.449, allocations: 4.047 kB / 1.405 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/1.449, allocations: 7.984 kB / 1.405 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/1.449, allocations: 47.91 kB / 1.405 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/1.449, allocations: 7.953 kB / 1.405 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/1.449, allocations: 15.23 kB / 1.405 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/1.449, allocations: 15.69 kB / 1.405 GB, free: 15.38 MB / 0.8698 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.693e-05/1.449, allocations: 121.2 kB / 1.405 GB, free: 15.26 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/1.449, allocations: 15.81 kB / 1.405 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/1.449, allocations: 114.6 kB / 1.405 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/1.449, allocations: 128 / 1.405 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/1.449, allocations: 7.953 kB / 1.405 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/1.449, allocations: 7.984 kB / 1.405 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007923/1.45, allocations: 0.6171 MB / 1.406 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/1.45, allocations: 3.953 kB / 1.406 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.844e-05/1.45, allocations: 19.98 kB / 1.406 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/1.45, allocations: 4 kB / 1.406 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/1.45, allocations: 4.125 kB / 1.406 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/1.45, allocations: 8 kB / 1.406 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.45, allocations: 3.938 kB / 1.406 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/1.451, allocations: 406.8 kB / 1.406 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/1.451, allocations: 107.7 kB / 1.406 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/1.451, allocations: 7.984 kB / 1.406 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/1.451, allocations: 11.98 kB / 1.406 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/1.451, allocations: 11.44 kB / 1.406 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/1.451, allocations: 4 kB / 1.406 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001564/1.451, allocations: 162.5 kB / 1.406 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/1.451, allocations: 0 / 1.406 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005187/1.452, allocations: 95.08 kB / 1.406 GB, free: 13.65 MB / 0.8698 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.0002121/1.452, allocations: 122.7 kB / 1.407 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004507/1.453, allocations: 263.9 kB / 1.407 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.453, allocations: 3.938 kB / 1.407 GB, free: 13.33 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.399e-05/1.453, allocations: 49.28 kB / 1.407 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/1.453, allocations: 31.83 kB / 1.407 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000585/1.454, allocations: 268.1 kB / 1.407 GB, free: 13 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/1.454, allocations: 0.7397 MB / 1.408 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002629/1.454, allocations: 73.47 kB / 1.408 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.543e-05/1.454, allocations: 19 kB / 1.408 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of SimCode: time 6.72e-07/1.454, allocations: 4 kB / 1.408 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of Templates: time 0.00454/1.459, allocations: 1.678 MB / 1.41 GB, free: 10.51 MB / 0.8698 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