Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.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.535/2.535, allocations: 287.9 MB / 302.9 MB, free: 8.305 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.001427/0.001427, allocations: 174.8 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.174/2.174, allocations: 205.4 MB / 0.6301 GB, free: 10.39 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.001723/0.001723, allocations: 105.6 kB / 0.7434 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004743/0.0004745, allocations: 13.59 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1565, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005802/0.1623, allocations: 4.63 MB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004306/0.1667, allocations: 2.488 MB / 0.9857 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000462/0.1672, allocations: 19.81 kB / 0.9857 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.1675, allocations: 95.31 kB / 0.9858 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009839/0.1685, allocations: 319 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009727/0.1695, allocations: 289.2 kB / 0.9864 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008076/0.1703, allocations: 0.5785 MB / 0.987 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.1716, allocations: 0.7476 MB / 0.9877 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004001/0.1721, allocations: 282.9 kB / 0.988 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004209/0.1725, allocations: 298.8 kB / 0.9882 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.778e-05/0.1726, allocations: 24 kB / 0.9883 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004359/0.173, allocations: 155.8 kB / 0.9884 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.1732, allocations: 199.4 kB / 0.9886 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.1734, allocations: 149.4 kB / 0.9887 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007039/0.1741, allocations: 0.6975 MB / 0.9894 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.161e-06/0.1741, allocations: 0 / 0.9894 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.145e-06/0.1741, allocations: 0 / 0.9894 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.1741, allocations: 0 / 0.9894 GB, free: 17.16 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.001333/0.1755, allocations: 0.8296 MB / 0.9902 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.1755, allocations: 16.03 kB / 0.9903 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/0.1771, allocations: 186.8 kB / 0.9904 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000774/0.1779, allocations: 473.5 kB / 0.9909 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.1779, allocations: 40.94 kB / 0.9909 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/0.1781, allocations: 55.98 kB / 0.991 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.1794, allocations: 0.8247 MB / 0.9918 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.1795, allocations: 0 / 0.9918 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.645e-05/0.1796, allocations: 20 kB / 0.9918 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002231/0.1798, allocations: 72.88 kB / 0.9919 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.1809, allocations: 0.5658 MB / 0.9924 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004531/0.1855, allocations: 4.593 MB / 0.9969 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005735/0.1861, allocations: 295.2 kB / 0.9972 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.1861, allocations: 4.281 kB / 0.9972 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1862, allocations: 38.78 kB / 0.9972 GB, free: 8.633 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 3.726e-06/0.1862, allocations: 0 / 0.9972 GB, free: 8.633 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.006449/0.1926, allocations: 2.634 MB / 0.9998 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.1927, allocations: 55.41 kB / 0.9999 GB, free: 5.805 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000538/0.1933, allocations: 446 kB / 1 GB, free: 5.355 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.722e-05/0.1933, allocations: 37.7 kB / 1 GB, free: 5.312 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.1935, allocations: 339.7 kB / 1.001 GB, free: 4.973 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.1936, allocations: 141.9 kB / 1.001 GB, free: 4.832 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.1937, allocations: 12 kB / 1.001 GB, free: 4.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.281e-05/0.1938, allocations: 362.8 kB / 1.001 GB, free: 4.457 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004507/0.1942, allocations: 237 kB / 1.001 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005267/0.1948, allocations: 406.4 kB / 1.002 GB, free: 3.754 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005327/0.1953, allocations: 289.7 kB / 1.002 GB, free: 3.473 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.241e-06/0.1953, allocations: 4 kB / 1.002 GB, free: 3.469 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002088/0.1974, allocations: 0.9133 MB / 1.003 GB, free: 2.539 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.1975, allocations: 8.656 kB / 1.003 GB, free: 2.531 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.1975, allocations: 11.92 kB / 1.003 GB, free: 2.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009642/0.1985, allocations: 226.4 kB / 1.003 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006059/0.1991, allocations: 119.8 kB / 1.003 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006399/0.2055, allocations: 5.005 MB / 1.008 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005991/0.2062, allocations: 31.97 kB / 1.008 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.347e-05/0.2063, allocations: 24 kB / 1.008 GB, free: 12.71 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.0004329/0.2067, allocations: 222 kB / 1.008 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.2068, allocations: 59.34 kB / 1.008 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/0.2089, allocations: 0.7703 MB / 1.009 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.601e-06/0.209, allocations: 4 kB / 1.009 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.209, allocations: 8 kB / 1.009 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.982e-06/0.209, allocations: 3.984 kB / 1.009 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003591/0.2126, allocations: 1.502 MB / 1.011 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.177e-06/0.2127, allocations: 0 / 1.011 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004924/0.2132, allocations: 71.88 kB / 1.011 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009559/0.2141, allocations: 202.5 kB / 1.011 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/0.2142, allocations: 8 kB / 1.011 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006947/0.2212, allocations: 4.959 MB / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.961e-06/0.2212, allocations: 0 / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002722/0.2239, allocations: 1.213 MB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003523/0.2243, allocations: 168.4 kB / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.474e-05/0.2244, allocations: 8 kB / 1.017 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000431/0.2249, allocations: 31.95 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.225, allocations: 43.73 kB / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.966e-05/0.2251, allocations: 15.98 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000495/0.2256, allocations: 306.9 kB / 1.018 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.81e-07/0.2256, allocations: 0 / 1.018 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009319/0.2265, allocations: 172 kB / 1.018 GB, free: 2.34 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.0001965/0.2267, allocations: 111.1 kB / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002236/0.229, allocations: 1 MB / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.432e-06/0.229, allocations: 0 / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.2304, allocations: 0.676 MB / 1.019 GB, free: 476 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009887/0.2314, allocations: 158.8 kB / 1.02 GB, free: 324 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/0.2343, allocations: 1.491 MB / 1.021 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008049/0.2351, allocations: 0.9611 MB / 1.022 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005934/0.2357, allocations: 113 kB / 1.022 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.2359, allocations: 39.44 kB / 1.022 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of SimCode: time 1.675e-06/0.2359, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of Templates: time 0.02274/0.2586, allocations: 8.135 MB / 1.03 GB, free: 5.609 MB / 0.6511 GB