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.ACSimpleGrid.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 249.3 MB / 261.8 MB, free: 5.988 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.001001/0.001001, allocations: 184.4 kB / 321.3 MB, free: 14.66 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.373/1.373, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.0008445/0.0008447, allocations: 90.47 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.424e-05/3.426e-05, allocations: 4 kB / 0.788 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1598, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6134/0.7732, allocations: 185.4 MB / 1.073 GB, free: 15.69 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.7735, allocations: 98.38 kB / 1.073 GB, free: 15.63 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1485/0.922, allocations: 63.79 MB / 1.135 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.824e-06/0.922, allocations: 0 / 1.135 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.138e-05/0.9221, allocations: 32 kB / 1.135 GB, free: 5.496 MB / 0.7448 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.002772/0.9249, allocations: 1.558 MB / 1.137 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.925, allocations: 12.03 kB / 1.137 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002493/0.9275, allocations: 0.4897 MB / 1.137 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/0.9296, allocations: 1.15 MB / 1.138 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.581e-05/0.9297, allocations: 115.1 kB / 1.139 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002734/0.93, allocations: 152 kB / 1.139 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00402/0.934, allocations: 2.431 MB / 1.141 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.584e-05/0.934, allocations: 11.83 kB / 1.141 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/0.9342, allocations: 67.98 kB / 1.141 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/0.9343, allocations: 91 kB / 1.141 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00315/0.9375, allocations: 1.976 MB / 1.143 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01181/0.9493, allocations: 10.51 MB / 1.153 GB, free: 1.883 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008872/0.9502, allocations: 0.56 MB / 1.154 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005277/0.9508, allocations: 372.7 kB / 1.154 GB, free: 0.9492 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.9509, allocations: 89.05 kB / 1.154 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.9509, allocations: 42.55 kB / 1.154 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=36): time 2.044e-06/0.9509, allocations: 0 / 1.154 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of matching and sorting (n=52): time 0.01412/0.965, allocations: 4.779 MB / 1.159 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.9651, allocations: 85.55 kB / 1.159 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.9662, allocations: 0.8079 MB / 1.16 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.715e-05/0.9662, allocations: 37.7 kB / 1.16 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004797/0.9667, allocations: 0.7499 MB / 1.161 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.9669, allocations: 185.4 kB / 1.161 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.129e-05/0.967, allocations: 20 kB / 1.161 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.9671, allocations: 390.7 kB / 1.161 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008303/0.968, allocations: 0.5915 MB / 1.162 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.9691, allocations: 0.9606 MB / 1.163 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.9701, allocations: 0.7721 MB / 1.164 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.9701, allocations: 8 kB / 1.164 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.006363/0.9765, allocations: 2.769 MB / 1.166 GB, free: 4.379 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001614/0.9781, allocations: 4.533 MB / 1.171 GB, free: 15.49 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.9781, allocations: 8 kB / 1.171 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005132/0.9833, allocations: 1.423 MB / 1.172 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008266/0.9841, allocations: 227.6 kB / 1.172 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007946/0.9921, allocations: 6.817 MB / 1.179 GB, free: 6.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.9933, allocations: 163.7 kB / 1.179 GB, free: 6.52 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.823e-05/0.9934, allocations: 44 kB / 1.179 GB, free: 6.477 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.9934, allocations: 11.89 kB / 1.179 GB, free: 6.465 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005006/0.9984, allocations: 2.239 MB / 1.181 GB, free: 4.219 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.9984, allocations: 12.38 kB / 1.181 GB, free: 4.207 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003094/1.002, allocations: 0.8716 MB / 1.182 GB, free: 3.328 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008704/1.002, allocations: 251.6 kB / 1.182 GB, free: 3.082 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006677/1.009, allocations: 5.372 MB / 1.188 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000938/1.01, allocations: 139.8 kB / 1.188 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-05/1.01, allocations: 43.98 kB / 1.188 GB, free: 13.26 MB / 0.8073 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 () * 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.000248/1.01, allocations: 168.6 kB / 1.188 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/1.011, allocations: 75.06 kB / 1.188 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005889/1.016, allocations: 2.317 MB / 1.19 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/1.016, allocations: 8 kB / 1.19 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.017, allocations: 3.938 kB / 1.19 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/1.017, allocations: 3.984 kB / 1.19 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008486/1.025, allocations: 4.25 MB / 1.195 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/1.025, allocations: 3.953 kB / 1.195 GB, free: 6.277 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/1.025, allocations: 99.86 kB / 1.195 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004898/1.03, allocations: 1.369 MB / 1.196 GB, free: 4.797 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.618e-05/1.03, allocations: 19.92 kB / 1.196 GB, free: 4.777 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01109/1.042, allocations: 9.489 MB / 1.205 GB, free: 10.75 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.042, allocations: 4.031 kB / 1.205 GB, free: 10.75 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005624/1.047, allocations: 2.365 MB / 1.208 GB, free: 8.281 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005884/1.048, allocations: 284 kB / 1.208 GB, free: 7.984 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/1.048, allocations: 16 kB / 1.208 GB, free: 7.969 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000718/1.049, allocations: 119.8 kB / 1.208 GB, free: 7.852 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/1.049, allocations: 51.88 kB / 1.208 GB, free: 7.801 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.083e-05/1.049, allocations: 20 kB / 1.208 GB, free: 7.781 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0009228/1.05, allocations: 0.6279 MB / 1.209 GB, free: 7.16 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.5e-07/1.05, allocations: 0 / 1.209 GB, free: 7.16 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001891/1.052, allocations: 0.6055 MB / 1.209 GB, free: 6.555 MB / 0.823 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 () * 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.0003294/1.052, allocations: 178.7 kB / 1.209 GB, free: 6.371 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005017/1.057, allocations: 2.951 MB / 1.212 GB, free: 3.371 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.057, allocations: 0 / 1.212 GB, free: 3.371 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001777/1.059, allocations: 1.233 MB / 1.214 GB, free: 2.086 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000898/1.06, allocations: 221.5 kB / 1.214 GB, free: 1.871 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004163/1.064, allocations: 2.401 MB / 1.216 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/1.065, allocations: 1.642 MB / 1.218 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001461/1.067, allocations: 0.5959 MB / 1.218 GB, free: 13.13 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/1.067, allocations: 55.42 kB / 1.218 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of SimCode: time 6.91e-07/1.067, allocations: 4 kB / 1.218 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of Templates: time 0.03191/1.099, allocations: 22.87 MB / 1.241 GB, free: 6.281 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches