Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,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_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.295/2.295, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001157/0.001157, allocations: 183.9 kB / 0.4902 GB, free: 2.23 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.592/1.592, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0009853/0.0009855, allocations: 90.17 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003439, allocations: 10.81 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3065, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2276/0.5341, allocations: 176.7 MB / 1.402 GB, free: 8.828 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000423/0.5346, allocations: 99.92 kB / 1.402 GB, free: 8.73 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.8111/1.346, allocations: 56.16 MB / 1.457 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.974e-06/1.346, allocations: 0 / 1.457 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.807e-05/1.346, allocations: 24.59 kB / 1.457 GB, free: 179.3 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001866/1.348, allocations: 0.9547 MB / 1.458 GB, free: 178.6 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/1.348, allocations: 9.469 kB / 1.458 GB, free: 178.6 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/1.349, allocations: 225.8 kB / 1.458 GB, free: 178.5 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/1.351, allocations: 0.5433 MB / 1.458 GB, free: 178.1 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.694e-05/1.351, allocations: 44.75 kB / 1.458 GB, free: 178.1 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/1.351, allocations: 65.66 kB / 1.459 GB, free: 178.1 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/1.352, allocations: 1.089 MB / 1.46 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/1.352, allocations: 15.59 kB / 1.46 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.658e-05/1.352, allocations: 28.47 kB / 1.46 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000118/1.353, allocations: 57.5 kB / 1.46 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009805/1.354, allocations: 0.6938 MB / 1.46 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003711/1.357, allocations: 5.783 MB / 1.466 GB, free: 172.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006809/1.358, allocations: 0.5921 MB / 1.467 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/1.358, allocations: 3.719 kB / 1.467 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/1.358, allocations: 46.88 kB / 1.467 GB, free: 172.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=41): time 2.675e-06/1.358, allocations: 0 / 1.467 GB, free: 172.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=42): time 0.003434/1.361, allocations: 1.904 MB / 1.469 GB, free: 171.2 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/1.361, allocations: 53.97 kB / 1.469 GB, free: 171.1 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003314/1.362, allocations: 404.7 kB / 1.469 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/1.362, allocations: 29.7 kB / 1.469 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/1.362, allocations: 390.9 kB / 1.469 GB, free: 170.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.361e-05/1.362, allocations: 147.5 kB / 1.469 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/1.362, allocations: 11.62 kB / 1.47 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.719e-05/1.362, allocations: 369.1 kB / 1.47 GB, free: 170 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/1.363, allocations: 222.1 kB / 1.47 GB, free: 169.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/1.363, allocations: 416 kB / 1.47 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/1.363, allocations: 295.6 kB / 1.471 GB, free: 169.4 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.363, allocations: 0 / 1.471 GB, free: 169.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001341/1.365, allocations: 0.9615 MB / 1.472 GB, free: 168.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/1.365, allocations: 9.469 kB / 1.472 GB, free: 168.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.365, allocations: 8.031 kB / 1.472 GB, free: 168.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000789/1.365, allocations: 267.3 kB / 1.472 GB, free: 168.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/1.366, allocations: 90.64 kB / 1.472 GB, free: 168.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004663/1.37, allocations: 6.755 MB / 1.479 GB, free: 162.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/1.371, allocations: 34.31 kB / 1.479 GB, free: 162.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/1.371, allocations: 23.59 kB / 1.479 GB, free: 162.4 MB / 0.9167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 47 * 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 {(2,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002647/1.371, allocations: 246.8 kB / 1.479 GB, free: 162.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.437e-05/1.371, allocations: 60.62 kB / 1.479 GB, free: 162.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/1.372, allocations: 0.8363 MB / 1.48 GB, free: 161.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.372, allocations: 3.75 kB / 1.48 GB, free: 161.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.372, allocations: 3.688 kB / 1.48 GB, free: 161.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/1.372, allocations: 3.984 kB / 1.48 GB, free: 161.6 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/1.375, allocations: 1.75 MB / 1.482 GB, free: 160.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/1.375, allocations: 0 / 1.482 GB, free: 160.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/1.375, allocations: 44.56 kB / 1.482 GB, free: 160.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006731/1.376, allocations: 252.5 kB / 1.482 GB, free: 160.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/1.376, allocations: 15.86 kB / 1.482 GB, free: 160.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004243/1.38, allocations: 6.451 MB / 1.488 GB, free: 154.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.38, allocations: 0 / 1.488 GB, free: 154.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/1.381, allocations: 0.977 MB / 1.489 GB, free: 153.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/1.381, allocations: 165.4 kB / 1.489 GB, free: 153.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.804e-05/1.381, allocations: 15.38 kB / 1.489 GB, free: 153.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/1.382, allocations: 23.34 kB / 1.489 GB, free: 153.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8e-05/1.382, allocations: 42.94 kB / 1.489 GB, free: 153.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/1.382, allocations: 11.31 kB / 1.489 GB, free: 153.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002847/1.382, allocations: 313.6 kB / 1.49 GB, free: 153 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.5e-07/1.382, allocations: 3.938 kB / 1.49 GB, free: 153 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007368/1.383, allocations: 188.3 kB / 1.49 GB, free: 153 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (27): * Single equations (assignments): 23 * 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 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00018/1.383, allocations: 119 kB / 1.49 GB, free: 152.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001437/1.384, allocations: 1.13 MB / 1.491 GB, free: 152.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.384, allocations: 0 / 1.491 GB, free: 152.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008134/1.385, allocations: 0.7995 MB / 1.492 GB, free: 151.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007526/1.386, allocations: 172.4 kB / 1.492 GB, free: 151.1 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/1.388, allocations: 1.462 MB / 1.493 GB, free: 149.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/1.388, allocations: 1.004 MB / 1.494 GB, free: 148.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002692/1.389, allocations: 109.1 kB / 1.494 GB, free: 148.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.925e-05/1.389, allocations: 43.38 kB / 1.495 GB, free: 148.4 MB / 0.9167 GB Notification: Performance of SimCode: time 2.2e-07/1.389, allocations: 0 / 1.495 GB, free: 148.4 MB / 0.9167 GB Notification: Performance of Templates: time 0.01282/1.401, allocations: 8.658 MB / 1.503 GB, free: 139.8 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches