Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.793/1.793, allocations: 287.4 MB / 303.2 MB, free: 8.191 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.001065/0.001065, allocations: 182.4 kB / 371.8 MB, free: 10.82 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.661/1.661, allocations: 205.4 MB / 0.6305 GB, free: 10.59 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.0008256/0.0008253, allocations: 92.62 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003983, allocations: 11.28 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2502, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0298/0.2801, allocations: 34.49 MB / 1.013 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01894/0.2991, allocations: 10.58 MB / 1.023 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004012/0.3032, allocations: 135.2 kB / 1.023 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003222/0.3064, allocations: 0.7596 MB / 1.024 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006686/0.3131, allocations: 1.795 MB / 1.026 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005578/0.3187, allocations: 1.273 MB / 1.027 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01372/0.3325, allocations: 10.46 MB / 1.037 GB, free: 0.5273 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02306/0.3556, allocations: 14.24 MB / 1.051 GB, free: 2.18 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006174/0.3618, allocations: 2.879 MB / 1.054 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007104/0.369, allocations: 3.765 MB / 1.058 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001889/0.3709, allocations: 344 kB / 1.058 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003975/0.3749, allocations: 0.7103 MB / 1.059 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.004421/0.3793, allocations: 2.51 MB / 1.061 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002924/0.3823, allocations: 1.198 MB / 1.062 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.5067/0.889, allocations: 10.18 MB / 1.072 GB, free: 28.94 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.8891, allocations: 0 / 1.072 GB, free: 28.94 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.567e-06/0.8891, allocations: 0.6875 kB / 1.072 GB, free: 28.94 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0006061/0.8897, allocations: 0 / 1.072 GB, free: 28.94 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02112/0.9108, allocations: 5.093 MB / 1.077 GB, free: 26.92 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.425e-05/0.9109, allocations: 9.156 kB / 1.077 GB, free: 26.92 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008136/0.919, allocations: 1.068 MB / 1.078 GB, free: 26.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009175/0.9282, allocations: 3.424 MB / 1.082 GB, free: 25.89 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004428/0.9287, allocations: 425 kB / 1.082 GB, free: 25.88 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00219/0.9309, allocations: 0.5461 MB / 1.083 GB, free: 25.88 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02468/0.9556, allocations: 9.327 MB / 1.092 GB, free: 24.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002682/0.9559, allocations: 22.59 kB / 1.092 GB, free: 24.81 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002378/0.9583, allocations: 248.4 kB / 1.092 GB, free: 24.81 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007586/0.9591, allocations: 421.3 kB / 1.092 GB, free: 24.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01868/0.9778, allocations: 7.079 MB / 1.099 GB, free: 24.75 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05361/1.031, allocations: 41.37 MB / 1.14 GB, free: 12.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004919/1.036, allocations: 3.095 MB / 1.143 GB, free: 11.63 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003186/1.04, allocations: 2.121 MB / 1.145 GB, free: 10.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/1.04, allocations: 21.81 kB / 1.145 GB, free: 10.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.719e-05/1.04, allocations: 63.06 kB / 1.145 GB, free: 10.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=209): time 7.745e-06/1.04, allocations: 0 / 1.145 GB, free: 10.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=212): time 0.02448/1.064, allocations: 10.59 MB / 1.155 GB, free: 4.527 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/1.064, allocations: 72.84 kB / 1.155 GB, free: 4.465 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002749/1.067, allocations: 1.991 MB / 1.157 GB, free: 3.371 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002507/1.067, allocations: 64.86 kB / 1.157 GB, free: 3.312 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001605/1.069, allocations: 2.4 MB / 1.16 GB, free: 1.207 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007148/1.07, allocations: 0.7322 MB / 1.16 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/1.07, allocations: 51.62 kB / 1.16 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002072/1.07, allocations: 414.5 kB / 1.161 GB, free: 160 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001918/1.072, allocations: 1.363 MB / 1.162 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002416/1.074, allocations: 2.098 MB / 1.164 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004534/1.079, allocations: 3.75 MB / 1.168 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/1.079, allocations: 5.188 kB / 1.168 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007995/1.087, allocations: 5.041 MB / 1.173 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/1.087, allocations: 17.83 kB / 1.173 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/1.087, allocations: 24.78 kB / 1.173 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003473/1.091, allocations: 1.558 MB / 1.174 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/1.093, allocations: 452.6 kB / 1.175 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02251/1.115, allocations: 17.08 MB / 1.191 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/1.118, allocations: 147.3 kB / 1.192 GB, free: 6.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003266/1.118, allocations: 104 kB / 1.192 GB, free: 5.969 MB / 0.7292 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 (231): * Single equations (assignments): 227 * 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: 4 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003891/1.122, allocations: 1.951 MB / 1.194 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007523/1.123, allocations: 292.2 kB / 1.194 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007394/1.13, allocations: 4.427 MB / 1.198 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.43e-05/1.13, allocations: 11.95 kB / 1.198 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.13, allocations: 0 / 1.198 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002064/1.132, allocations: 0.6304 MB / 1.199 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004019/1.133, allocations: 32.25 kB / 1.199 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/1.134, allocations: 111.9 kB / 1.199 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003746/1.134, allocations: 213.6 kB / 1.199 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009497/1.144, allocations: 4.921 MB / 1.204 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006814/1.151, allocations: 4.809 MB / 1.209 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002077/1.153, allocations: 1.503 MB / 1.21 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002237/1.155, allocations: 1.295 MB / 1.211 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of Backend: time 4.31e-07/1.155, allocations: 0 / 1.211 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.008175/1.163, allocations: 3.731 MB / 1.215 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of SimCode: time 0.02018/1.184, allocations: 12.05 MB / 1.227 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of Templates: time 0.09597/1.28, allocations: 53.26 MB / 1.279 GB, free: 13.62 MB / 0.823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)