Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.26/2.26, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001833/0.001833, allocations: 180.9 kB / 496.1 MB, free: 12.86 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.484/1.484, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.001141/0.001141, allocations: 91.91 kB / 0.9317 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.319e-05/3.34e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3186, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.244/1.563, allocations: 183.2 MB / 1.398 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003906/1.563, allocations: 93 kB / 1.398 GB, free: 4.477 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.5088/2.072, allocations: 193.4 MB / 1.587 GB, free: 7.656 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.156e-06/2.072, allocations: 0 / 1.587 GB, free: 7.656 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.000708/2.073, allocations: 127.9 kB / 1.587 GB, free: 7.531 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01876/2.092, allocations: 4.152 MB / 1.591 GB, free: 3.316 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 6.123e-05/2.092, allocations: 8.031 kB / 1.591 GB, free: 3.309 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008113/2.1, allocations: 1.012 MB / 1.592 GB, free: 2.289 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01224/2.112, allocations: 3.217 MB / 1.595 GB, free: 15.01 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007643/2.113, allocations: 361.6 kB / 1.595 GB, free: 14.66 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004043/2.117, allocations: 472 kB / 1.596 GB, free: 14.2 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02615/2.143, allocations: 7.414 MB / 1.603 GB, free: 6.316 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003611/2.144, allocations: 27.7 kB / 1.603 GB, free: 6.289 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002921/2.147, allocations: 219.9 kB / 1.603 GB, free: 6.074 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004464/2.147, allocations: 265.2 kB / 1.603 GB, free: 5.812 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01528/2.162, allocations: 5.303 MB / 1.609 GB, free: 0.4961 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07097/2.233, allocations: 36.26 MB / 1.644 GB, free: 9.008 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006212/2.24, allocations: 2.121 MB / 1.646 GB, free: 6.871 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003253/2.243, allocations: 1.455 MB / 1.648 GB, free: 5.414 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000202/2.243, allocations: 21.31 kB / 1.648 GB, free: 5.391 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.203e-05/2.243, allocations: 63.8 kB / 1.648 GB, free: 5.32 MB / 1.104 GB Notification: Performance of pre-optimization done (n=157): time 5.38e-06/2.243, allocations: 0 / 1.648 GB, free: 5.32 MB / 1.104 GB Notification: Performance of matching and sorting (n=160): time 0.0145/2.258, allocations: 4.969 MB / 1.653 GB, free: 304 kB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.387e-05/2.258, allocations: 72.72 kB / 1.653 GB, free: 216 kB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004475/2.262, allocations: 1.539 MB / 1.654 GB, free: 14.64 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.0002047/2.263, allocations: 53.7 kB / 1.654 GB, free: 14.59 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.002229/2.265, allocations: 2.096 MB / 1.656 GB, free: 12.46 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008186/2.266, allocations: 0.5507 MB / 1.657 GB, free: 11.91 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/2.266, allocations: 48 kB / 1.657 GB, free: 11.86 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0002778/2.266, allocations: 390 kB / 1.657 GB, free: 11.47 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/2.269, allocations: 0.9921 MB / 1.658 GB, free: 10.48 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003126/2.272, allocations: 1.717 MB / 1.66 GB, free: 8.422 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003043/2.275, allocations: 1.289 MB / 1.661 GB, free: 7.133 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.85e-05/2.275, allocations: 8 kB / 1.661 GB, free: 7.125 MB / 1.12 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.009884/2.285, allocations: 3.768 MB / 1.665 GB, free: 3.309 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 4.882e-05/2.285, allocations: 16 kB / 1.665 GB, free: 3.293 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.79e-05/2.285, allocations: 24 kB / 1.665 GB, free: 3.27 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003325/2.288, allocations: 0.9156 MB / 1.666 GB, free: 2.316 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002477/2.291, allocations: 415.3 kB / 1.666 GB, free: 1.91 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02827/2.319, allocations: 21 MB / 1.687 GB, free: 11.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003474/2.323, allocations: 119.9 kB / 1.687 GB, free: 11.19 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006049/2.323, allocations: 92.06 kB / 1.687 GB, free: 11.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001006/2.324, allocations: 244.3 kB / 1.687 GB, free: 10.85 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/2.325, allocations: 257.1 kB / 1.687 GB, free: 10.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00883/2.334, allocations: 3.217 MB / 1.69 GB, free: 7.328 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.859e-05/2.334, allocations: 16 kB / 1.69 GB, free: 7.312 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.734e-05/2.334, allocations: 16 kB / 1.69 GB, free: 7.297 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.622e-05/2.334, allocations: 7.969 kB / 1.69 GB, free: 7.289 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8496/3.184, allocations: 7.476 MB / 1.698 GB, free: 289.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.034e-05/3.184, allocations: 5.312 kB / 1.698 GB, free: 289.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/3.185, allocations: 222.8 kB / 1.698 GB, free: 289.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002994/3.188, allocations: 0.8738 MB / 1.699 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003214/3.189, allocations: 32.31 kB / 1.699 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0204/3.209, allocations: 20.96 MB / 1.719 GB, free: 275 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/3.209, allocations: 9.297 kB / 1.719 GB, free: 275 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006804/3.216, allocations: 3.668 MB / 1.723 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/3.218, allocations: 0.5253 MB / 1.723 GB, free: 274 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00033/3.218, allocations: 33.47 kB / 1.723 GB, free: 274 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/3.219, allocations: 97.69 kB / 1.724 GB, free: 274 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006038/3.22, allocations: 140.4 kB / 1.724 GB, free: 274 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/3.22, allocations: 44.59 kB / 1.724 GB, free: 274 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002061/3.222, allocations: 1.161 MB / 1.725 GB, free: 273.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.3e-07/3.222, allocations: 4.875 kB / 1.725 GB, free: 273.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003772/3.226, allocations: 0.9315 MB / 1.726 GB, free: 273.9 MB / 1.151 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003527/3.226, allocations: 161.2 kB / 1.726 GB, free: 273.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.007401/3.234, allocations: 4.28 MB / 1.73 GB, free: 272.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/3.234, allocations: 2.75 kB / 1.73 GB, free: 272.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0047/3.238, allocations: 2.949 MB / 1.733 GB, free: 271 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004308/3.243, allocations: 0.7148 MB / 1.734 GB, free: 271 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/3.259, allocations: 5.982 MB / 1.74 GB, free: 269.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007456/3.266, allocations: 3.293 MB / 1.743 GB, free: 268.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003438/3.27, allocations: 0.5174 MB / 1.743 GB, free: 268.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005546/3.27, allocations: 141.9 kB / 1.743 GB, free: 268.7 MB / 1.151 GB Notification: Performance of SimCode: time 2.184e-06/3.27, allocations: 1.094 kB / 1.743 GB, free: 268.7 MB / 1.151 GB Notification: Performance of Templates: time 0.09155/3.362, allocations: 38.85 MB / 1.781 GB, free: 267.7 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches