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.428/1.428, allocations: 249.3 MB / 261.8 MB, free: 5.848 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.001014/0.001014, allocations: 169 kB / 321.3 MB, free: 14.63 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.253/1.253, allocations: 205.1 MB / 0.572 GB, free: 10.66 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.0008389/0.0008389, allocations: 82.55 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.882e-05/2.899e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1561, allocations: 106.3 MB / 0.8918 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5921/0.7482, allocations: 165.2 MB / 1.053 GB, free: 3.332 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/0.7485, allocations: 96.94 kB / 1.053 GB, free: 3.281 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.5222/1.271, allocations: 201.3 MB / 1.25 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.103e-06/1.271, allocations: 0 / 1.25 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003182/1.271, allocations: 148 kB / 1.25 GB, free: 14.05 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01301/1.284, allocations: 4.874 MB / 1.255 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/1.284, allocations: 8.031 kB / 1.255 GB, free: 9.105 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007132/1.291, allocations: 1.136 MB / 1.256 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008988/1.3, allocations: 3.685 MB / 1.259 GB, free: 4.223 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003673/1.301, allocations: 427.6 kB / 1.26 GB, free: 3.805 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002226/1.303, allocations: 0.5546 MB / 1.26 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4601/1.763, allocations: 8.707 MB / 1.269 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001767/1.763, allocations: 20.52 kB / 1.269 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007797/1.764, allocations: 258.3 kB / 1.269 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003315/1.764, allocations: 299.6 kB / 1.269 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01406/1.779, allocations: 6.325 MB / 1.276 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05354/1.832, allocations: 41.45 MB / 1.316 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004488/1.837, allocations: 3.08 MB / 1.319 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003105/1.84, allocations: 2.127 MB / 1.321 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/1.84, allocations: 30.06 kB / 1.321 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.478e-05/1.84, allocations: 57.28 kB / 1.321 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=209): time 4.228e-06/1.84, allocations: 3.344 kB / 1.321 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=212): time 0.01247/1.853, allocations: 6.582 MB / 1.328 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/1.853, allocations: 74.56 kB / 1.328 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/1.855, allocations: 1.65 MB / 1.329 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002045/1.855, allocations: 70.39 kB / 1.329 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001173/1.856, allocations: 2.366 MB / 1.332 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005379/1.857, allocations: 0.7322 MB / 1.332 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/1.857, allocations: 52.41 kB / 1.332 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.857, allocations: 411.9 kB / 1.333 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/1.859, allocations: 1.293 MB / 1.334 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001806/1.86, allocations: 2.09 MB / 1.336 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/1.862, allocations: 1.663 MB / 1.338 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/1.862, allocations: 7.406 kB / 1.338 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.006999/1.869, allocations: 4.92 MB / 1.343 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/1.869, allocations: 15.34 kB / 1.343 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.145e-05/1.869, allocations: 28.34 kB / 1.343 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002943/1.872, allocations: 1.524 MB / 1.344 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/1.874, allocations: 441.5 kB / 1.345 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0168/1.891, allocations: 16.97 MB / 1.361 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/1.893, allocations: 148.2 kB / 1.361 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002359/1.893, allocations: 113.5 kB / 1.361 GB, free: 157.5 MB / 0.8698 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,72.2%) 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.0004512/1.894, allocations: 258.1 kB / 1.362 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000458/1.894, allocations: 285 kB / 1.362 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00616/1.9, allocations: 4.404 MB / 1.366 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/1.901, allocations: 28.66 kB / 1.366 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/1.901, allocations: 17.62 kB / 1.366 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/1.901, allocations: 9.703 kB / 1.366 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/1.914, allocations: 9.602 MB / 1.376 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/1.914, allocations: 3.844 kB / 1.376 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009367/1.915, allocations: 235.8 kB / 1.376 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002741/1.917, allocations: 1.398 MB / 1.377 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/1.918, allocations: 39.62 kB / 1.377 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01708/1.935, allocations: 16.97 MB / 1.394 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.935, allocations: 6.438 kB / 1.394 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00734/1.942, allocations: 4.83 MB / 1.399 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002001/1.944, allocations: 0.6328 MB / 1.399 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003482/1.944, allocations: 41.62 kB / 1.399 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/1.946, allocations: 118.5 kB / 1.399 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005321/1.946, allocations: 182.7 kB / 1.4 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/1.946, allocations: 61.06 kB / 1.4 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001485/1.948, allocations: 1.239 MB / 1.401 GB, free: 138 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/1.948, allocations: 0 / 1.401 GB, free: 138 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003594/1.951, allocations: 1.177 MB / 1.402 GB, free: 137.9 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 (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.0003163/1.952, allocations: 174.4 kB / 1.402 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005917/1.958, allocations: 4.537 MB / 1.407 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.301e-06/1.958, allocations: 3.859 kB / 1.407 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003798/1.961, allocations: 2.858 MB / 1.409 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/1.965, allocations: 0.7663 MB / 1.41 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/1.977, allocations: 7.455 MB / 1.417 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003491/1.98, allocations: 3.786 MB / 1.421 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002021/1.982, allocations: 0.5468 MB / 1.422 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003392/1.983, allocations: 147.6 kB / 1.422 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.243e-06/1.983, allocations: 2.969 kB / 1.422 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.0651/2.048, allocations: 47.56 MB / 1.468 GB, free: 114.4 MB / 0.8698 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