Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.813/4.813, allocations: 0.5623 GB / 0.5769 GB, free: 3.312 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002394/0.002393, allocations: 355.5 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.203/4.203, allocations: 410.8 MB / 1.112 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00168/0.00168, allocations: 178.8 kB / 1.225 GB, free: 35.94 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004803/0.0004805, allocations: 8.562 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1579, allocations: 115.3 MB / 1.461 GB, free: 6.562 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003535/0.1615, allocations: 2.825 MB / 1.464 GB, free: 3.723 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002924/0.1645, allocations: 1.732 MB / 1.465 GB, free: 1.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.1647, allocations: 3.938 kB / 1.465 GB, free: 1.977 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.1649, allocations: 35.7 kB / 1.465 GB, free: 1.941 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005074/0.1654, allocations: 171 kB / 1.465 GB, free: 1.773 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007055/0.1661, allocations: 219.4 kB / 1.466 GB, free: 1.559 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000561/0.1667, allocations: 474.5 kB / 1.466 GB, free: 1.094 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.1677, allocations: 437.2 kB / 1.466 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.168, allocations: 127.5 kB / 1.467 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004245/0.1685, allocations: 191.3 kB / 1.467 GB, free: 332 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.679e-05/0.1685, allocations: 12 kB / 1.467 GB, free: 320 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004209/0.169, allocations: 135.7 kB / 1.467 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.1691, allocations: 107.7 kB / 1.467 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.558e-05/0.1692, allocations: 69.58 kB / 1.467 GB, free: 0 / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005508/0.1698, allocations: 355.4 kB / 1.467 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.582e-06/0.1698, allocations: 0 / 1.467 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.985e-06/0.1698, allocations: 4 kB / 1.467 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.151e-06/0.1699, allocations: 0 / 1.467 GB, free: 15.65 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.00115/0.171, allocations: 0.5301 MB / 1.468 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1711, allocations: 12.03 kB / 1.468 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009909/0.1721, allocations: 103.5 kB / 1.468 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.1726, allocations: 276.3 kB / 1.468 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.1726, allocations: 24.53 kB / 1.468 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.1728, allocations: 32 kB / 1.468 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008885/0.1737, allocations: 437.1 kB / 1.469 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.1737, allocations: 3.938 kB / 1.469 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.072e-05/0.1738, allocations: 15.98 kB / 1.469 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000184/0.174, allocations: 44.48 kB / 1.469 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007635/0.1748, allocations: 345.9 kB / 1.469 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003496/0.1783, allocations: 2.203 MB / 1.471 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006098/0.1789, allocations: 266.1 kB / 1.472 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/0.1793, allocations: 165.1 kB / 1.472 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.1793, allocations: 4.188 kB / 1.472 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.1794, allocations: 30.75 kB / 1.472 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 3.56e-06/0.1794, allocations: 3.938 kB / 1.472 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.002471/0.1819, allocations: 1.066 MB / 1.473 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.182, allocations: 51.41 kB / 1.473 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/0.1823, allocations: 248.9 kB / 1.473 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.1824, allocations: 29.7 kB / 1.473 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.1826, allocations: 191.9 kB / 1.473 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.1827, allocations: 82.84 kB / 1.473 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.1827, allocations: 4 kB / 1.473 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.1829, allocations: 342.8 kB / 1.474 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/0.1832, allocations: 147.9 kB / 1.474 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004105/0.1837, allocations: 229.6 kB / 1.474 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.1841, allocations: 193.2 kB / 1.474 GB, free: 8.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.1841, allocations: 0 / 1.474 GB, free: 8.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001588/0.1857, allocations: 0.5848 MB / 1.475 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.1858, allocations: 15.92 kB / 1.475 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.889e-06/0.1858, allocations: 0 / 1.475 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009076/0.1867, allocations: 189 kB / 1.475 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/0.1871, allocations: 63.89 kB / 1.475 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003945/0.1911, allocations: 2.296 MB / 1.477 GB, free: 4.867 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.1915, allocations: 15.98 kB / 1.477 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-05/0.1916, allocations: 16 kB / 1.477 GB, free: 4.836 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002649/0.1919, allocations: 161.7 kB / 1.478 GB, free: 4.668 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.913e-05/0.192, allocations: 23.72 kB / 1.478 GB, free: 4.645 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007914/0.1928, allocations: 354 kB / 1.478 GB, free: 4.293 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.561e-06/0.1928, allocations: 4 kB / 1.478 GB, free: 4.289 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.273e-06/0.1928, allocations: 0 / 1.478 GB, free: 4.289 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.24e-06/0.1928, allocations: 3.984 kB / 1.478 GB, free: 4.285 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.1944, allocations: 0.8121 MB / 1.479 GB, free: 3.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.703e-06/0.1944, allocations: 0 / 1.479 GB, free: 3.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/0.195, allocations: 76 kB / 1.479 GB, free: 3.336 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.971e-06/0.195, allocations: 0 / 1.479 GB, free: 3.336 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.696e-05/0.1951, allocations: 11.98 kB / 1.479 GB, free: 3.324 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.155e-06/0.1951, allocations: 4 kB / 1.479 GB, free: 3.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.276e-06/0.1951, allocations: 0 / 1.479 GB, free: 3.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.1962, allocations: 0.6064 MB / 1.479 GB, free: 2.691 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.1965, allocations: 136.8 kB / 1.48 GB, free: 2.539 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.163e-05/0.1965, allocations: 4 kB / 1.48 GB, free: 2.535 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.1968, allocations: 23.92 kB / 1.48 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.1969, allocations: 11.98 kB / 1.48 GB, free: 2.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.1969, allocations: 4.094 kB / 1.48 GB, free: 2.496 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002632/0.1972, allocations: 180.5 kB / 1.48 GB, free: 2.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.018e-06/0.1972, allocations: 4 kB / 1.48 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006073/0.1978, allocations: 88 kB / 1.48 GB, free: 2.23 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[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 (24): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001997/0.1981, allocations: 115.1 kB / 1.48 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001245/0.1993, allocations: 0.5279 MB / 1.48 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.1993, allocations: 0 / 1.48 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.1997, allocations: 152.4 kB / 1.481 GB, free: 1.422 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006213/0.2003, allocations: 62.69 kB / 1.481 GB, free: 1.363 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.2025, allocations: 1.002 MB / 1.482 GB, free: 340 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005681/0.2031, allocations: 0.7951 MB / 1.482 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003536/0.2034, allocations: 82.91 kB / 1.482 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.2036, allocations: 27.42 kB / 1.482 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of SimCode: time 1.976e-06/0.2036, allocations: 0 / 1.482 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of Templates: time 0.0113/0.2149, allocations: 3.639 MB / 1.486 GB, free: 11.79 MB / 0.6355 GB