Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.489/2.489, 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.001635/0.001634, allocations: 167.1 kB / 325.6 MB, free: 2.828 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.455/2.455, allocations: 205.4 MB / 0.5766 GB, free: 20.79 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.001134/0.001135, allocations: 104 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007121/0.0007121, allocations: 14.09 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2461, allocations: 106.2 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008055/0.2543, allocations: 5.71 MB / 0.9045 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005814/0.2601, allocations: 2.906 MB / 0.9073 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006505/0.2608, allocations: 23.81 kB / 0.9073 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004099/0.2613, allocations: 115.2 kB / 0.9074 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.2626, allocations: 426.7 kB / 0.9078 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.2638, allocations: 317.8 kB / 0.9081 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001101/0.2649, allocations: 0.7389 MB / 0.9089 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002008/0.2669, allocations: 0.9326 MB / 0.9098 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000609/0.2676, allocations: 354.7 kB / 0.9101 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006428/0.2682, allocations: 390.5 kB / 0.9105 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.2683, allocations: 36 kB / 0.9105 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005112/0.2689, allocations: 151.8 kB / 0.9107 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000268/0.2692, allocations: 247.3 kB / 0.9109 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.2693, allocations: 177.3 kB / 0.9111 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.2704, allocations: 0.8612 MB / 0.9119 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2704, allocations: 4 kB / 0.9119 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.013e-06/0.2704, allocations: 4 kB / 0.9119 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.2704, allocations: 0 / 0.9119 GB, free: 52.05 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.002135/0.2726, allocations: 0.9932 MB / 0.9129 GB, free: 51 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.2726, allocations: 8.031 kB / 0.9129 GB, free: 50.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.2745, allocations: 222.7 kB / 0.9131 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.2757, allocations: 0.5288 MB / 0.9136 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.497e-05/0.2757, allocations: 45.31 kB / 0.9137 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.2759, allocations: 67.98 kB / 0.9137 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/0.2779, allocations: 1.073 MB / 0.9148 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.792e-05/0.2779, allocations: 7.922 kB / 0.9148 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.278, allocations: 28 kB / 0.9148 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002218/0.2783, allocations: 89.2 kB / 0.9149 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.2799, allocations: 0.7464 MB / 0.9156 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006385/0.2863, allocations: 5.894 MB / 0.9214 GB, free: 41.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.2878, allocations: 0.5457 MB / 0.9219 GB, free: 41.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.028e-05/0.2879, allocations: 8.375 kB / 0.9219 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.2879, allocations: 47 kB / 0.922 GB, free: 41.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 2.945e-06/0.2879, allocations: 0 / 0.922 GB, free: 41.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.005547/0.2935, allocations: 1.976 MB / 0.9239 GB, free: 39.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.2936, allocations: 59.78 kB / 0.924 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007761/0.2944, allocations: 0.5508 MB / 0.9245 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.796e-05/0.2944, allocations: 37.7 kB / 0.9245 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.2947, allocations: 418.9 kB / 0.9249 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.2948, allocations: 169.6 kB / 0.9251 GB, free: 37.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.141e-05/0.2949, allocations: 15.94 kB / 0.9251 GB, free: 37.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.295, allocations: 370.8 kB / 0.9255 GB, free: 37.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006028/0.2956, allocations: 273.8 kB / 0.9257 GB, free: 37.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007063/0.2964, allocations: 493 kB / 0.9262 GB, free: 36.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007448/0.2971, allocations: 342 kB / 0.9265 GB, free: 36.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.2971, allocations: 4 kB / 0.9265 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002726/0.2999, allocations: 1.075 MB / 0.9276 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.2999, allocations: 11.94 kB / 0.9276 GB, free: 35.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.3, allocations: 12 kB / 0.9276 GB, free: 35.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001351/0.3013, allocations: 279.8 kB / 0.9279 GB, free: 34.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009204/0.3023, allocations: 127.8 kB / 0.928 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007684/0.31, allocations: 6.704 MB / 0.9345 GB, free: 27.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009806/0.311, allocations: 35.97 kB / 0.9346 GB, free: 27.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.917e-05/0.3111, allocations: 28 kB / 0.9346 GB, free: 27.37 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.0004637/0.3116, allocations: 249.5 kB / 0.9348 GB, free: 27.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.3117, allocations: 71.16 kB / 0.9349 GB, free: 27.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/0.314, allocations: 0.8925 MB / 0.9358 GB, free: 26.13 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.3141, allocations: 8 kB / 0.9358 GB, free: 26.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.136e-05/0.3142, allocations: 4 kB / 0.9358 GB, free: 26.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/0.3142, allocations: 3.984 kB / 0.9358 GB, free: 26.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005073/0.3193, allocations: 1.725 MB / 0.9375 GB, free: 24.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.3193, allocations: 4 kB / 0.9375 GB, free: 24.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004955/0.3198, allocations: 55.89 kB / 0.9375 GB, free: 24.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001249/0.3211, allocations: 271.6 kB / 0.9378 GB, free: 23.97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.678e-05/0.3212, allocations: 8.25 kB / 0.9378 GB, free: 23.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007848/0.329, allocations: 6.69 MB / 0.9443 GB, free: 16.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3291, allocations: 0 / 0.9443 GB, free: 16.74 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/0.3316, allocations: 1.056 MB / 0.9454 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004473/0.3321, allocations: 192.2 kB / 0.9455 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.3322, allocations: 19.89 kB / 0.9456 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006242/0.3328, allocations: 27.97 kB / 0.9456 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.333, allocations: 47.88 kB / 0.9456 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/0.3331, allocations: 16 kB / 0.9456 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005836/0.3337, allocations: 379 kB / 0.946 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.41e-07/0.3337, allocations: 0 / 0.946 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001192/0.3349, allocations: 224 kB / 0.9462 GB, free: 14.7 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.0001956/0.3351, allocations: 115.2 kB / 0.9463 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002827/0.338, allocations: 1.268 MB / 0.9476 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.338, allocations: 0 / 0.9476 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001833/0.3399, allocations: 0.8897 MB / 0.9484 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.3414, allocations: 198.9 kB / 0.9486 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.3445, allocations: 1.585 MB / 0.9502 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005874/0.3452, allocations: 1.024 MB / 0.9512 GB, free: 9.441 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007924/0.346, allocations: 122 kB / 0.9513 GB, free: 9.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.3462, allocations: 39.44 kB / 0.9513 GB, free: 9.281 MB / 0.6042 GB Notification: Performance of SimCode: time 1.092e-06/0.3462, allocations: 4 kB / 0.9513 GB, free: 9.277 MB / 0.6042 GB Notification: Performance of Templates: time 0.03193/0.3781, allocations: 10.26 MB / 0.9614 GB, free: 15.13 MB / 0.6198 GB