Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.658/4.658, allocations: 0.5623 GB / 0.5769 GB, free: 66.94 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002663/0.002662, allocations: 363.8 kB / 0.644 GB, free: 21.48 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.323/4.323, allocations: 410.8 MB / 1.112 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0018/0.0018, allocations: 183.9 kB / 1.225 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004933/0.0004936, allocations: 11.22 kB / 1.348 GB, free: 321.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1618, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00463/0.1664, allocations: 4.257 MB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003849/0.1703, allocations: 2.324 MB / 1.467 GB, free: 214.1 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005259/0.1709, allocations: 23.75 kB / 1.467 GB, free: 214.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.1711, allocations: 75.34 kB / 1.467 GB, free: 214 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.1722, allocations: 359.4 kB / 1.468 GB, free: 213.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009148/0.1731, allocations: 282.7 kB / 1.468 GB, free: 213.4 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0009682/0.1741, allocations: 0.9688 MB / 1.469 GB, free: 212.4 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000769/0.1749, allocations: 425.2 kB / 1.469 GB, free: 212 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003462/0.1752, allocations: 278.7 kB / 1.469 GB, free: 211.7 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003702/0.1756, allocations: 323.2 kB / 1.47 GB, free: 211.4 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.015e-05/0.1757, allocations: 24.44 kB / 1.47 GB, free: 211.4 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004841/0.1762, allocations: 200.2 kB / 1.47 GB, free: 211.2 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.1764, allocations: 147.5 kB / 1.47 GB, free: 211 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.1765, allocations: 142.3 kB / 1.47 GB, free: 210.9 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0006204/0.1771, allocations: 0.6469 MB / 1.471 GB, free: 210.2 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.971e-06/0.1772, allocations: 0.6562 kB / 1.471 GB, free: 210.2 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.89e-06/0.1772, allocations: 0 / 1.471 GB, free: 210.2 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.52e-06/0.1772, allocations: 0.9062 kB / 1.471 GB, free: 210.2 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001162/0.1784, allocations: 0.8354 MB / 1.472 GB, free: 209.4 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1784, allocations: 13.41 kB / 1.472 GB, free: 209.4 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.18, allocations: 211.9 kB / 1.472 GB, free: 209.1 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007418/0.1807, allocations: 469.4 kB / 1.472 GB, free: 208.6 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/0.1808, allocations: 33.58 kB / 1.472 GB, free: 208.6 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.344e-05/0.1809, allocations: 49.81 kB / 1.472 GB, free: 208.6 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.182, allocations: 0.8351 MB / 1.473 GB, free: 207.6 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/0.182, allocations: 12.56 kB / 1.473 GB, free: 207.6 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/0.1821, allocations: 21.53 kB / 1.473 GB, free: 207.6 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001/0.1822, allocations: 68.95 kB / 1.473 GB, free: 207.5 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009434/0.1832, allocations: 0.563 MB / 1.474 GB, free: 207 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003977/0.1872, allocations: 5.644 MB / 1.479 GB, free: 200.9 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007271/0.1879, allocations: 468.7 kB / 1.48 GB, free: 200.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/0.1883, allocations: 225.3 kB / 1.48 GB, free: 200.3 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.1883, allocations: 1.156 kB / 1.48 GB, free: 200.3 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.1884, allocations: 48.25 kB / 1.48 GB, free: 200.2 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=32): time 4.095e-06/0.1884, allocations: 0 / 1.48 GB, free: 200.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33): time 0.002701/0.1911, allocations: 1.504 MB / 1.482 GB, free: 198.6 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.1911, allocations: 55.41 kB / 1.482 GB, free: 198.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005297/0.1917, allocations: 495.9 kB / 1.482 GB, free: 198 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.1917, allocations: 33.69 kB / 1.482 GB, free: 198 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.1919, allocations: 351.6 kB / 1.483 GB, free: 197.6 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.426e-05/0.192, allocations: 122.3 kB / 1.483 GB, free: 197.5 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.1921, allocations: 8.5 kB / 1.483 GB, free: 197.5 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.573e-05/0.1922, allocations: 364.7 kB / 1.483 GB, free: 197.2 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.1925, allocations: 197.2 kB / 1.483 GB, free: 197 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004261/0.1929, allocations: 442.8 kB / 1.484 GB, free: 196.4 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004226/0.1934, allocations: 265.2 kB / 1.484 GB, free: 196.2 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.903e-06/0.1934, allocations: 0 / 1.484 GB, free: 196.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001474/0.1949, allocations: 0.8086 MB / 1.485 GB, free: 195.4 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.1949, allocations: 8 kB / 1.485 GB, free: 195.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.195, allocations: 10.78 kB / 1.485 GB, free: 195.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005812/0.1956, allocations: 152.2 kB / 1.485 GB, free: 195.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.1961, allocations: 121.8 kB / 1.485 GB, free: 195.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00287/0.199, allocations: 4.037 MB / 1.489 GB, free: 190.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005587/0.1996, allocations: 33.28 kB / 1.489 GB, free: 190.6 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/0.1997, allocations: 28 kB / 1.489 GB, free: 190.6 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003012/0.2, allocations: 221 kB / 1.489 GB, free: 190.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.2001, allocations: 59.25 kB / 1.489 GB, free: 190.3 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.2013, allocations: 0.5995 MB / 1.49 GB, free: 189.7 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-06/0.2014, allocations: 7.953 kB / 1.49 GB, free: 189.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.403e-06/0.2014, allocations: 4 kB / 1.49 GB, free: 189.7 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.2014, allocations: 3.406 kB / 1.49 GB, free: 189.7 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002138/0.2036, allocations: 1.252 MB / 1.491 GB, free: 188.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.2036, allocations: 3.953 kB / 1.491 GB, free: 188.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/0.204, allocations: 55.89 kB / 1.491 GB, free: 188.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005764/0.2046, allocations: 147.1 kB / 1.491 GB, free: 188.1 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/0.2046, allocations: 8 kB / 1.491 GB, free: 188.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002938/0.2076, allocations: 4.022 MB / 1.495 GB, free: 183.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.547e-06/0.2076, allocations: 11.5 kB / 1.495 GB, free: 183.7 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.2089, allocations: 0.7082 MB / 1.496 GB, free: 182.9 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/0.2091, allocations: 167.4 kB / 1.496 GB, free: 182.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.115e-05/0.2092, allocations: 11.98 kB / 1.496 GB, free: 182.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/0.2096, allocations: 23.97 kB / 1.496 GB, free: 182.7 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.58e-05/0.2097, allocations: 27.91 kB / 1.496 GB, free: 182.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.2098, allocations: 8 kB / 1.496 GB, free: 182.7 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003803/0.2101, allocations: 332.2 kB / 1.496 GB, free: 182.4 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.82e-07/0.2102, allocations: 0 / 1.496 GB, free: 182.4 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008026/0.211, allocations: 144 kB / 1.497 GB, free: 182.2 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001377/0.2111, allocations: 110.7 kB / 1.497 GB, free: 182.1 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001492/0.2126, allocations: 1.032 MB / 1.498 GB, free: 181 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.296e-06/0.2127, allocations: 0 / 1.498 GB, free: 181 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0008755/0.2135, allocations: 0.7411 MB / 1.498 GB, free: 180.2 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.2148, allocations: 190.1 kB / 1.499 GB, free: 180 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.2165, allocations: 1.212 MB / 1.5 GB, free: 178.7 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.217, allocations: 0.9253 MB / 1.501 GB, free: 177.8 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004831/0.2175, allocations: 117.3 kB / 1.501 GB, free: 177.7 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.2176, allocations: 39.44 kB / 1.501 GB, free: 177.6 MB / 0.8073 GB Notification: Performance of SimCode: time 1.713e-06/0.2176, allocations: 4 kB / 1.501 GB, free: 177.6 MB / 0.8073 GB Notification: Performance of Templates: time 0.01637/0.234, allocations: 7.027 MB / 1.508 GB, free: 170.7 MB / 0.8073 GB