Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.194/2.194, allocations: 390.5 MB / 398 MB, free: 10.9 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.001118/0.001118, allocations: 176.8 kB / 491.2 MB, free: 1.566 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.712/1.712, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.001187/0.001187, allocations: 103.9 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.994e-05/2.03e-05, allocations: 3.984 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.412, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.205/1.617, allocations: 218.7 MB / 1.426 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004742/1.617, allocations: 96.5 kB / 1.426 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.3326/1.95, allocations: 123.1 MB / 1.546 GB, free: 1.125 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.974e-06/1.95, allocations: 0 / 1.546 GB, free: 1.125 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002109/1.95, allocations: 36 kB / 1.546 GB, free: 1.09 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00526/1.956, allocations: 1.606 MB / 1.548 GB, free: 15.43 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/1.956, allocations: 12.03 kB / 1.548 GB, free: 15.42 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0118/1.968, allocations: 1.878 MB / 1.55 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004575/1.972, allocations: 1.22 MB / 1.551 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/1.972, allocations: 36 kB / 1.551 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007455/1.973, allocations: 71.91 kB / 1.551 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004459/1.978, allocations: 1.696 MB / 1.553 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005526/1.983, allocations: 2.069 MB / 1.555 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.511e-05/1.983, allocations: 7.938 kB / 1.555 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003465/1.984, allocations: 4 kB / 1.555 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001356/1.984, allocations: 82.3 kB / 1.555 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01834/2.002, allocations: 10.43 MB / 1.565 GB, free: 13.1 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002768/2.005, allocations: 1.67 MB / 1.567 GB, free: 11.36 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/2.006, allocations: 0.8712 MB / 1.567 GB, free: 10.49 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 6.831e-05/2.006, allocations: 12.78 kB / 1.567 GB, free: 10.48 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.98e-05/2.006, allocations: 47.34 kB / 1.567 GB, free: 10.43 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=89): time 3.316e-06/2.006, allocations: 0 / 1.567 GB, free: 10.43 MB / 0.9792 GB Notification: Performance of matching and sorting (n=131): time 0.01402/2.02, allocations: 5.709 MB / 1.573 GB, free: 4.668 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/2.02, allocations: 222.9 kB / 1.573 GB, free: 4.402 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/2.022, allocations: 0.7662 MB / 1.574 GB, free: 3.625 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001802/2.022, allocations: 29.7 kB / 1.574 GB, free: 3.59 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.00062/2.023, allocations: 0.7105 MB / 1.575 GB, free: 2.871 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005011/2.023, allocations: 437.4 kB / 1.575 GB, free: 2.438 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/2.023, allocations: 0 / 1.575 GB, free: 2.438 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001733/2.023, allocations: 353.9 kB / 1.575 GB, free: 2.086 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/2.025, allocations: 0.928 MB / 1.576 GB, free: 1.156 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/2.026, allocations: 1.187 MB / 1.578 GB, free: 15.87 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/2.028, allocations: 1.084 MB / 1.579 GB, free: 14.79 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/2.028, allocations: 0 / 1.579 GB, free: 14.79 MB / 0.9948 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.008379/2.037, allocations: 3.62 MB / 1.582 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/2.037, allocations: 8 kB / 1.582 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/2.037, allocations: 4 kB / 1.582 GB, free: 11.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006502/2.043, allocations: 1.572 MB / 1.584 GB, free: 9.488 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002175/2.045, allocations: 439.2 kB / 1.584 GB, free: 9.059 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02528/2.071, allocations: 23.89 MB / 1.607 GB, free: 15.66 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002748/2.073, allocations: 291.5 kB / 1.608 GB, free: 15.38 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/2.074, allocations: 63.95 kB / 1.608 GB, free: 15.31 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003904/2.074, allocations: 133.7 kB / 1.608 GB, free: 15.18 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/2.074, allocations: 150.3 kB / 1.608 GB, free: 15.03 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008423/2.083, allocations: 3.663 MB / 1.612 GB, free: 11.31 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/2.083, allocations: 16 kB / 1.612 GB, free: 11.3 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.5e-05/2.083, allocations: 12 kB / 1.612 GB, free: 11.29 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/2.083, allocations: 11.97 kB / 1.612 GB, free: 11.27 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/2.095, allocations: 5.949 MB / 1.617 GB, free: 5.18 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/2.095, allocations: 4.031 kB / 1.617 GB, free: 5.176 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001926/2.097, allocations: 395.2 kB / 1.618 GB, free: 4.789 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005802/2.103, allocations: 1.478 MB / 1.619 GB, free: 3.27 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002125/2.103, allocations: 19.97 kB / 1.619 GB, free: 3.25 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02342/2.127, allocations: 22.91 MB / 1.642 GB, free: 10.84 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.221e-05/2.127, allocations: 12 kB / 1.642 GB, free: 10.83 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007983/2.135, allocations: 3.612 MB / 1.645 GB, free: 7.074 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/2.136, allocations: 455.1 kB / 1.646 GB, free: 6.609 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002375/2.136, allocations: 8 kB / 1.646 GB, free: 6.602 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002033/2.138, allocations: 295.5 kB / 1.646 GB, free: 6.312 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004341/2.139, allocations: 129 kB / 1.646 GB, free: 6.188 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/2.139, allocations: 47.97 kB / 1.646 GB, free: 6.141 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0008729/2.14, allocations: 0.58 MB / 1.647 GB, free: 5.555 MB / 1.057 GB Notification: Performance of sort global known variables: time 3.61e-07/2.14, allocations: 0 / 1.647 GB, free: 5.555 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.002483/2.142, allocations: 0.5391 MB / 1.647 GB, free: 5.016 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003997/2.143, allocations: 149.1 kB / 1.647 GB, free: 4.863 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.006605/2.149, allocations: 4.15 MB / 1.651 GB, free: 0.582 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/2.149, allocations: 0 / 1.651 GB, free: 0.582 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.004943/2.154, allocations: 3.002 MB / 1.654 GB, free: 13.45 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/2.157, allocations: 433.9 kB / 1.655 GB, free: 13.04 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005448/2.162, allocations: 2.809 MB / 1.657 GB, free: 10.16 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/2.163, allocations: 1.508 MB / 1.659 GB, free: 8.617 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.001825/2.165, allocations: 408.1 kB / 1.659 GB, free: 8.215 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003854/2.166, allocations: 103.4 kB / 1.659 GB, free: 8.113 MB / 1.073 GB Notification: Performance of SimCode: time 1.202e-06/2.166, allocations: 0 / 1.659 GB, free: 8.113 MB / 1.073 GB Notification: Performance of Templates: time 0.0621/2.228, allocations: 34.63 MB / 1.693 GB, free: 5.832 MB / 1.104 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches