Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.675/1.675, allocations: 288.4 MB / 304.3 MB, free: 8.086 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00127/0.00127, allocations: 176.5 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.4 MB / 0.6316 GB, free: 9.883 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007981/0.0007981, allocations: 100.1 kB / 0.745 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006712/0.0006717, allocations: 12.38 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2811, allocations: 115.3 MB / 0.9808 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.06409/0.3453, allocations: 37.43 MB / 1.017 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.04192/0.3873, allocations: 14.4 MB / 1.031 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006636/0.394, allocations: 159.1 kB / 1.032 GB, free: 7.188 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.005398/0.3994, allocations: 0.841 MB / 1.032 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01353/0.413, allocations: 2.441 MB / 1.035 GB, free: 3.887 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01224/0.4253, allocations: 2.028 MB / 1.037 GB, free: 1.859 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.02739/0.4527, allocations: 12.77 MB / 1.049 GB, free: 5.051 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04306/0.4959, allocations: 15.57 MB / 1.064 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01228/0.5082, allocations: 3.545 MB / 1.068 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5662/1.075, allocations: 4.638 MB / 1.072 GB, free: 25.75 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.004778/1.079, allocations: 398 kB / 1.073 GB, free: 25.75 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009584/1.089, allocations: 1.747 MB / 1.074 GB, free: 25.75 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00854/1.098, allocations: 2.96 MB / 1.077 GB, free: 25.75 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.01473/1.112, allocations: 3.362 MB / 1.081 GB, free: 25.72 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.02277/1.135, allocations: 11.8 MB / 1.092 GB, free: 25.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.184e-05/1.135, allocations: 1.125 kB / 1.092 GB, free: 25.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.927e-06/1.135, allocations: 1.312 kB / 1.092 GB, free: 25.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0008866/1.136, allocations: 0 / 1.092 GB, free: 25.23 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02758/1.164, allocations: 6.16 MB / 1.098 GB, free: 22.67 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/1.164, allocations: 10.41 kB / 1.098 GB, free: 22.67 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01315/1.177, allocations: 1.521 MB / 1.1 GB, free: 22.29 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01137/1.188, allocations: 4.206 MB / 1.104 GB, free: 21.19 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006557/1.189, allocations: 458.7 kB / 1.104 GB, free: 21.17 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003819/1.193, allocations: 0.5901 MB / 1.105 GB, free: 21.17 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03546/1.228, allocations: 10.63 MB / 1.115 GB, free: 17.96 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000385/1.229, allocations: 37.16 kB / 1.115 GB, free: 17.95 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003169/1.232, allocations: 258.6 kB / 1.115 GB, free: 17.95 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002999/1.235, allocations: 0.7748 MB / 1.116 GB, free: 17.74 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02312/1.258, allocations: 8.517 MB / 1.125 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07457/1.333, allocations: 46.97 MB / 1.17 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006816/1.34, allocations: 4.301 MB / 1.175 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005831/1.345, allocations: 3.679 MB / 1.178 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000368/1.346, allocations: 36.38 kB / 1.178 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.775e-05/1.346, allocations: 76.69 kB / 1.178 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=353): time 6.061e-06/1.346, allocations: 0 / 1.178 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of matching and sorting (n=578): time 0.5342/1.88, allocations: 128 MB / 1.303 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.956e-05/1.88, allocations: 115.9 kB / 1.303 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00474/1.885, allocations: 2.661 MB / 1.306 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001751/1.887, allocations: 124 kB / 1.306 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002169/1.889, allocations: 2.676 MB / 1.309 GB, free: 444 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.003578/1.893, allocations: 1.953 MB / 1.311 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004887/1.893, allocations: 108 kB / 1.311 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003964/1.894, allocations: 0.5296 MB / 1.311 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006617/1.9, allocations: 4.052 MB / 1.315 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007634/1.908, allocations: 4.995 MB / 1.32 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01678/1.925, allocations: 9.816 MB / 1.33 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.669e-05/1.925, allocations: 4 kB / 1.33 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04328/1.968, allocations: 16.94 MB / 1.346 GB, free: 9.703 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.851e-05/1.968, allocations: 12 kB / 1.346 GB, free: 9.691 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.03e-05/1.968, allocations: 24 kB / 1.346 GB, free: 9.668 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03199/2, allocations: 9.056 MB / 1.355 GB, free: 0.5742 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002984/2.003, allocations: 0.519 MB / 1.356 GB, free: 88 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1064/2.11, allocations: 70.61 MB / 1.425 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00631/2.116, allocations: 287.8 kB / 1.425 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001493/2.117, allocations: 188 kB / 1.425 GB, free: 7.664 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007261/2.125, allocations: 2.43 MB / 1.427 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001532/2.126, allocations: 470.5 kB / 1.428 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.553/2.679, allocations: 16.77 MB / 1.444 GB, free: 335.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002015/2.68, allocations: 28.27 kB / 1.444 GB, free: 335.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/2.68, allocations: 1.062 kB / 1.444 GB, free: 335.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005528/2.685, allocations: 1.43 MB / 1.446 GB, free: 335.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00205/2.687, allocations: 98.67 kB / 1.446 GB, free: 335.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004975/2.692, allocations: 250.6 kB / 1.446 GB, free: 335.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002317/2.695, allocations: 0.7219 MB / 1.447 GB, free: 335.1 MB / 0.9636 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0477/2.742, allocations: 17.93 MB / 1.464 GB, free: 330.7 MB / 0.9636 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02444/2.767, allocations: 14.59 MB / 1.478 GB, free: 324.9 MB / 0.9636 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00633/2.773, allocations: 4.893 MB / 1.483 GB, free: 322.9 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002664/2.776, allocations: 1.749 MB / 1.485 GB, free: 322.3 MB / 0.9636 GB Notification: Performance of Backend: time 4.51e-07/2.776, allocations: 0 / 1.485 GB, free: 322.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02651/2.802, allocations: 11.81 MB / 1.497 GB, free: 316.5 MB / 0.9636 GB Notification: Performance of SimCode: time 0.03327/2.836, allocations: 20.1 MB / 1.516 GB, free: 301.3 MB / 0.9636 GB Notification: Performance of Templates: time 0.1865/3.022, allocations: 130.9 MB / 1.644 GB, free: 171.7 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)