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_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.281/2.281, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.002062/0.002062, allocations: 182.9 kB / 325.6 MB, free: 2.82 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.402/2.402, 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.001214/0.001214, allocations: 100.1 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007322/0.0007325, allocations: 11.91 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2388, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006842/0.2457, allocations: 4.638 MB / 0.9034 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005151/0.2509, allocations: 2.484 MB / 0.9058 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006623/0.2517, allocations: 23.81 kB / 0.9059 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003795/0.2521, allocations: 87.38 kB / 0.906 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.2534, allocations: 331 kB / 0.9063 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.2548, allocations: 292.8 kB / 0.9065 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001287/0.2561, allocations: 0.5746 MB / 0.9071 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.2579, allocations: 0.7415 MB / 0.9078 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006242/0.2585, allocations: 286.9 kB / 0.9081 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006448/0.2592, allocations: 294.9 kB / 0.9084 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.2593, allocations: 28 kB / 0.9084 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005848/0.2599, allocations: 151.8 kB / 0.9086 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002366/0.2602, allocations: 203.4 kB / 0.9088 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.2604, allocations: 145.3 kB / 0.9089 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009772/0.2613, allocations: 0.6821 MB / 0.9096 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2614, allocations: 4 kB / 0.9096 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.045e-06/0.2614, allocations: 0 / 0.9096 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.2614, allocations: 3.938 kB / 0.9096 GB, free: 54.45 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001935/0.2634, allocations: 0.8451 MB / 0.9104 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.2634, allocations: 8.031 kB / 0.9104 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/0.2653, allocations: 183 kB / 0.9106 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.2665, allocations: 465.5 kB / 0.911 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.681e-05/0.2666, allocations: 44.98 kB / 0.9111 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002452/0.2669, allocations: 55.97 kB / 0.9111 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.2685, allocations: 0.8199 MB / 0.9119 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.258e-05/0.2686, allocations: 11.84 kB / 0.9119 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.49e-05/0.2687, allocations: 19.98 kB / 0.9119 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003269/0.269, allocations: 68.95 kB / 0.912 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.2705, allocations: 0.5658 MB / 0.9126 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005961/0.2765, allocations: 4.589 MB / 0.917 GB, free: 46.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.2775, allocations: 307.1 kB / 0.9173 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.2777, allocations: 4.281 kB / 0.9173 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.357e-05/0.2778, allocations: 38.84 kB / 0.9174 GB, free: 45.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 7.945e-06/0.2779, allocations: 0 / 0.9174 GB, free: 45.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.009282/0.2872, allocations: 2.625 MB / 0.9199 GB, free: 43.15 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.2872, allocations: 55.41 kB / 0.92 GB, free: 43.08 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005973/0.2878, allocations: 458 kB / 0.9204 GB, free: 42.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.647e-05/0.2879, allocations: 29.7 kB / 0.9205 GB, free: 42.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.2881, allocations: 339.6 kB / 0.9208 GB, free: 42.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.2883, allocations: 149.9 kB / 0.9209 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.2883, allocations: 8 kB / 0.9209 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.702e-05/0.2884, allocations: 362.8 kB / 0.9213 GB, free: 41.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005189/0.289, allocations: 233 kB / 0.9215 GB, free: 41.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006069/0.2896, allocations: 411.2 kB / 0.9219 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006354/0.2902, allocations: 293.5 kB / 0.9222 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.2903, allocations: 0 / 0.9222 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002538/0.2928, allocations: 0.9172 MB / 0.9231 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.2929, allocations: 8 kB / 0.9231 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.2929, allocations: 4 kB / 0.9231 GB, free: 39.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.2941, allocations: 223 kB / 0.9233 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000956/0.2951, allocations: 119.8 kB / 0.9234 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006194/0.3013, allocations: 5.009 MB / 0.9283 GB, free: 34.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007696/0.3021, allocations: 31.91 kB / 0.9283 GB, free: 34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-05/0.3022, allocations: 24 kB / 0.9284 GB, free: 33.98 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000376/0.3026, allocations: 229.6 kB / 0.9286 GB, free: 33.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.3027, allocations: 59.41 kB / 0.9286 GB, free: 33.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/0.3049, allocations: 0.7619 MB / 0.9294 GB, free: 32.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.305, allocations: 8.281 kB / 0.9294 GB, free: 32.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.305, allocations: 4 kB / 0.9294 GB, free: 32.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.305, allocations: 0 / 0.9294 GB, free: 32.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003506/0.3085, allocations: 1.5 MB / 0.9308 GB, free: 31.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.3086, allocations: 0 / 0.9308 GB, free: 31.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006885/0.3092, allocations: 76.09 kB / 0.9309 GB, free: 31.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/0.3104, allocations: 202.4 kB / 0.9311 GB, free: 31.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.948e-05/0.3105, allocations: 8 kB / 0.9311 GB, free: 31.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005907/0.3164, allocations: 4.951 MB / 0.936 GB, free: 25.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.3164, allocations: 4.031 kB / 0.936 GB, free: 25.67 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/0.3191, allocations: 1.205 MB / 0.9371 GB, free: 24.37 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003328/0.3195, allocations: 168.5 kB / 0.9373 GB, free: 24.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.3196, allocations: 16 kB / 0.9373 GB, free: 24.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005361/0.3202, allocations: 31.92 kB / 0.9373 GB, free: 24.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.3203, allocations: 43.77 kB / 0.9374 GB, free: 24.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/0.3204, allocations: 12 kB / 0.9374 GB, free: 24.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004287/0.3208, allocations: 302.9 kB / 0.9377 GB, free: 23.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.2e-07/0.3208, allocations: 4 kB / 0.9377 GB, free: 23.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000927/0.3218, allocations: 168 kB / 0.9378 GB, free: 23.62 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001846/0.322, allocations: 115.7 kB / 0.938 GB, free: 23.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002264/0.3243, allocations: 1.012 MB / 0.9389 GB, free: 22.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.3243, allocations: 0 / 0.9389 GB, free: 22.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.3257, allocations: 0.6723 MB / 0.9396 GB, free: 21.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/0.3276, allocations: 160.8 kB / 0.9398 GB, free: 21.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005735/0.3334, allocations: 1.511 MB / 0.9412 GB, free: 20.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/0.3348, allocations: 0.9611 MB / 0.9422 GB, free: 19.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001227/0.3361, allocations: 109 kB / 0.9423 GB, free: 18.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/0.3364, allocations: 43.42 kB / 0.9423 GB, free: 18.88 MB / 0.6042 GB Notification: Performance of SimCode: time 1.934e-06/0.3364, allocations: 0 / 0.9423 GB, free: 18.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.03597/0.3724, allocations: 8.123 MB / 0.9503 GB, free: 10.87 MB / 0.6042 GB