Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.635/2.635, 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.001083/0.001083, allocations: 176.8 kB / 491.2 MB, free: 1.566 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.701/1.701, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.001051/0.001051, allocations: 87.94 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.848e-05/1.85e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3055, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.013/1.318, allocations: 178.6 MB / 1.387 GB, free: 16.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/1.319, allocations: 93.19 kB / 1.387 GB, free: 16.44 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1821/1.501, allocations: 73.38 MB / 1.458 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.164e-06/1.501, allocations: 0 / 1.458 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001609/1.501, allocations: 43.98 kB / 1.459 GB, free: 7.012 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.005556/1.507, allocations: 1.501 MB / 1.46 GB, free: 5.562 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/1.507, allocations: 8.031 kB / 1.46 GB, free: 5.555 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003668/1.51, allocations: 481.3 kB / 1.46 GB, free: 5.082 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002979/1.513, allocations: 1.149 MB / 1.462 GB, free: 4.145 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/1.514, allocations: 44 kB / 1.462 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007656/1.514, allocations: 87 kB / 1.462 GB, free: 4.02 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004487/1.519, allocations: 1.964 MB / 1.464 GB, free: 2.754 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006399/1.525, allocations: 2.537 MB / 1.466 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.937e-05/1.525, allocations: 3.938 kB / 1.466 GB, free: 0.7891 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004739/1.526, allocations: 7.984 kB / 1.466 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005693/1.526, allocations: 156.1 kB / 1.466 GB, free: 0.6406 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02182/1.548, allocations: 13.76 MB / 1.48 GB, free: 4.172 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/1.551, allocations: 1.296 MB / 1.481 GB, free: 3.246 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/1.552, allocations: 1.074 MB / 1.482 GB, free: 2.172 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.35e-05/1.552, allocations: 20.7 kB / 1.482 GB, free: 2.152 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/1.553, allocations: 39.34 kB / 1.482 GB, free: 2.105 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=82): time 4.168e-06/1.553, allocations: 4 kB / 1.482 GB, free: 2.102 MB / 0.8855 GB Notification: Performance of matching and sorting (n=139): time 0.02689/1.579, allocations: 8.993 MB / 1.491 GB, free: 9.09 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/1.58, allocations: 68.7 kB / 1.491 GB, free: 9.008 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/1.581, allocations: 0.8784 MB / 1.492 GB, free: 8.125 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002886/1.581, allocations: 29.69 kB / 1.492 GB, free: 8.09 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005889/1.582, allocations: 0.7166 MB / 1.492 GB, free: 7.359 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006876/1.583, allocations: 469 kB / 1.493 GB, free: 6.895 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/1.583, allocations: 0 / 1.493 GB, free: 6.895 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002838/1.583, allocations: 422.7 kB / 1.493 GB, free: 6.473 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002107/1.585, allocations: 1.425 MB / 1.495 GB, free: 5.047 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00231/1.588, allocations: 1.714 MB / 1.496 GB, free: 3.227 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004161/1.592, allocations: 1.997 MB / 1.498 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/1.592, allocations: 0 / 1.498 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01203/1.604, allocations: 5.566 MB / 1.504 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/1.604, allocations: 12.56 kB / 1.504 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/1.604, allocations: 8 kB / 1.504 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008167/1.612, allocations: 2.697 MB / 1.506 GB, free: 8.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/1.613, allocations: 219.6 kB / 1.507 GB, free: 8.695 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02472/1.638, allocations: 15.2 MB / 1.522 GB, free: 9.207 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/1.64, allocations: 67.86 kB / 1.522 GB, free: 9.141 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006498/1.641, allocations: 164 kB / 1.522 GB, free: 8.98 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * 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: 2 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0007338/1.641, allocations: 125.4 kB / 1.522 GB, free: 8.852 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005493/1.642, allocations: 114.7 kB / 1.522 GB, free: 8.738 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/1.653, allocations: 5.054 MB / 1.527 GB, free: 3.656 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.507e-05/1.653, allocations: 15.98 kB / 1.527 GB, free: 3.641 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.189e-05/1.653, allocations: 8 kB / 1.527 GB, free: 3.633 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.488e-05/1.653, allocations: 3.984 kB / 1.527 GB, free: 3.629 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01756/1.671, allocations: 8.166 MB / 1.535 GB, free: 11.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-05/1.671, allocations: 4 kB / 1.535 GB, free: 11.35 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005462/1.671, allocations: 119.8 kB / 1.535 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007836/1.679, allocations: 2.52 MB / 1.537 GB, free: 8.699 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002638/1.68, allocations: 47.88 kB / 1.538 GB, free: 8.652 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02134/1.701, allocations: 12.8 MB / 1.55 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.159e-05/1.701, allocations: 11.94 kB / 1.55 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/1.712, allocations: 4.943 MB / 1.555 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/1.713, allocations: 0.601 MB / 1.555 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005648/1.714, allocations: 7.984 kB / 1.555 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/1.715, allocations: 55.83 kB / 1.556 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004889/1.716, allocations: 133 kB / 1.556 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003187/1.716, allocations: 111.9 kB / 1.556 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001324/1.717, allocations: 0.667 MB / 1.556 GB, free: 4.844 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.9e-07/1.717, allocations: 0 / 1.556 GB, free: 4.844 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002995/1.72, allocations: 0.5234 MB / 1.557 GB, free: 4.32 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 58 * 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: 2 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005266/1.721, allocations: 139 kB / 1.557 GB, free: 4.172 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.008039/1.729, allocations: 3.888 MB / 1.561 GB, free: 268 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/1.729, allocations: 7.938 kB / 1.561 GB, free: 260 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.005608/1.735, allocations: 2.29 MB / 1.563 GB, free: 13.95 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/1.736, allocations: 156.2 kB / 1.563 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/1.747, allocations: 3.24 MB / 1.566 GB, free: 10.47 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003148/1.75, allocations: 1.701 MB / 1.568 GB, free: 8.738 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.00199/1.752, allocations: 397 kB / 1.568 GB, free: 8.348 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000482/1.752, allocations: 67.41 kB / 1.568 GB, free: 8.281 MB / 0.9792 GB Notification: Performance of SimCode: time 1.754e-06/1.752, allocations: 0 / 1.568 GB, free: 8.281 MB / 0.9792 GB Notification: Performance of Templates: time 0.08441/1.837, allocations: 37.93 MB / 1.606 GB, free: 2.41 MB / 1.01 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches