Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.496/2.496, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00201/0.00201, allocations: 170.3 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.431/2.431, allocations: 205.4 MB / 0.5766 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001124, allocations: 91.36 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.0004741, allocations: 15.53 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2271, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008266/0.2354, allocations: 5.772 MB / 0.9045 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005996/0.2415, allocations: 2.933 MB / 0.9074 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007457/0.2423, allocations: 27.81 kB / 0.9074 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004406/0.2427, allocations: 123.1 kB / 0.9075 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.2444, allocations: 410.7 kB / 0.9079 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.2459, allocations: 341 kB / 0.9083 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001548/0.2475, allocations: 0.7428 MB / 0.909 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002302/0.2498, allocations: 0.9287 MB / 0.9099 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007655/0.2506, allocations: 354.7 kB / 0.9102 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007279/0.2513, allocations: 394.5 kB / 0.9106 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.2515, allocations: 36 kB / 0.9106 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005817/0.2521, allocations: 155.7 kB / 0.9108 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002808/0.2524, allocations: 247.2 kB / 0.911 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002264/0.2526, allocations: 177.3 kB / 0.9112 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.2538, allocations: 0.8651 MB / 0.912 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2538, allocations: 0 / 0.912 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2538, allocations: 4 kB / 0.912 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.2538, allocations: 0 / 0.912 GB, free: 51.92 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002349/0.2562, allocations: 1.001 MB / 0.913 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.2563, allocations: 8.031 kB / 0.913 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002023/0.2583, allocations: 230.6 kB / 0.9132 GB, free: 50.63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.2596, allocations: 0.5326 MB / 0.9138 GB, free: 50.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.773e-05/0.2597, allocations: 53.23 kB / 0.9138 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.2598, allocations: 60 kB / 0.9139 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/0.2619, allocations: 1.073 MB / 0.9149 GB, free: 48.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.096e-05/0.262, allocations: 3.938 kB / 0.9149 GB, free: 48.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.2621, allocations: 35.98 kB / 0.915 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002341/0.2623, allocations: 89.2 kB / 0.915 GB, free: 48.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.2641, allocations: 0.7426 MB / 0.9158 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006906/0.271, allocations: 5.894 MB / 0.9215 GB, free: 41.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.2726, allocations: 0.5501 MB / 0.9221 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.625e-05/0.2727, allocations: 4.438 kB / 0.9221 GB, free: 41.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.2727, allocations: 50.94 kB / 0.9221 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 4.338e-06/0.2727, allocations: 0 / 0.9221 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.00586/0.2786, allocations: 1.988 MB / 0.924 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.2787, allocations: 55.84 kB / 0.9241 GB, free: 38.81 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008091/0.2795, allocations: 0.5587 MB / 0.9246 GB, free: 38.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.162e-05/0.2796, allocations: 33.7 kB / 0.9247 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/0.2799, allocations: 418.9 kB / 0.9251 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.2801, allocations: 169.6 kB / 0.9252 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.2801, allocations: 12 kB / 0.9253 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.2803, allocations: 374.8 kB / 0.9256 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006102/0.2809, allocations: 273.8 kB / 0.9259 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007028/0.2816, allocations: 496.9 kB / 0.9263 GB, free: 36.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007336/0.2823, allocations: 342 kB / 0.9267 GB, free: 36.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.2824, allocations: 4 kB / 0.9267 GB, free: 36.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002756/0.2851, allocations: 1.079 MB / 0.9277 GB, free: 34.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.2852, allocations: 8 kB / 0.9277 GB, free: 34.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.2852, allocations: 8 kB / 0.9277 GB, free: 34.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.2866, allocations: 275.8 kB / 0.928 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009137/0.2875, allocations: 131.7 kB / 0.9281 GB, free: 34.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007797/0.2953, allocations: 6.708 MB / 0.9347 GB, free: 27.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.2964, allocations: 35.97 kB / 0.9347 GB, free: 27.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.978e-05/0.2965, allocations: 28 kB / 0.9347 GB, free: 27.2 MB / 0.6042 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 (67): * Single equations (assignments): 63 * 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 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004411/0.2969, allocations: 252 kB / 0.935 GB, free: 26.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.2971, allocations: 75.16 kB / 0.9351 GB, free: 26.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/0.2995, allocations: 0.8964 MB / 0.9359 GB, free: 25.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.2995, allocations: 4 kB / 0.9359 GB, free: 25.95 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.2995, allocations: 4 kB / 0.9359 GB, free: 25.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.2995, allocations: 3.984 kB / 0.9359 GB, free: 25.94 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0039/0.3034, allocations: 1.725 MB / 0.9376 GB, free: 24.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.3035, allocations: 4.031 kB / 0.9376 GB, free: 24.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005362/0.3041, allocations: 63.89 kB / 0.9377 GB, free: 24.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/0.3053, allocations: 263.4 kB / 0.9379 GB, free: 23.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.79e-05/0.3054, allocations: 16 kB / 0.938 GB, free: 23.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007767/0.3132, allocations: 6.694 MB / 0.9445 GB, free: 16.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.3133, allocations: 4.031 kB / 0.9445 GB, free: 16.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/0.3156, allocations: 1.044 MB / 0.9455 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004689/0.3161, allocations: 192.2 kB / 0.9457 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.3163, allocations: 15.95 kB / 0.9457 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006404/0.3169, allocations: 31.97 kB / 0.9457 GB, free: 15.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.3172, allocations: 47.83 kB / 0.9458 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.824e-05/0.3172, allocations: 12 kB / 0.9458 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005725/0.3178, allocations: 383.1 kB / 0.9462 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.6e-07/0.3178, allocations: 0 / 0.9462 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001145/0.319, allocations: 228 kB / 0.9464 GB, free: 14.52 MB / 0.6042 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 (31): * Single equations (assignments): 27 * 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 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001907/0.3192, allocations: 119.2 kB / 0.9465 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002794/0.322, allocations: 1.26 MB / 0.9477 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.322, allocations: 4 kB / 0.9477 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001824/0.3239, allocations: 0.8936 MB / 0.9486 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/0.3255, allocations: 188.8 kB / 0.9488 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.3286, allocations: 1.603 MB / 0.9504 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005748/0.3293, allocations: 1.028 MB / 0.9514 GB, free: 9.238 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007424/0.33, allocations: 130 kB / 0.9515 GB, free: 9.109 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.3302, allocations: 39.44 kB / 0.9515 GB, free: 9.07 MB / 0.6042 GB Notification: Performance of SimCode: time 1.333e-06/0.3302, allocations: 0 / 0.9515 GB, free: 9.07 MB / 0.6042 GB Notification: Performance of Templates: time 0.02828/0.3585, allocations: 10.29 MB / 0.9616 GB, free: 14.89 MB / 0.6198 GB