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_R_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_R_N,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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.417/1.417, allocations: 249.5 MB / 257 MB, free: 6.887 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.001038/0.001038, allocations: 173 kB / 316.3 MB, free: 3.309 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.267/1.267, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0007996/0.0007995, allocations: 92.28 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.646e-05/1.651e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1855, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6046/0.7902, allocations: 165.4 MB / 1.047 GB, free: 6.078 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.7905, allocations: 96.19 kB / 1.047 GB, free: 6.027 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.4595/1.25, allocations: 200.4 MB / 1.243 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.563e-06/1.25, allocations: 0 / 1.243 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000263/1.25, allocations: 144 kB / 1.243 GB, free: 5.586 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01176/1.262, allocations: 4.874 MB / 1.248 GB, free: 0.6445 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/1.262, allocations: 12.03 kB / 1.248 GB, free: 0.6328 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4572/1.719, allocations: 1.124 MB / 1.249 GB, free: 190 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009955/1.729, allocations: 3.686 MB / 1.252 GB, free: 189.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006016/1.73, allocations: 188.5 kB / 1.252 GB, free: 189.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003431/1.733, allocations: 330.9 kB / 1.253 GB, free: 189.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01525/1.749, allocations: 5.691 MB / 1.258 GB, free: 189.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02056/1.769, allocations: 7.858 MB / 1.266 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001393/1.77, allocations: 19.36 kB / 1.266 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000595/1.77, allocations: 15.2 kB / 1.266 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000331/1.77, allocations: 299.9 kB / 1.266 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0381/1.809, allocations: 40.26 MB / 1.306 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00427/1.813, allocations: 2.978 MB / 1.308 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002346/1.815, allocations: 2.06 MB / 1.31 GB, free: 162 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/1.815, allocations: 22.72 kB / 1.311 GB, free: 162 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/1.815, allocations: 57.81 kB / 1.311 GB, free: 162 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=209): time 4.398e-06/1.815, allocations: 1.5 kB / 1.311 GB, free: 162 MB / 0.8542 GB Notification: Performance of matching and sorting (n=212): time 0.00976/1.825, allocations: 6.31 MB / 1.317 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/1.825, allocations: 74.72 kB / 1.317 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/1.827, allocations: 1.321 MB / 1.318 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001246/1.827, allocations: 29.11 kB / 1.318 GB, free: 160.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008807/1.828, allocations: 2.389 MB / 1.32 GB, free: 159.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004214/1.828, allocations: 0.7023 MB / 1.321 GB, free: 158.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/1.828, allocations: 7.625 kB / 1.321 GB, free: 158.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.829, allocations: 405.9 kB / 1.322 GB, free: 158.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/1.83, allocations: 1.243 MB / 1.323 GB, free: 158.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/1.832, allocations: 2.017 MB / 1.325 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/1.834, allocations: 1.61 MB / 1.326 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/1.834, allocations: 7.688 kB / 1.326 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.00605/1.84, allocations: 4.596 MB / 1.331 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/1.84, allocations: 15.41 kB / 1.331 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.631e-05/1.84, allocations: 28.34 kB / 1.331 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00276/1.843, allocations: 1.386 MB / 1.332 GB, free: 157.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/1.844, allocations: 443.5 kB / 1.333 GB, free: 157.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01584/1.86, allocations: 16.46 MB / 1.349 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002355/1.862, allocations: 96.39 kB / 1.349 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002257/1.862, allocations: 107.4 kB / 1.349 GB, free: 148.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004451/1.863, allocations: 172.4 kB / 1.349 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004004/1.863, allocations: 268.1 kB / 1.349 GB, free: 148.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005904/1.869, allocations: 4.179 MB / 1.353 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/1.869, allocations: 18.5 kB / 1.353 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/1.869, allocations: 18.22 kB / 1.353 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.735e-05/1.869, allocations: 7.594 kB / 1.353 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/1.882, allocations: 8.544 MB / 1.362 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.016e-06/1.882, allocations: 3.562 kB / 1.362 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009567/1.883, allocations: 238.5 kB / 1.362 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002665/1.885, allocations: 1.367 MB / 1.363 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/1.885, allocations: 13.39 kB / 1.363 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01598/1.901, allocations: 16.41 MB / 1.379 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/1.901, allocations: 8.188 kB / 1.379 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005985/1.907, allocations: 4.613 MB / 1.384 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/1.909, allocations: 0.599 MB / 1.384 GB, free: 131 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003351/1.909, allocations: 9.469 kB / 1.384 GB, free: 131 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/1.91, allocations: 75.91 kB / 1.385 GB, free: 131 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004751/1.911, allocations: 186.3 kB / 1.385 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/1.911, allocations: 60.25 kB / 1.385 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001214/1.912, allocations: 0.9668 MB / 1.386 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.81e-07/1.912, allocations: 3.875 kB / 1.386 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003467/1.916, allocations: 1.054 MB / 1.387 GB, free: 130.5 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003229/1.916, allocations: 126.3 kB / 1.387 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006095/1.922, allocations: 4.33 MB / 1.391 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.922, allocations: 10.2 kB / 1.391 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00376/1.926, allocations: 2.749 MB / 1.394 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003254/1.929, allocations: 0.6859 MB / 1.394 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/1.941, allocations: 7.354 MB / 1.402 GB, free: 124.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003435/1.944, allocations: 3.783 MB / 1.405 GB, free: 123 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002071/1.947, allocations: 0.5237 MB / 1.406 GB, free: 123 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003398/1.947, allocations: 134.3 kB / 1.406 GB, free: 123 MB / 0.8542 GB Notification: Performance of SimCode: time 1.203e-06/1.947, allocations: 2.438 kB / 1.406 GB, free: 123 MB / 0.8542 GB Notification: Performance of Templates: time 0.06599/2.013, allocations: 43.71 MB / 1.449 GB, free: 106.4 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches