Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002441/0.002441, allocations: 103.1 kB / 16.36 MB, free: 6.309 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.002952/0.002952, allocations: 190.2 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.122/2.122, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 71.03 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2984, allocations: 114.5 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.5232/0.8217, allocations: 6.056 MB / 0.7907 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00444/0.8261, allocations: 3.2 MB / 0.7938 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005403/0.8267, allocations: 30.53 kB / 0.7939 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002096/0.8288, allocations: 0.9277 MB / 0.7948 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.8301, allocations: 474.7 kB / 0.7952 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.8312, allocations: 493.4 kB / 0.7957 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001074/0.8323, allocations: 1.086 MB / 0.7968 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008027/0.8331, allocations: 0.6444 MB / 0.7974 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000487/0.8336, allocations: 434.7 kB / 0.7978 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005163/0.8342, allocations: 478.4 kB / 0.7983 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.237e-05/0.8342, allocations: 58 kB / 0.7983 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008537/0.8351, allocations: 492 kB / 0.7988 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000236/0.8354, allocations: 288.8 kB / 0.7991 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003171/0.8357, allocations: 398 kB / 0.7994 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.8369, allocations: 1.171 MB / 0.8006 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.837, allocations: 0 / 0.8006 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.383e-06/0.837, allocations: 3.969 kB / 0.8006 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.837, allocations: 0 / 0.8006 GB, free: 43.21 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001591/0.8386, allocations: 1.053 MB / 0.8016 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.8386, allocations: 7.344 kB / 0.8016 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.8402, allocations: 220.4 kB / 0.8018 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.8412, allocations: 0.579 MB / 0.8024 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.877e-05/0.8413, allocations: 47.12 kB / 0.8024 GB, free: 42 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.8415, allocations: 70.02 kB / 0.8025 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.8433, allocations: 1.038 MB / 0.8035 GB, free: 41.35 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.8434, allocations: 3.938 kB / 0.8035 GB, free: 41.35 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.758e-05/0.8434, allocations: 25.31 kB / 0.8035 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001284/0.8436, allocations: 68.7 kB / 0.8036 GB, free: 41.33 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.8448, allocations: 0.6993 MB / 0.8043 GB, free: 41.08 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005366/0.8502, allocations: 5.721 MB / 0.8099 GB, free: 36.13 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.8512, allocations: 0.6093 MB / 0.8105 GB, free: 35.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.8523, allocations: 421.1 kB / 0.8109 GB, free: 35.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.148e-05/0.8524, allocations: 8 kB / 0.8109 GB, free: 35.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.8524, allocations: 38.33 kB / 0.8109 GB, free: 35.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=41): time 2.545e-06/0.8524, allocations: 0 / 0.8109 GB, free: 35.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42): time 0.005107/0.8575, allocations: 2.052 MB / 0.8129 GB, free: 34.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.8576, allocations: 57.19 kB / 0.813 GB, free: 34.46 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000678/0.8583, allocations: 453.7 kB / 0.8134 GB, free: 34.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.8583, allocations: 34.95 kB / 0.8134 GB, free: 34.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.8586, allocations: 393 kB / 0.8138 GB, free: 33.89 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.8587, allocations: 151.7 kB / 0.814 GB, free: 33.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.859, allocations: 108.2 kB / 0.8141 GB, free: 33.71 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.8591, allocations: 361.8 kB / 0.8144 GB, free: 33.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004356/0.8595, allocations: 242.9 kB / 0.8146 GB, free: 33.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005171/0.8601, allocations: 465.8 kB / 0.8151 GB, free: 32.94 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009023/0.861, allocations: 0.7476 MB / 0.8158 GB, free: 32.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.861, allocations: 6.281 kB / 0.8158 GB, free: 32.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00208/0.8631, allocations: 1.06 MB / 0.8169 GB, free: 31.99 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.8631, allocations: 13.02 kB / 0.8169 GB, free: 31.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.8631, allocations: 6.75 kB / 0.8169 GB, free: 31.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.8642, allocations: 335.2 kB / 0.8172 GB, free: 31.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003437/0.8646, allocations: 97.81 kB / 0.8173 GB, free: 31.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006395/0.871, allocations: 7.51 MB / 0.8246 GB, free: 25.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005647/0.8716, allocations: 33.23 kB / 0.8247 GB, free: 25.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.907e-05/0.8717, allocations: 29.53 kB / 0.8247 GB, free: 25.48 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003916/0.8721, allocations: 249.2 kB / 0.8249 GB, free: 25.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.25e-05/0.8722, allocations: 65.84 kB / 0.825 GB, free: 25.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/0.8739, allocations: 0.9166 MB / 0.8259 GB, free: 24.87 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.8739, allocations: 1.969 kB / 0.8259 GB, free: 24.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.8739, allocations: 5.844 kB / 0.8259 GB, free: 24.87 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.8741, allocations: 168.4 kB / 0.826 GB, free: 24.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.516e-05/0.8742, allocations: 7.562 kB / 0.8261 GB, free: 24.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.8745, allocations: 22 kB / 0.8261 GB, free: 24.72 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.876e-05/0.8746, allocations: 49.75 kB / 0.8261 GB, free: 24.71 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001936/0.8765, allocations: 0.9608 MB / 0.8271 GB, free: 24.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001181/0.8777, allocations: 0.9841 MB / 0.828 GB, free: 23.86 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003625/0.8781, allocations: 249.5 kB / 0.8283 GB, free: 23.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003483/0.8784, allocations: 303.6 kB / 0.8285 GB, free: 23.65 MB / 0.6544 GB Notification: Performance of Backend: time 5.91e-07/0.8785, allocations: 3.938 kB / 0.8286 GB, free: 23.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002487/0.8809, allocations: 1.302 MB / 0.8298 GB, free: 22.86 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002533/0.8835, allocations: 1.882 MB / 0.8317 GB, free: 21.72 MB / 0.6544 GB Notification: Performance of Templates: time 0.02426/0.9078, allocations: 11.97 MB / 0.8434 GB, free: 19.14 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)