Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.566/2.566, allocations: 251.1 MB / 266.7 MB, free: 11.58 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001254/0.001254, allocations: 170.7 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.465/2.465, allocations: 205.4 MB / 0.5772 GB, free: 21.15 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.000885/0.0008846, allocations: 93.05 kB / 0.6817 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005355/0.0005358, allocations: 15.22 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.208, allocations: 106.3 MB / 0.8995 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04136/0.2494, allocations: 30.19 MB / 0.929 GB, free: 35.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02726/0.2767, allocations: 14.02 MB / 0.9427 GB, free: 21.69 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00395/0.2807, allocations: 131.2 kB / 0.9428 GB, free: 21.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003786/0.2846, allocations: 0.7014 MB / 0.9435 GB, free: 20.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.009854/0.2945, allocations: 2.401 MB / 0.9458 GB, free: 18.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006476/0.301, allocations: 1.381 MB / 0.9472 GB, free: 17.06 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01409/0.3152, allocations: 9.796 MB / 0.9567 GB, free: 7.23 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02454/0.3398, allocations: 10.37 MB / 0.9669 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008307/0.3481, allocations: 2.931 MB / 0.9697 GB, free: 9.848 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008545/0.3567, allocations: 3.387 MB / 0.973 GB, free: 6.445 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.001974/0.3588, allocations: 296 kB / 0.9733 GB, free: 6.156 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004847/0.3637, allocations: 0.8155 MB / 0.9741 GB, free: 5.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.005181/0.3689, allocations: 2.264 MB / 0.9763 GB, free: 3.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.003404/0.3723, allocations: 1.124 MB / 0.9774 GB, free: 1.938 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01614/0.3885, allocations: 9.156 MB / 0.9864 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.3886, allocations: 4 kB / 0.9864 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.986e-06/0.3886, allocations: 0 / 0.9864 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003962/0.389, allocations: 0 / 0.9864 GB, free: 8.754 MB / 0.6355 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.01823/0.4073, allocations: 4.888 MB / 0.9912 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.4073, allocations: 8.031 kB / 0.9912 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/0.4182, allocations: 1.145 MB / 0.9923 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01128/0.4295, allocations: 3.233 MB / 0.9954 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005531/0.4301, allocations: 374.3 kB / 0.9958 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002142/0.4323, allocations: 0.4961 MB / 0.9963 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03169/0.464, allocations: 7.962 MB / 1.004 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003512/0.4644, allocations: 23.83 kB / 1.004 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001926/0.4664, allocations: 216 kB / 1.004 GB, free: 5.984 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002034/0.4684, allocations: 437.5 kB / 1.005 GB, free: 5.555 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02086/0.4893, allocations: 6.049 MB / 1.011 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07078/0.5602, allocations: 35.21 MB / 1.045 GB, free: 9.098 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005425/0.5657, allocations: 2.018 MB / 1.047 GB, free: 7.066 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00483/0.5705, allocations: 1.85 MB / 1.049 GB, free: 5.219 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002261/0.5708, allocations: 18 kB / 1.049 GB, free: 5.199 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.051e-05/0.5709, allocations: 56.5 kB / 1.049 GB, free: 5.137 MB / 0.698 GB Notification: Performance of pre-optimization done (n=171): time 5.11e-06/0.5709, allocations: 0 / 1.049 GB, free: 5.137 MB / 0.698 GB Notification: Performance of matching and sorting (n=276): time 0.8997/1.471, allocations: 39 MB / 1.087 GB, free: 132 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/1.471, allocations: 81.58 kB / 1.087 GB, free: 131.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004406/1.475, allocations: 2.253 MB / 1.089 GB, free: 130.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005878/1.476, allocations: 71.39 kB / 1.089 GB, free: 130.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002029/1.478, allocations: 2.279 MB / 1.091 GB, free: 128.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001336/1.479, allocations: 0.9347 MB / 1.092 GB, free: 127.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004067/1.48, allocations: 56 kB / 1.092 GB, free: 127.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002117/1.48, allocations: 432 kB / 1.093 GB, free: 127.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004811/1.485, allocations: 1.968 MB / 1.095 GB, free: 125.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005419/1.49, allocations: 2.591 MB / 1.097 GB, free: 122.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005739/1.496, allocations: 2.372 MB / 1.1 GB, free: 119.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-05/1.496, allocations: 5.422 kB / 1.1 GB, free: 119.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.02477/1.521, allocations: 7.72 MB / 1.107 GB, free: 112.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.826e-05/1.521, allocations: 20.03 kB / 1.107 GB, free: 112.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.349e-05/1.521, allocations: 16 kB / 1.107 GB, free: 112 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01569/1.537, allocations: 3.207 MB / 1.11 GB, free: 108.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00301/1.54, allocations: 396.3 kB / 1.111 GB, free: 108.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06104/1.601, allocations: 31.11 MB / 1.141 GB, free: 76.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004595/1.605, allocations: 159.8 kB / 1.141 GB, free: 76.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005835/1.606, allocations: 108 kB / 1.141 GB, free: 76.29 MB / 0.698 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.004874/1.611, allocations: 1.797 MB / 1.143 GB, free: 74.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/1.612, allocations: 336.1 kB / 1.143 GB, free: 74.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0223/1.634, allocations: 7.333 MB / 1.151 GB, free: 66.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.735e-05/1.634, allocations: 15.94 kB / 1.151 GB, free: 66.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/1.634, allocations: 1.531 kB / 1.151 GB, free: 66.71 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002704/1.637, allocations: 0.8017 MB / 1.151 GB, free: 65.89 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001/1.638, allocations: 51.94 kB / 1.151 GB, free: 65.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00355/1.642, allocations: 135.8 kB / 1.152 GB, free: 65.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009714/1.643, allocations: 329.6 kB / 1.152 GB, free: 65.38 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02919/1.672, allocations: 7.942 MB / 1.16 GB, free: 57.46 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01462/1.687, allocations: 6.95 MB / 1.166 GB, free: 50.43 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004261/1.691, allocations: 2.261 MB / 1.169 GB, free: 48.15 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002952/1.694, allocations: 1.506 MB / 1.17 GB, free: 46.64 MB / 0.698 GB Notification: Performance of Backend: time 8.62e-07/1.694, allocations: 0 / 1.17 GB, free: 46.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01674/1.711, allocations: 5.662 MB / 1.176 GB, free: 40.97 MB / 0.698 GB Notification: Performance of SimCode: time 0.02533/1.736, allocations: 12.97 MB / 1.188 GB, free: 28.02 MB / 0.698 GB Notification: Performance of Templates: time 0.204/1.94, allocations: 74.98 MB / 1.262 GB, free: 1.73 MB / 0.7448 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)