Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.766/2.766, allocations: 287.9 MB / 302.9 MB, free: 8.336 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.002549/0.002549, allocations: 178.6 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.052/2.052, allocations: 205.4 MB / 0.6301 GB, free: 10.41 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.001019/0.001019, allocations: 84.61 kB / 0.7434 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004604, allocations: 11.97 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1624, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003096/0.1656, allocations: 2.568 MB / 0.9813 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002622/0.1682, allocations: 1.615 MB / 0.9828 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.1685, allocations: 7.938 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.1686, allocations: 39.77 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004237/0.1691, allocations: 135.5 kB / 0.983 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006177/0.1697, allocations: 183.5 kB / 0.9832 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003061/0.17, allocations: 227.5 kB / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007964/0.1708, allocations: 377.4 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.1711, allocations: 107.6 kB / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.1713, allocations: 135.5 kB / 0.984 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.064e-05/0.1714, allocations: 19.94 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003383/0.1717, allocations: 139.8 kB / 0.9842 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.391e-05/0.1718, allocations: 75.8 kB / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.86e-05/0.1719, allocations: 69.56 kB / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003964/0.1723, allocations: 347.3 kB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.669e-06/0.1723, allocations: 4 kB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.329e-06/0.1724, allocations: 0 / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.689e-06/0.1724, allocations: 0 / 0.9846 GB, free: 22.14 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001024/0.1734, allocations: 0.6031 MB / 0.9852 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1735, allocations: 8.031 kB / 0.9852 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008948/0.1744, allocations: 103.5 kB / 0.9853 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.1747, allocations: 278.4 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.1748, allocations: 12.44 kB / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.293e-05/0.1748, allocations: 23.98 kB / 0.9856 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008824/0.1757, allocations: 418.6 kB / 0.986 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.1758, allocations: 4 kB / 0.986 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.411e-05/0.1758, allocations: 11.92 kB / 0.986 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-05/0.1759, allocations: 32.34 kB / 0.9861 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.177, allocations: 420.7 kB / 0.9865 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.1789, allocations: 1.611 MB / 0.988 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.1803, allocations: 493.1 kB / 0.9885 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.1804, allocations: 89.09 kB / 0.9886 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006308/0.1811, allocations: 282.5 kB / 0.9889 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 3.705e-06/0.1811, allocations: 0 / 0.9889 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.002151/0.1833, allocations: 0.7742 MB / 0.9896 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.1833, allocations: 89.05 kB / 0.9897 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.1836, allocations: 217 kB / 0.9899 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.1836, allocations: 29.7 kB / 0.9899 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.632e-05/0.1837, allocations: 180.2 kB / 0.9901 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.677e-05/0.1838, allocations: 94.67 kB / 0.9902 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.1838, allocations: 4 kB / 0.9902 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.673e-05/0.1839, allocations: 342.8 kB / 0.9905 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000481/0.1844, allocations: 180.2 kB / 0.9907 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005081/0.1849, allocations: 249.3 kB / 0.9909 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005314/0.1855, allocations: 234.3 kB / 0.9912 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.189e-06/0.1855, allocations: 0 / 0.9912 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001387/0.1869, allocations: 0.5594 MB / 0.9917 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002089/0.1871, allocations: 0.9021 MB / 0.9926 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.1872, allocations: 11.88 kB / 0.9926 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002817/0.1874, allocations: 40.83 kB / 0.9926 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004976/0.188, allocations: 91.86 kB / 0.9927 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.1894, allocations: 1.509 MB / 0.9942 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004895/0.1899, allocations: 51.86 kB / 0.9943 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.6e-05/0.19, allocations: 19.94 kB / 0.9943 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.19, allocations: 4 kB / 0.9943 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001428/0.1914, allocations: 0.4944 MB / 0.9948 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.251e-06/0.1915, allocations: 4 kB / 0.9948 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002027/0.1917, allocations: 36.83 kB / 0.9948 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004906/0.1922, allocations: 95.95 kB / 0.9949 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.1935, allocations: 1.497 MB / 0.9964 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004026/0.1939, allocations: 47.86 kB / 0.9964 GB, free: 9.281 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.1939, allocations: 12 kB / 0.9964 GB, free: 9.27 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002426/0.1942, allocations: 241 kB / 0.9966 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.286e-05/0.1943, allocations: 31.7 kB / 0.9967 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.1955, allocations: 488.5 kB / 0.9971 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.99e-06/0.1955, allocations: 8 kB / 0.9971 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1956, allocations: 0 / 0.9971 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.907e-06/0.1956, allocations: 3.953 kB / 0.9972 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007184/0.1963, allocations: 0.5583 MB / 0.9977 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.837e-06/0.1963, allocations: 7.938 kB / 0.9977 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004684/0.1968, allocations: 88 kB / 0.9978 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001717/0.197, allocations: 36.77 kB / 0.9978 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.504e-05/0.197, allocations: 11.95 kB / 0.9978 GB, free: 7.734 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.1982, allocations: 1.425 MB / 0.9992 GB, free: 6.176 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.1982, allocations: 4.031 kB / 0.9992 GB, free: 6.172 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.1994, allocations: 0.5939 MB / 0.9998 GB, free: 5.531 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.1996, allocations: 132.7 kB / 0.9999 GB, free: 5.383 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.821e-05/0.1997, allocations: 11.98 kB / 0.9999 GB, free: 5.371 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.2001, allocations: 43.95 kB / 1 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.2002, allocations: 39.84 kB / 1 GB, free: 5.289 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.2003, allocations: 8 kB / 1 GB, free: 5.281 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002921/0.2006, allocations: 172.5 kB / 1 GB, free: 5.109 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.077e-06/0.2006, allocations: 0 / 1 GB, free: 5.109 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001386/0.202, allocations: 124 kB / 1 GB, free: 4.988 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001939/0.2022, allocations: 115.2 kB / 1 GB, free: 4.867 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002199/0.2044, allocations: 1.009 MB / 1.001 GB, free: 3.809 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.879e-06/0.2045, allocations: 3.938 kB / 1.001 GB, free: 3.805 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007304/0.2052, allocations: 343.3 kB / 1.002 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.2057, allocations: 44.45 kB / 1.002 GB, free: 3.414 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.2071, allocations: 0.7325 MB / 1.003 GB, free: 2.641 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.2074, allocations: 0.7956 MB / 1.003 GB, free: 1.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003961/0.2078, allocations: 94.19 kB / 1.003 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.2079, allocations: 31.44 kB / 1.003 GB, free: 1.699 MB / 0.6198 GB Notification: Performance of SimCode: time 1.661e-06/0.2079, allocations: 0 / 1.003 GB, free: 1.699 MB / 0.6198 GB Notification: Performance of Templates: time 0.01085/0.2188, allocations: 4.021 MB / 1.007 GB, free: 13.7 MB / 0.6355 GB