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 2.781/2.781, allocations: 287.9 MB / 302.9 MB, free: 8.191 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.001402/0.001402, allocations: 177.1 kB / 371.4 MB, free: 10.68 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.135/2.135, allocations: 205.4 MB / 0.6301 GB, free: 10.45 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.001004/0.001004, allocations: 87.23 kB / 0.7434 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000462/0.0004622, allocations: 11.34 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1571, allocations: 115.3 MB / 0.9788 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003396/0.1605, allocations: 2.77 MB / 0.9815 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002803/0.1634, allocations: 1.72 MB / 0.9831 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.1636, allocations: 7.938 kB / 0.9831 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.1638, allocations: 35.77 kB / 0.9832 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004481/0.1642, allocations: 147.5 kB / 0.9833 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007095/0.165, allocations: 224.6 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003309/0.1653, allocations: 239.5 kB / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008009/0.1661, allocations: 429.3 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.1663, allocations: 119.6 kB / 0.9843 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.1666, allocations: 131.5 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/0.1667, allocations: 12 kB / 0.9844 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003331/0.167, allocations: 127.8 kB / 0.9845 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.1671, allocations: 99.7 kB / 0.9846 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.408e-05/0.1672, allocations: 77.58 kB / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003886/0.1676, allocations: 351.3 kB / 0.9851 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1676, allocations: 0 / 0.9851 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.92e-06/0.1676, allocations: 0 / 0.9851 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.141e-06/0.1677, allocations: 8 kB / 0.9851 GB, free: 21.69 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.000906/0.1686, allocations: 0.5301 MB / 0.9856 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1686, allocations: 12.03 kB / 0.9856 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009231/0.1696, allocations: 111.4 kB / 0.9857 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.1699, allocations: 267.2 kB / 0.9859 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.17, allocations: 24.55 kB / 0.986 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.1701, allocations: 35.94 kB / 0.986 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007023/0.1708, allocations: 433.1 kB / 0.9864 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.1708, allocations: 0 / 0.9864 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.1709, allocations: 19.98 kB / 0.9864 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001619/0.1711, allocations: 44.42 kB / 0.9865 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006546/0.1717, allocations: 353.9 kB / 0.9868 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002517/0.1743, allocations: 2.191 MB / 0.989 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004991/0.1748, allocations: 263 kB / 0.9892 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.1749, allocations: 4.188 kB / 0.9892 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.1749, allocations: 50.61 kB / 0.9893 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 3.474e-06/0.1749, allocations: 0 / 0.9893 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.002018/0.1769, allocations: 1.057 MB / 0.9903 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.177, allocations: 55.41 kB / 0.9903 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.1773, allocations: 240.9 kB / 0.9906 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.1773, allocations: 33.7 kB / 0.9906 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.1774, allocations: 187.9 kB / 0.9908 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.456e-05/0.1775, allocations: 82.84 kB / 0.9909 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.1776, allocations: 8 kB / 0.9909 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.087e-05/0.1776, allocations: 334.8 kB / 0.9912 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.1779, allocations: 155.9 kB / 0.9913 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.1783, allocations: 225.6 kB / 0.9916 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.1786, allocations: 193.2 kB / 0.9917 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1786, allocations: 0 / 0.9917 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001338/0.18, allocations: 0.585 MB / 0.9923 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.18, allocations: 8 kB / 0.9923 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.043e-06/0.1801, allocations: 0 / 0.9923 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008381/0.1809, allocations: 188.8 kB / 0.9925 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.1813, allocations: 67.88 kB / 0.9926 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003129/0.1844, allocations: 2.359 MB / 0.9949 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004009/0.1849, allocations: 24 kB / 0.9949 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/0.1849, allocations: 12 kB / 0.9949 GB, free: 10.98 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.0002009/0.1851, allocations: 166.8 kB / 0.9951 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-05/0.1852, allocations: 27.67 kB / 0.9951 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000628/0.1859, allocations: 349.2 kB / 0.9954 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.093e-06/0.1859, allocations: 8.062 kB / 0.9954 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.378e-06/0.1859, allocations: 0 / 0.9954 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.416e-06/0.1859, allocations: 11.92 kB / 0.9954 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.1872, allocations: 0.8082 MB / 0.9962 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.797e-06/0.1872, allocations: 0 / 0.9962 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005277/0.1877, allocations: 71.94 kB / 0.9963 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.348e-06/0.1878, allocations: 0 / 0.9963 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.1878, allocations: 12.05 kB / 0.9963 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.573e-06/0.1878, allocations: 7.938 kB / 0.9963 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.659e-06/0.1878, allocations: 0 / 0.9963 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008734/0.1887, allocations: 0.6245 MB / 0.9969 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.1889, allocations: 132.8 kB / 0.9971 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.845e-05/0.189, allocations: 12 kB / 0.9971 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.1893, allocations: 11.98 kB / 0.9971 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.1893, allocations: 19.88 kB / 0.9971 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.417e-05/0.1894, allocations: 12 kB / 0.9971 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001903/0.1896, allocations: 176.5 kB / 0.9973 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.4e-07/0.1896, allocations: 0 / 0.9973 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005835/0.1902, allocations: 88 kB / 0.9974 GB, free: 8.34 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.0001507/0.1903, allocations: 115.2 kB / 0.9975 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.1914, allocations: 0.5216 MB / 0.998 GB, free: 7.684 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1914, allocations: 3.938 kB / 0.998 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002456/0.1917, allocations: 155.6 kB / 0.9981 GB, free: 7.531 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.1922, allocations: 48.52 kB / 0.9982 GB, free: 7.484 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.1939, allocations: 0.9991 MB / 0.9992 GB, free: 6.457 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.1942, allocations: 0.7951 MB / 0.9999 GB, free: 5.637 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003037/0.1945, allocations: 78.91 kB / 1 GB, free: 5.562 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.1946, allocations: 27.38 kB / 1 GB, free: 5.535 MB / 0.6198 GB Notification: Performance of SimCode: time 2.315e-06/0.1946, allocations: 0 / 1 GB, free: 5.535 MB / 0.6198 GB Notification: Performance of Templates: time 0.009021/0.2037, allocations: 3.65 MB / 1.004 GB, free: 1.906 MB / 0.6198 GB