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_RLC.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_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.457/1.457, allocations: 251.9 MB / 266.9 MB, free: 11 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.001175/0.001174, allocations: 189.5 kB / 326.5 MB, free: 2.223 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.959/1.959, allocations: 205.4 MB / 0.5775 GB, free: 20.53 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.0009355/0.0009358, allocations: 88.05 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.000398, allocations: 8.875 kB / 0.7963 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2617, allocations: 106.3 MB / 0.9001 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.782/1.044, allocations: 178.7 MB / 1.075 GB, free: 152.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/1.044, allocations: 99.25 kB / 1.075 GB, free: 152.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6145/1.659, allocations: 268.9 MB / 1.337 GB, free: 15.66 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.936e-06/1.659, allocations: 0 / 1.337 GB, free: 15.66 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0005398/1.659, allocations: 147.8 kB / 1.337 GB, free: 15.52 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02254/1.682, allocations: 5.138 MB / 1.342 GB, free: 10.31 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/1.682, allocations: 12.03 kB / 1.342 GB, free: 10.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01347/1.695, allocations: 1.499 MB / 1.344 GB, free: 8.793 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01568/1.711, allocations: 4.219 MB / 1.348 GB, free: 4.496 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004892/1.712, allocations: 382.1 kB / 1.348 GB, free: 4.121 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003164/1.715, allocations: 0.4959 MB / 1.349 GB, free: 3.625 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02765/1.742, allocations: 8.369 MB / 1.357 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003129/1.743, allocations: 39.61 kB / 1.357 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002553/1.745, allocations: 231.9 kB / 1.357 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004791/1.746, allocations: 326 kB / 1.358 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01983/1.766, allocations: 6.445 MB / 1.364 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7246/2.49, allocations: 40 MB / 1.403 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006108/2.497, allocations: 2.806 MB / 1.406 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004104/2.497, allocations: 33.22 kB / 1.406 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/2.497, allocations: 59.84 kB / 1.406 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=265): time 5.411e-06/2.497, allocations: 0.875 kB / 1.406 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=424): time 0.2652/2.762, allocations: 64.91 MB / 1.469 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/2.763, allocations: 99.08 kB / 1.469 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00486/2.767, allocations: 1.937 MB / 1.471 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001309/2.769, allocations: 94.42 kB / 1.471 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001873/2.771, allocations: 2.334 MB / 1.474 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002447/2.773, allocations: 1.436 MB / 1.475 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001078/2.774, allocations: 87.94 kB / 1.475 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004045/2.775, allocations: 488.9 kB / 1.475 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005095/2.78, allocations: 2.775 MB / 1.478 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006954/2.787, allocations: 3.735 MB / 1.482 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006312/2.793, allocations: 3.366 MB / 1.485 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-05/2.793, allocations: 7.438 kB / 1.485 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.03112/2.824, allocations: 11.79 MB / 1.497 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.832e-05/2.824, allocations: 20.22 kB / 1.497 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.608e-05/2.824, allocations: 27.75 kB / 1.497 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0179/2.842, allocations: 5.012 MB / 1.502 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002395/2.845, allocations: 0.5044 MB / 1.502 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07348/2.918, allocations: 66.89 MB / 1.567 GB, free: 87.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005127/2.923, allocations: 182.3 kB / 1.568 GB, free: 87.54 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001322/2.925, allocations: 163.5 kB / 1.568 GB, free: 87.39 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * 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 (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006751/2.932, allocations: 2.005 MB / 1.57 GB, free: 85.73 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002015/2.934, allocations: 383.4 kB / 1.57 GB, free: 85.35 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02877/2.962, allocations: 11.55 MB / 1.581 GB, free: 76.12 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.873e-05/2.963, allocations: 43.95 kB / 1.581 GB, free: 76.08 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001911/2.963, allocations: 48 kB / 1.581 GB, free: 76.04 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001128/2.963, allocations: 20.91 kB / 1.581 GB, free: 76.04 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04141/3.004, allocations: 17.9 MB / 1.599 GB, free: 61.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.014e-05/3.004, allocations: 4.938 kB / 1.599 GB, free: 61.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001818/3.006, allocations: 293.5 kB / 1.599 GB, free: 61.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01555/3.022, allocations: 4.513 MB / 1.604 GB, free: 58.18 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000972/3.023, allocations: 83.89 kB / 1.604 GB, free: 58.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06321/3.086, allocations: 64.42 MB / 1.667 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.13e-05/3.086, allocations: 10.53 kB / 1.667 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03426/3.12, allocations: 15.53 MB / 1.682 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004212/3.125, allocations: 0.9765 MB / 1.683 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001575/3.126, allocations: 83.28 kB / 1.683 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003562/3.13, allocations: 177.4 kB / 1.683 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002025/3.132, allocations: 402.7 kB / 1.683 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003687/3.132, allocations: 104 kB / 1.683 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003142/3.135, allocations: 1.46 MB / 1.685 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.2e-07/3.135, allocations: 0 / 1.685 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01092/3.146, allocations: 1.761 MB / 1.687 GB, free: 11.51 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001144/3.147, allocations: 226.6 kB / 1.687 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02418/3.172, allocations: 11.63 MB / 1.698 GB, free: 0.6992 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/3.172, allocations: 0 / 1.698 GB, free: 0.6992 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.02519/3.197, allocations: 8.592 MB / 1.707 GB, free: 9.969 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008638/3.206, allocations: 0.9701 MB / 1.708 GB, free: 9.051 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5316/3.737, allocations: 14.08 MB / 1.721 GB, free: 177.1 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007316/3.745, allocations: 4.185 MB / 1.725 GB, free: 176.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003477/3.748, allocations: 0.6773 MB / 1.726 GB, free: 176.2 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000625/3.749, allocations: 176.3 kB / 1.726 GB, free: 176.2 MB / 0.9011 GB Notification: Performance of SimCode: time 1.794e-06/3.749, allocations: 0 / 1.726 GB, free: 176.2 MB / 0.9011 GB Notification: Performance of Templates: time 0.161/3.91, allocations: 94.87 MB / 1.819 GB, free: 173.9 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches