Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.002116/0.002116, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002411/0.002411, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.432/1.432, allocations: 205.1 MB / 222 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.736/1.736, allocations: 292.2 MB / 0.5484 GB, free: 13.64 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.001307/0.001307, allocations: 61.11 kB / 0.6708 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2231, allocations: 114.6 MB / 0.7827 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007707/0.2309, allocations: 6.135 MB / 0.7887 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004906/0.2359, allocations: 3.244 MB / 0.7918 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004784/0.2364, allocations: 35.69 kB / 0.7919 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002189/0.2386, allocations: 0.8708 MB / 0.7927 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.2397, allocations: 446 kB / 0.7931 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.2408, allocations: 450.4 kB / 0.7936 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00132/0.2422, allocations: 1.463 MB / 0.795 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008777/0.2431, allocations: 0.6366 MB / 0.7956 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004682/0.2435, allocations: 390.3 kB / 0.796 GB, free: 260 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005416/0.2441, allocations: 478.2 kB / 0.7965 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.21e-05/0.2442, allocations: 47.94 kB / 0.7965 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.2452, allocations: 0.5886 MB / 0.7971 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002641/0.2455, allocations: 275.2 kB / 0.7973 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003791/0.2459, allocations: 385.9 kB / 0.7977 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.2472, allocations: 1.187 MB / 0.7989 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2472, allocations: 0 / 0.7989 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2472, allocations: 0 / 0.7989 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.2472, allocations: 0 / 0.7989 GB, free: 13.31 MB / 0.6231 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.001734/0.2489, allocations: 1.06 MB / 0.7999 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.249, allocations: 8.031 kB / 0.7999 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/0.2505, allocations: 223.7 kB / 0.8001 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007864/0.2512, allocations: 0.5376 MB / 0.8006 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.113e-05/0.2513, allocations: 45.67 kB / 0.8007 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.2514, allocations: 68.36 kB / 0.8008 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.253, allocations: 1.03 MB / 0.8018 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/0.253, allocations: 15.83 kB / 0.8018 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.437e-05/0.2531, allocations: 35.97 kB / 0.8018 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-05/0.2532, allocations: 65.28 kB / 0.8019 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009823/0.2542, allocations: 0.6918 MB / 0.8025 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005065/0.2592, allocations: 5.756 MB / 0.8082 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008561/0.2601, allocations: 0.5986 MB / 0.8088 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007401/0.2609, allocations: 424.6 kB / 0.8092 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.2609, allocations: 4 kB / 0.8092 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.261, allocations: 38.56 kB / 0.8092 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.184e-06/0.261, allocations: 0 / 0.8092 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.004247/0.2652, allocations: 2.058 MB / 0.8112 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.2653, allocations: 55.41 kB / 0.8113 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/0.2657, allocations: 458.8 kB / 0.8117 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.2658, allocations: 29.7 kB / 0.8117 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.266, allocations: 387 kB / 0.8121 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.2661, allocations: 161.8 kB / 0.8123 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.2663, allocations: 110.2 kB / 0.8124 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2665, allocations: 362.8 kB / 0.8127 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.2668, allocations: 249.1 kB / 0.8129 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005007/0.2673, allocations: 461 kB / 0.8134 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009102/0.2682, allocations: 0.7519 MB / 0.8141 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.2683, allocations: 0 / 0.8141 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001847/0.2701, allocations: 1.073 MB / 0.8152 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.2701, allocations: 8 kB / 0.8152 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.2702, allocations: 8 kB / 0.8152 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.2712, allocations: 331.6 kB / 0.8155 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.2715, allocations: 99.81 kB / 0.8156 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006831/0.2784, allocations: 6.942 MB / 0.8224 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004392/0.2788, allocations: 35.95 kB / 0.8224 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/0.2789, allocations: 24 kB / 0.8224 GB, free: 3.59 MB / 0.6387 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.0003437/0.2792, allocations: 252.8 kB / 0.8227 GB, free: 3.336 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.622e-05/0.2793, allocations: 59.25 kB / 0.8227 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.281, allocations: 0.9121 MB / 0.8236 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.281, allocations: 8 kB / 0.8236 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.2811, allocations: 4 kB / 0.8236 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.2811, allocations: 3.984 kB / 0.8236 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/0.2837, allocations: 1.708 MB / 0.8253 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2838, allocations: 480 / 0.8253 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.2839, allocations: 47.91 kB / 0.8253 GB, free: 496 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000977/0.2849, allocations: 327.2 kB / 0.8257 GB, free: 156 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/0.285, allocations: 8 kB / 0.8257 GB, free: 148 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006639/0.2916, allocations: 6.947 MB / 0.8324 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2917, allocations: 0 / 0.8324 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.2934, allocations: 1.007 MB / 0.8334 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000235/0.2937, allocations: 176.3 kB / 0.8336 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.702e-05/0.2938, allocations: 12 kB / 0.8336 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.294, allocations: 27.91 kB / 0.8336 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.2941, allocations: 35.89 kB / 0.8337 GB, free: 7.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.2942, allocations: 19.94 kB / 0.8337 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003253/0.2945, allocations: 310.9 kB / 0.834 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2945, allocations: 0 / 0.834 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007334/0.2953, allocations: 196 kB / 0.8342 GB, free: 6.828 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001531/0.2954, allocations: 111.5 kB / 0.8343 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001742/0.2972, allocations: 1.207 MB / 0.8355 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.2972, allocations: 4.125 kB / 0.8355 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.2983, allocations: 0.8655 MB / 0.8363 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009626/0.2993, allocations: 188.8 kB / 0.8365 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.3013, allocations: 1.53 MB / 0.838 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005661/0.3019, allocations: 0.9998 MB / 0.839 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002885/0.3022, allocations: 101.3 kB / 0.8391 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.888e-05/0.3023, allocations: 43.42 kB / 0.8391 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of SimCode: time 4.21e-07/0.3023, allocations: 0 / 0.8391 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of Templates: time 0.01494/0.3172, allocations: 9.622 MB / 0.8485 GB, free: 8.074 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)