Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001/0.001001, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.77/2.77, allocations: 436.5 MB / 0.7104 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003511, allocations: 8 kB / 0.8708 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.901/0.9013, allocations: 153.7 MB / 1.021 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02994/0.9313, allocations: 28.84 MB / 1.049 GB, free: 4.184 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02254/0.9539, allocations: 13.81 MB / 1.062 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004259/0.9582, allocations: 123.2 kB / 1.063 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002873/0.9611, allocations: 0.7064 MB / 1.063 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.007997/0.9691, allocations: 2.262 MB / 1.065 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005022/0.9742, allocations: 1.41 MB / 1.067 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00998/0.9842, allocations: 4.581 MB / 1.071 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01727/1.001, allocations: 9.844 MB / 1.081 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006209/1.008, allocations: 2.628 MB / 1.084 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005469/1.013, allocations: 2.425 MB / 1.086 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.00199/1.015, allocations: 296 kB / 1.086 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003651/1.019, allocations: 0.6906 MB / 1.087 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003816/1.023, allocations: 2.105 MB / 1.089 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002949/1.026, allocations: 1.132 MB / 1.09 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01117/1.037, allocations: 9.033 MB / 1.099 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/1.037, allocations: 0 / 1.099 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.064e-06/1.037, allocations: 0 / 1.099 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0004254/1.037, allocations: 4 kB / 1.099 GB, free: 0.9609 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01371/1.051, allocations: 4.86 MB / 1.104 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/1.051, allocations: 12.03 kB / 1.104 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007703/1.059, allocations: 1.121 MB / 1.105 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0118/1.071, allocations: 3.24 MB / 1.108 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004441/1.071, allocations: 370 kB / 1.108 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002294/1.074, allocations: 499.8 kB / 1.109 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02423/1.098, allocations: 7.919 MB / 1.116 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004314/1.098, allocations: 23.77 kB / 1.116 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00225/1.101, allocations: 220 kB / 1.117 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00125/1.102, allocations: 437.6 kB / 1.117 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01474/1.117, allocations: 6.046 MB / 1.123 GB, free: 7.793 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05357/1.17, allocations: 35.22 MB / 1.157 GB, free: 1.391 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003434/1.174, allocations: 2.026 MB / 1.159 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/1.174, allocations: 21.98 kB / 1.159 GB, free: 15.34 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.491e-05/1.174, allocations: 56.56 kB / 1.159 GB, free: 15.28 MB / 0.92 GB Notification: Performance of pre-optimization done (n=171): time 4.398e-06/1.174, allocations: 4 kB / 1.159 GB, free: 15.28 MB / 0.92 GB Notification: Performance of matching and sorting (n=276): time 0.1524/1.326, allocations: 38.97 MB / 1.197 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.9e-05/1.326, allocations: 85.52 kB / 1.198 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004871/1.331, allocations: 2.254 MB / 1.2 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0004724/1.332, allocations: 73.7 kB / 1.2 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001954/1.334, allocations: 2.276 MB / 1.202 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001239/1.335, allocations: 0.9318 MB / 1.203 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003859/1.335, allocations: 64 kB / 1.203 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002669/1.336, allocations: 428.1 kB / 1.203 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00326/1.339, allocations: 1.958 MB / 1.205 GB, free: 64 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004099/1.343, allocations: 2.579 MB / 1.208 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003974/1.347, allocations: 2.372 MB / 1.21 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.289e-05/1.347, allocations: 8 kB / 1.21 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0169/1.364, allocations: 7.717 MB / 1.218 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.651e-05/1.364, allocations: 17.59 kB / 1.218 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.009e-05/1.364, allocations: 16 kB / 1.218 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009786/1.374, allocations: 3.207 MB / 1.221 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/1.376, allocations: 403.3 kB / 1.221 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8509/2.227, allocations: 32.35 MB / 1.253 GB, free: 203.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003761/2.231, allocations: 164.4 kB / 1.253 GB, free: 203.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005792/2.231, allocations: 109.4 kB / 1.253 GB, free: 203.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004883/2.236, allocations: 1.799 MB / 1.255 GB, free: 203.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/2.237, allocations: 327.2 kB / 1.255 GB, free: 203.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01684/2.254, allocations: 7.334 MB / 1.262 GB, free: 202.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.351e-05/2.254, allocations: 26.62 kB / 1.262 GB, free: 202.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001844/2.255, allocations: 29.12 kB / 1.262 GB, free: 202.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.405e-05/2.255, allocations: 16.05 kB / 1.262 GB, free: 202.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02737/2.282, allocations: 12.9 MB / 1.275 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.148e-05/2.282, allocations: 6.531 kB / 1.275 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/2.283, allocations: 233.4 kB / 1.275 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007691/2.291, allocations: 2.842 MB / 1.278 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003974/2.291, allocations: 55.75 kB / 1.278 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03478/2.326, allocations: 31.19 MB / 1.309 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/2.326, allocations: 7.438 kB / 1.309 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01118/2.337, allocations: 7.417 MB / 1.316 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002368/2.34, allocations: 0.7898 MB / 1.317 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008098/2.341, allocations: 52 kB / 1.317 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001975/2.343, allocations: 163.8 kB / 1.317 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008726/2.344, allocations: 261.4 kB / 1.317 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001689/2.344, allocations: 76 kB / 1.317 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002097/2.346, allocations: 1.498 MB / 1.319 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.1e-07/2.346, allocations: 4 kB / 1.319 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004793/2.351, allocations: 1.367 MB / 1.32 GB, free: 166.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004496/2.351, allocations: 178.8 kB / 1.32 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01004/2.361, allocations: 6.908 MB / 1.327 GB, free: 159.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.499e-05/2.361, allocations: 0 / 1.327 GB, free: 159.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006931/2.368, allocations: 4.419 MB / 1.331 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004898/2.373, allocations: 0.9949 MB / 1.332 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0172/2.39, allocations: 11.94 MB / 1.344 GB, free: 141.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003394/2.394, allocations: 3.741 MB / 1.347 GB, free: 138.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002319/2.396, allocations: 0.5556 MB / 1.348 GB, free: 137.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003785/2.396, allocations: 159.4 kB / 1.348 GB, free: 137.4 MB / 0.9981 GB Notification: Performance of SimCode: time 2.675e-06/2.396, allocations: 4 kB / 1.348 GB, free: 137.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.1071/2.504, allocations: 71.64 MB / 1.418 GB, free: 66.78 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches