Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.543/1.543, allocations: 249.3 MB / 261.8 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001003, allocations: 182.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000862/0.0008624, allocations: 101.1 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.83e-05/2.833e-05, allocations: 4 kB / 0.788 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1973, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6847/0.8821, allocations: 164.8 MB / 1.053 GB, free: 3.75 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.8824, allocations: 92.94 kB / 1.053 GB, free: 3.699 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.4612/1.344, allocations: 199.2 MB / 1.247 GB, free: 0.8945 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.234e-06/1.344, allocations: 0 / 1.247 GB, free: 0.8945 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000329/1.344, allocations: 139.9 kB / 1.247 GB, free: 0.7578 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01395/1.358, allocations: 4.451 MB / 1.252 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/1.358, allocations: 8.031 kB / 1.252 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007516/1.366, allocations: 1.047 MB / 1.253 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008144/1.374, allocations: 3.395 MB / 1.256 GB, free: 7.727 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003545/1.374, allocations: 419 kB / 1.257 GB, free: 7.316 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001831/1.376, allocations: 0.5466 MB / 1.257 GB, free: 6.77 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.497/1.873, allocations: 8.472 MB / 1.265 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002807/1.873, allocations: 30.03 kB / 1.265 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009569/1.874, allocations: 241.3 kB / 1.266 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003517/1.875, allocations: 315.8 kB / 1.266 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01287/1.887, allocations: 6.036 MB / 1.272 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04/1.928, allocations: 40.11 MB / 1.311 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003508/1.931, allocations: 3.066 MB / 1.314 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002486/1.934, allocations: 1.959 MB / 1.316 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/1.934, allocations: 18.91 kB / 1.316 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/1.934, allocations: 50.69 kB / 1.316 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=179): time 3.797e-06/1.934, allocations: 0 / 1.316 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=182): time 0.01057/1.944, allocations: 6.033 MB / 1.322 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/1.944, allocations: 73.72 kB / 1.322 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003124/1.948, allocations: 1.292 MB / 1.323 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005393/1.948, allocations: 54.52 kB / 1.323 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001656/1.95, allocations: 2.234 MB / 1.325 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009643/1.951, allocations: 0.631 MB / 1.326 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/1.951, allocations: 45.31 kB / 1.326 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001823/1.951, allocations: 395.6 kB / 1.326 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002353/1.953, allocations: 1.148 MB / 1.328 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/1.956, allocations: 1.818 MB / 1.329 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001981/1.958, allocations: 1.497 MB / 1.331 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.42e-05/1.958, allocations: 9.625 kB / 1.331 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006702/1.964, allocations: 4.5 MB / 1.335 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/1.965, allocations: 16.41 kB / 1.335 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/1.965, allocations: 21.91 kB / 1.335 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003189/1.968, allocations: 1.579 MB / 1.337 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/1.969, allocations: 347.2 kB / 1.337 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01754/1.986, allocations: 17.01 MB / 1.354 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/1.988, allocations: 114.3 kB / 1.354 GB, free: 159 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002019/1.989, allocations: 95.28 kB / 1.354 GB, free: 159 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,30.6%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003623/1.989, allocations: 236.5 kB / 1.354 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003415/1.989, allocations: 218.4 kB / 1.354 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006079/1.995, allocations: 4.054 MB / 1.358 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/1.996, allocations: 18.47 kB / 1.358 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/1.996, allocations: 15 kB / 1.358 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/1.996, allocations: 11.53 kB / 1.358 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/2.01, allocations: 9.371 MB / 1.368 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/2.01, allocations: 3.75 kB / 1.368 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008043/2.01, allocations: 188.3 kB / 1.368 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003115/2.014, allocations: 1.348 MB / 1.369 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002594/2.014, allocations: 30.88 kB / 1.369 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01587/2.03, allocations: 15.88 MB / 1.385 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/2.03, allocations: 8.562 kB / 1.385 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005776/2.036, allocations: 4.308 MB / 1.389 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/2.037, allocations: 0.5352 MB / 1.389 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000275/2.037, allocations: 31.16 kB / 1.389 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009584/2.038, allocations: 90.19 kB / 1.389 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004213/2.038, allocations: 166.9 kB / 1.39 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/2.039, allocations: 42.78 kB / 1.39 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001173/2.04, allocations: 0.9756 MB / 1.391 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.1e-07/2.04, allocations: 0 / 1.391 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003336/2.043, allocations: 1.034 MB / 1.392 GB, free: 140.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 81 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000287/2.043, allocations: 147.8 kB / 1.392 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005554/2.049, allocations: 4.191 MB / 1.396 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/2.049, allocations: 0 / 1.396 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003599/2.053, allocations: 2.624 MB / 1.398 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/2.056, allocations: 0.6794 MB / 1.399 GB, free: 137 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/2.067, allocations: 6.893 MB / 1.406 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00324/2.07, allocations: 3.664 MB / 1.409 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001449/2.071, allocations: 462.7 kB / 1.41 GB, free: 133 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/2.072, allocations: 116.8 kB / 1.41 GB, free: 133 MB / 0.8698 GB Notification: Performance of SimCode: time 1.082e-06/2.072, allocations: 2.906 kB / 1.41 GB, free: 133 MB / 0.8698 GB Notification: Performance of Templates: time 0.05765/2.129, allocations: 41.14 MB / 1.45 GB, free: 127.9 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches