Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.805/1.805, allocations: 288.4 MB / 303.4 MB, free: 8.07 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.001048/0.001048, allocations: 164.6 kB / 372 MB, free: 10.21 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.878/1.878, allocations: 205.4 MB / 0.6307 GB, free: 9.961 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.0007958/0.0007957, allocations: 94.95 kB / 0.7441 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006069/0.0006073, allocations: 10.84 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2378, allocations: 115.3 MB / 0.9796 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01126/0.2491, allocations: 12.56 MB / 0.9919 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01136/0.2605, allocations: 8.833 MB / 1 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001756/0.2623, allocations: 51.62 kB / 1.001 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.2638, allocations: 265.9 kB / 1.001 GB, free: 5.852 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004961/0.2688, allocations: 1.273 MB / 1.002 GB, free: 4.578 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.2708, allocations: 0.5126 MB / 1.003 GB, free: 4.066 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004002/0.2749, allocations: 2.672 MB / 1.005 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004215/0.2791, allocations: 1.804 MB / 1.007 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002478/0.2816, allocations: 0.852 MB / 1.008 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002405/0.284, allocations: 1.027 MB / 1.009 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005585/0.2846, allocations: 72 kB / 1.009 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.2865, allocations: 435.4 kB / 1.009 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001023/0.2875, allocations: 0.5023 MB / 1.01 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000901/0.2884, allocations: 344.8 kB / 1.01 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00324/0.2917, allocations: 2.119 MB / 1.012 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.2917, allocations: 3.938 kB / 1.012 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2917, allocations: 4 kB / 1.012 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001139/0.2918, allocations: 4 kB / 1.012 GB, free: 10.17 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004283/0.2961, allocations: 1.824 MB / 1.014 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.2962, allocations: 8.031 kB / 1.014 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/0.3071, allocations: 2.151 MB / 1.016 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002608/0.3097, allocations: 1.146 MB / 1.017 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-05/0.3098, allocations: 90.36 kB / 1.017 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002704/0.3101, allocations: 116 kB / 1.017 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005913/0.316, allocations: 2.702 MB / 1.02 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.196e-05/0.3161, allocations: 11.84 kB / 1.02 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/0.3163, allocations: 55.98 kB / 1.02 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005895/0.3169, allocations: 178.1 kB / 1.02 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007465/0.3243, allocations: 2.834 MB / 1.023 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0171/0.3415, allocations: 10.57 MB / 1.033 GB, free: 3.617 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01177/0.3533, allocations: 2.575 MB / 1.036 GB, free: 0.9805 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005807/0.3591, allocations: 1.303 MB / 1.037 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.3593, allocations: 9 kB / 1.037 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.819e-05/0.3594, allocations: 43.56 kB / 1.037 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=89): time 5.19e-06/0.3594, allocations: 0 / 1.037 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of matching and sorting (n=131): time 0.05411/0.4135, allocations: 13.45 MB / 1.05 GB, free: 1.949 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.4136, allocations: 64.72 kB / 1.05 GB, free: 1.875 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.4152, allocations: 1.109 MB / 1.051 GB, free: 0.75 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002058/0.4154, allocations: 45.7 kB / 1.051 GB, free: 0.6992 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004988/0.4159, allocations: 0.7156 MB / 1.052 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004759/0.4164, allocations: 457.3 kB / 1.053 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.4165, allocations: 28 kB / 1.053 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.4167, allocations: 361.9 kB / 1.053 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003312/0.42, allocations: 1.358 MB / 1.054 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003463/0.4235, allocations: 1.616 MB / 1.056 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003389/0.4269, allocations: 1.454 MB / 1.057 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.4269, allocations: 0 / 1.057 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01131/0.4382, allocations: 4.462 MB / 1.062 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/0.4383, allocations: 13.66 kB / 1.062 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.4383, allocations: 11.95 kB / 1.062 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005197/0.4435, allocations: 1.428 MB / 1.063 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/0.4456, allocations: 447.2 kB / 1.063 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4411/0.8867, allocations: 24.52 MB / 1.087 GB, free: 68.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002933/0.8897, allocations: 313.4 kB / 1.088 GB, free: 68.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002565/0.8899, allocations: 62.81 kB / 1.088 GB, free: 68.79 MB / 0.6823 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 (99): * Single equations (assignments): 86 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001128/0.8911, allocations: 437.7 kB / 1.088 GB, free: 68.52 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003885/0.8915, allocations: 162.9 kB / 1.088 GB, free: 68.51 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/0.9044, allocations: 4.481 MB / 1.093 GB, free: 67.07 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.9045, allocations: 13.31 kB / 1.093 GB, free: 67.07 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-05/0.9046, allocations: 13.31 kB / 1.093 GB, free: 67.07 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.352e-05/0.9046, allocations: 7.078 kB / 1.093 GB, free: 67.07 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01726/0.9219, allocations: 6.804 MB / 1.099 GB, free: 64.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/0.9219, allocations: 3.438 kB / 1.099 GB, free: 64.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/0.9238, allocations: 395 kB / 1.1 GB, free: 64.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004833/0.9286, allocations: 1.308 MB / 1.101 GB, free: 64.17 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000193/0.9288, allocations: 44.08 kB / 1.101 GB, free: 64.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01969/0.9485, allocations: 23.5 MB / 1.124 GB, free: 44.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.9486, allocations: 7.906 kB / 1.124 GB, free: 44.21 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/0.9591, allocations: 4.221 MB / 1.128 GB, free: 41.79 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009934/0.9601, allocations: 457.6 kB / 1.129 GB, free: 41.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.9604, allocations: 27.61 kB / 1.129 GB, free: 41.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002025/0.9624, allocations: 323.4 kB / 1.129 GB, free: 41.27 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004506/0.9629, allocations: 119.3 kB / 1.129 GB, free: 41.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/0.963, allocations: 46.69 kB / 1.129 GB, free: 41.19 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001092/0.9641, allocations: 0.7543 MB / 1.13 GB, free: 40.76 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9641, allocations: 0 / 1.13 GB, free: 40.76 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002755/0.9669, allocations: 0.5666 MB / 1.13 GB, free: 40.71 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(2,100.0%) 4,(3,100.0%) 9,(2,100.0%) 4,(3,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000323/0.9672, allocations: 139.2 kB / 1.131 GB, free: 40.59 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01125/0.9785, allocations: 5.148 MB / 1.136 GB, free: 37.22 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/0.9785, allocations: 8 kB / 1.136 GB, free: 37.21 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.006621/0.9852, allocations: 3.5 MB / 1.139 GB, free: 34.65 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/0.9878, allocations: 0.5094 MB / 1.139 GB, free: 34.39 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007851/0.9957, allocations: 4.524 MB / 1.144 GB, free: 31.58 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009172/0.9966, allocations: 1.476 MB / 1.145 GB, free: 30.51 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001763/0.9984, allocations: 431.9 kB / 1.146 GB, free: 30.29 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003758/0.9988, allocations: 114.7 kB / 1.146 GB, free: 30.27 MB / 0.6823 GB Notification: Performance of SimCode: time 6.71e-07/0.9988, allocations: 4 kB / 1.146 GB, free: 30.26 MB / 0.6823 GB Notification: Performance of Templates: time 0.05136/1.05, allocations: 36.14 MB / 1.181 GB, free: 12.48 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)