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.353/1.353, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001081/0.001082, allocations: 174.7 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.4 MB / 0.5775 GB, free: 20.51 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.0008025/0.0008026, allocations: 90.39 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003489, allocations: 12.5 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2686, allocations: 106.3 MB / 0.9001 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7912/1.06, allocations: 164.8 MB / 1.061 GB, free: 154.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003694/1.06, allocations: 96.67 kB / 1.061 GB, free: 154.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4254/1.486, allocations: 200.1 MB / 1.257 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.486e-06/1.486, allocations: 0 / 1.257 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004314/1.486, allocations: 139.9 kB / 1.257 GB, free: 2.84 MB / 0.7292 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.01812/1.504, allocations: 4.749 MB / 1.261 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/1.504, allocations: 8.031 kB / 1.261 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008901/1.513, allocations: 1.055 MB / 1.262 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01176/1.525, allocations: 3.407 MB / 1.266 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005276/1.526, allocations: 415.1 kB / 1.266 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003303/1.529, allocations: 0.5388 MB / 1.267 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02584/1.555, allocations: 8.589 MB / 1.275 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003063/1.555, allocations: 27.72 kB / 1.275 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001406/1.557, allocations: 244 kB / 1.275 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004106/1.557, allocations: 318.7 kB / 1.276 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01704/1.574, allocations: 6.144 MB / 1.282 GB, free: 8.793 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06311/1.637, allocations: 40.1 MB / 1.321 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004306/1.642, allocations: 3.094 MB / 1.324 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/1.642, allocations: 18 kB / 1.324 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.155e-05/1.642, allocations: 56.5 kB / 1.324 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=179): time 5.61e-06/1.642, allocations: 0 / 1.324 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of matching and sorting (n=182): time 0.02578/1.668, allocations: 9.871 MB / 1.333 GB, free: 15.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/1.668, allocations: 69.41 kB / 1.334 GB, free: 15.62 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/1.67, allocations: 1.306 MB / 1.335 GB, free: 14.27 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001992/1.67, allocations: 49.7 kB / 1.335 GB, free: 14.22 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001845/1.672, allocations: 2.249 MB / 1.337 GB, free: 11.94 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007788/1.673, allocations: 0.6238 MB / 1.338 GB, free: 11.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/1.673, allocations: 44 kB / 1.338 GB, free: 11.26 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002309/1.673, allocations: 398.3 kB / 1.338 GB, free: 10.87 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/1.675, allocations: 1.168 MB / 1.339 GB, free: 9.695 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/1.677, allocations: 1.851 MB / 1.341 GB, free: 7.535 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/1.679, allocations: 1.497 MB / 1.342 GB, free: 6.035 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/1.679, allocations: 11.94 kB / 1.342 GB, free: 6.023 MB / 0.823 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.008279/1.688, allocations: 4.535 MB / 1.347 GB, free: 1.465 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/1.688, allocations: 17.98 kB / 1.347 GB, free: 1.449 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-05/1.688, allocations: 24 kB / 1.347 GB, free: 1.426 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003783/1.692, allocations: 1.585 MB / 1.349 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/1.693, allocations: 351.4 kB / 1.349 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02344/1.716, allocations: 17.7 MB / 1.366 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002504/1.719, allocations: 115.9 kB / 1.366 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002468/1.719, allocations: 95.98 kB / 1.366 GB, free: 13.05 MB / 0.8542 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 () * Number of clocked 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.004994/1.724, allocations: 1.891 MB / 1.368 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007217/1.725, allocations: 225.4 kB / 1.368 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007531/1.732, allocations: 4.083 MB / 1.372 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.223e-05/1.732, allocations: 23.95 kB / 1.372 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.502e-05/1.733, allocations: 16 kB / 1.372 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/1.733, allocations: 7.969 kB / 1.372 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6402/2.373, allocations: 9.396 MB / 1.382 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/2.373, allocations: 6.062 kB / 1.382 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009072/2.374, allocations: 186.4 kB / 1.382 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003855/2.378, allocations: 1.345 MB / 1.383 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002393/2.378, allocations: 40.27 kB / 1.383 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.024/2.402, allocations: 16.53 MB / 1.399 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.737e-06/2.402, allocations: 8.484 kB / 1.399 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007374/2.409, allocations: 4.351 MB / 1.404 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001669/2.411, allocations: 0.5314 MB / 1.404 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003156/2.411, allocations: 39.7 kB / 1.404 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009469/2.412, allocations: 84.83 kB / 1.404 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006805/2.413, allocations: 164.3 kB / 1.404 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001926/2.413, allocations: 46.66 kB / 1.404 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001514/2.415, allocations: 0.9899 MB / 1.405 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.81e-07/2.415, allocations: 1.875 kB / 1.405 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003792/2.418, allocations: 1.034 MB / 1.406 GB, free: 180.1 MB / 0.8542 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 () * Number of clocked 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.0003431/2.419, allocations: 159.1 kB / 1.406 GB, free: 180 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006081/2.425, allocations: 4.263 MB / 1.411 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/2.425, allocations: 0 / 1.411 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004107/2.429, allocations: 2.668 MB / 1.413 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/2.432, allocations: 0.6723 MB / 1.414 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/2.449, allocations: 10.51 MB / 1.424 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004363/2.453, allocations: 3.665 MB / 1.428 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002061/2.455, allocations: 464.5 kB / 1.428 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/2.455, allocations: 119.1 kB / 1.428 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of SimCode: time 2.845e-06/2.455, allocations: 0 / 1.428 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.07794/2.533, allocations: 41.14 MB / 1.469 GB, free: 172 MB / 0.8542 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