Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E.vPhase.1..S.1.|E.vPhase.1..S.2.|E.vPhase.2..S.1.|E.vPhase.2..S.2.|E.vPhase.3..S.1.|E.vPhase.3..S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E.vPhase.1..S.1.|E.vPhase.1..S.2.|E.vPhase.2..S.1.|E.vPhase.2..S.2.|E.vPhase.3..S.1.|E.vPhase.3..S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.236/2.236, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001845/0.001845, allocations: 180 kB / 0.4902 GB, free: 2.238 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.679/1.679, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.00099/0.0009898, allocations: 96.27 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003725, allocations: 10.25 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.338, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.073/1.411, allocations: 204.3 MB / 1.429 GB, free: 191.8 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/1.412, allocations: 101.9 kB / 1.429 GB, free: 191.8 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1804/1.592, allocations: 73.95 MB / 1.501 GB, free: 145.8 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.753e-06/1.592, allocations: 0 / 1.501 GB, free: 145.8 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001452/1.592, allocations: 36 kB / 1.501 GB, free: 145.8 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.005153/1.597, allocations: 1.66 MB / 1.503 GB, free: 144.1 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/1.597, allocations: 12.56 kB / 1.503 GB, free: 144.1 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003058/1.601, allocations: 0.4975 MB / 1.503 GB, free: 143.6 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003021/1.604, allocations: 1.15 MB / 1.504 GB, free: 142.4 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.413e-05/1.604, allocations: 115.1 kB / 1.504 GB, free: 142.3 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006423/1.604, allocations: 156 kB / 1.505 GB, free: 142.1 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005527/1.61, allocations: 2.478 MB / 1.507 GB, free: 139.6 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.22e-05/1.61, allocations: 15.88 kB / 1.507 GB, free: 139.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003399/1.61, allocations: 63.94 kB / 1.507 GB, free: 139.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/1.61, allocations: 87.06 kB / 1.507 GB, free: 139.4 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003699/1.614, allocations: 2.038 MB / 1.509 GB, free: 137.4 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01253/1.627, allocations: 10.53 MB / 1.519 GB, free: 126 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008909/1.628, allocations: 0.5803 MB / 1.52 GB, free: 125.4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/1.628, allocations: 93.09 kB / 1.52 GB, free: 125.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/1.628, allocations: 38.56 kB / 1.52 GB, free: 125.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=36): time 2.094e-06/1.628, allocations: 0 / 1.52 GB, free: 125.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=52): time 0.01646/1.644, allocations: 5.707 MB / 1.526 GB, free: 119.4 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/1.644, allocations: 89.53 kB / 1.526 GB, free: 119.3 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/1.646, allocations: 0.8156 MB / 1.527 GB, free: 118.5 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.714e-05/1.646, allocations: 33.7 kB / 1.527 GB, free: 118.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004112/1.646, allocations: 0.7577 MB / 1.527 GB, free: 117.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/1.646, allocations: 185.4 kB / 1.528 GB, free: 117.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.438e-05/1.647, allocations: 20 kB / 1.528 GB, free: 117.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.647, allocations: 382.8 kB / 1.528 GB, free: 117.1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000871/1.648, allocations: 0.646 MB / 1.529 GB, free: 116.5 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/1.649, allocations: 1.003 MB / 1.53 GB, free: 115.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/1.65, allocations: 0.8102 MB / 1.53 GB, free: 114.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/1.65, allocations: 4 kB / 1.53 GB, free: 114.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.006652/1.656, allocations: 2.944 MB / 1.533 GB, free: 111.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009542/1.657, allocations: 4.526 MB / 1.538 GB, free: 106.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.912e-05/1.657, allocations: 12 kB / 1.538 GB, free: 106.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005908/1.663, allocations: 1.556 MB / 1.539 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009888/1.664, allocations: 231.6 kB / 1.539 GB, free: 104.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007435/1.672, allocations: 7.121 MB / 1.546 GB, free: 97.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/1.673, allocations: 159.6 kB / 1.546 GB, free: 97.23 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/1.673, allocations: 44 kB / 1.547 GB, free: 97.18 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/1.673, allocations: 7.938 kB / 1.547 GB, free: 97.18 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005461/1.679, allocations: 2.415 MB / 1.549 GB, free: 94.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.7e-05/1.679, allocations: 8 kB / 1.549 GB, free: 94.74 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003881/1.683, allocations: 0.9965 MB / 1.55 GB, free: 93.74 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/1.684, allocations: 255.5 kB / 1.55 GB, free: 93.49 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00604/1.69, allocations: 5.598 MB / 1.556 GB, free: 87.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/1.691, allocations: 135.8 kB / 1.556 GB, free: 87.49 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/1.691, allocations: 47.98 kB / 1.556 GB, free: 87.45 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001681/1.693, allocations: 0.8479 MB / 1.557 GB, free: 86.59 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/1.693, allocations: 75.06 kB / 1.557 GB, free: 86.51 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006054/1.699, allocations: 2.477 MB / 1.559 GB, free: 84.01 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/1.699, allocations: 7.984 kB / 1.559 GB, free: 84 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/1.699, allocations: 4 kB / 1.559 GB, free: 84 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/1.7, allocations: 0 / 1.559 GB, free: 84 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009725/1.709, allocations: 4.314 MB / 1.563 GB, free: 79.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/1.709, allocations: 4.25 kB / 1.563 GB, free: 79.59 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/1.71, allocations: 107.8 kB / 1.563 GB, free: 79.48 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005404/1.715, allocations: 1.497 MB / 1.565 GB, free: 77.97 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.792e-05/1.715, allocations: 12 kB / 1.565 GB, free: 77.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01017/1.725, allocations: 9.914 MB / 1.575 GB, free: 67.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.725, allocations: 4.031 kB / 1.575 GB, free: 67.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005892/1.731, allocations: 2.521 MB / 1.577 GB, free: 64.87 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007124/1.732, allocations: 284 kB / 1.577 GB, free: 64.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000252/1.732, allocations: 15.95 kB / 1.577 GB, free: 64.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008843/1.733, allocations: 123.8 kB / 1.577 GB, free: 64.44 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002466/1.733, allocations: 51.62 kB / 1.577 GB, free: 64.39 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.991e-05/1.734, allocations: 16 kB / 1.577 GB, free: 64.37 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001062/1.735, allocations: 0.6356 MB / 1.578 GB, free: 63.74 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.21e-07/1.735, allocations: 0 / 1.578 GB, free: 63.74 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002702/1.737, allocations: 0.6288 MB / 1.579 GB, free: 63.11 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 38 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003602/1.738, allocations: 171.4 kB / 1.579 GB, free: 62.94 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005/1.743, allocations: 3.081 MB / 1.582 GB, free: 59.81 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.527e-06/1.743, allocations: 256 / 1.582 GB, free: 59.81 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001708/1.744, allocations: 1.287 MB / 1.583 GB, free: 58.47 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/1.746, allocations: 229.5 kB / 1.583 GB, free: 58.25 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006487/1.752, allocations: 3.536 MB / 1.587 GB, free: 54.66 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001875/1.754, allocations: 1.645 MB / 1.588 GB, free: 52.98 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001359/1.755, allocations: 486.1 kB / 1.589 GB, free: 52.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/1.756, allocations: 63.42 kB / 1.589 GB, free: 52.44 MB / 0.9167 GB Notification: Performance of SimCode: time 1.172e-06/1.756, allocations: 4 kB / 1.589 GB, free: 52.43 MB / 0.9167 GB Notification: Performance of Templates: time 0.03396/1.79, allocations: 22.39 MB / 1.611 GB, free: 30.17 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches