Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.486/2.486, allocations: 287.9 MB / 302.9 MB, free: 8.367 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001456/0.001456, allocations: 179.2 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.4 MB / 0.6301 GB, free: 10.42 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 86.86 kB / 0.7434 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004787/0.000479, allocations: 15.67 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2128, allocations: 115.3 MB / 0.9788 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005439/0.2183, allocations: 4.696 MB / 0.9833 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004122/0.2224, allocations: 2.497 MB / 0.9858 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000425/0.2229, allocations: 23.81 kB / 0.9858 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.2232, allocations: 91.36 kB / 0.9859 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007975/0.224, allocations: 323 kB / 0.9862 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000926/0.2249, allocations: 306.1 kB / 0.9865 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006616/0.2256, allocations: 0.5824 MB / 0.9871 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.2269, allocations: 0.7437 MB / 0.9878 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003532/0.2272, allocations: 286.9 kB / 0.9881 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004174/0.2277, allocations: 298.8 kB / 0.9884 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.613e-05/0.2278, allocations: 24 kB / 0.9884 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000415/0.2282, allocations: 155.7 kB / 0.9885 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.2284, allocations: 199.5 kB / 0.9887 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.2285, allocations: 149.3 kB / 0.9889 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006771/0.2292, allocations: 0.6937 MB / 0.9895 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.669e-06/0.2292, allocations: 3.938 kB / 0.9895 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.995e-06/0.2292, allocations: 4 kB / 0.9895 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.2293, allocations: 0 / 0.9895 GB, free: 17.1 MB / 0.6198 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.001283/0.2306, allocations: 0.8499 MB / 0.9904 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.2306, allocations: 8.031 kB / 0.9904 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.232, allocations: 179 kB / 0.9905 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007209/0.2328, allocations: 489.5 kB / 0.991 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.2328, allocations: 33 kB / 0.991 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.233, allocations: 59.84 kB / 0.9911 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.2342, allocations: 0.8161 MB / 0.9919 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.2342, allocations: 7.938 kB / 0.9919 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.727e-05/0.2343, allocations: 16 kB / 0.9919 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001998/0.2345, allocations: 72.94 kB / 0.992 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.2356, allocations: 0.5619 MB / 0.9925 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004115/0.2397, allocations: 4.608 MB / 0.997 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000534/0.2403, allocations: 291.3 kB / 0.9973 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.2403, allocations: 4.281 kB / 0.9973 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.2403, allocations: 38.84 kB / 0.9974 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 3.058e-06/0.2404, allocations: 0 / 0.9974 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.005994/0.2464, allocations: 2.627 MB / 0.9999 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.2464, allocations: 55.41 kB / 1 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005019/0.2469, allocations: 462 kB / 1 GB, free: 5.266 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.247, allocations: 33.7 kB / 1 GB, free: 5.227 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.2472, allocations: 335.7 kB / 1.001 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.2473, allocations: 149.9 kB / 1.001 GB, free: 4.742 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.2473, allocations: 12 kB / 1.001 GB, free: 4.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.97e-05/0.2474, allocations: 358.8 kB / 1.001 GB, free: 4.371 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004224/0.2478, allocations: 240.9 kB / 1.001 GB, free: 4.133 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005009/0.2484, allocations: 402.4 kB / 1.002 GB, free: 3.668 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004988/0.2489, allocations: 289.7 kB / 1.002 GB, free: 3.387 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.755e-06/0.2489, allocations: 4 kB / 1.002 GB, free: 3.383 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001897/0.2508, allocations: 0.9211 MB / 1.003 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.2508, allocations: 5.719 kB / 1.003 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.2509, allocations: 8 kB / 1.003 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009322/0.2518, allocations: 231 kB / 1.003 GB, free: 2.199 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005855/0.2524, allocations: 107.9 kB / 1.003 GB, free: 2.094 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006038/0.2585, allocations: 5.013 MB / 1.008 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005671/0.2591, allocations: 31.97 kB / 1.008 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/0.2591, allocations: 20 kB / 1.008 GB, free: 12.63 MB / 0.6355 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.000417/0.2596, allocations: 225.6 kB / 1.009 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.2597, allocations: 63.34 kB / 1.009 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/0.2617, allocations: 0.7704 MB / 1.009 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.523e-06/0.2617, allocations: 8 kB / 1.009 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.2618, allocations: 7.984 kB / 1.009 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.2618, allocations: 7.938 kB / 1.009 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003316/0.2651, allocations: 1.494 MB / 1.011 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.475e-06/0.2651, allocations: 0 / 1.011 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00049/0.2656, allocations: 71.89 kB / 1.011 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009352/0.2666, allocations: 202.9 kB / 1.011 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.56e-05/0.2667, allocations: 15.98 kB / 1.011 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006703/0.2734, allocations: 4.947 MB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.844e-06/0.2734, allocations: 7.969 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002574/0.276, allocations: 1.213 MB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/0.2764, allocations: 172.3 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.976e-05/0.2765, allocations: 19.95 kB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/0.2769, allocations: 27.97 kB / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.2771, allocations: 35.89 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.39e-05/0.2771, allocations: 16 kB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004791/0.2776, allocations: 310.9 kB / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.71e-07/0.2776, allocations: 0 / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008752/0.2785, allocations: 168 kB / 1.018 GB, free: 2.242 MB / 0.6355 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.0001943/0.2787, allocations: 115.1 kB / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002092/0.2808, allocations: 0.9966 MB / 1.019 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.511e-06/0.2808, allocations: 4.062 kB / 1.019 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.2821, allocations: 0.6836 MB / 1.02 GB, free: 364 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009553/0.2831, allocations: 156.3 kB / 1.02 GB, free: 208 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.2859, allocations: 1.499 MB / 1.021 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000811/0.2867, allocations: 0.9572 MB / 1.022 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005396/0.2873, allocations: 113 kB / 1.022 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.2874, allocations: 43.42 kB / 1.022 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of SimCode: time 1.653e-06/0.2874, allocations: 3.938 kB / 1.022 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of Templates: time 0.02087/0.3083, allocations: 8.152 MB / 1.03 GB, free: 5.473 MB / 0.6511 GB