Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.618/2.618, allocations: 287.9 MB / 302.9 MB, free: 8.277 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.001423/0.001422, allocations: 176.5 kB / 371.4 MB, free: 10.66 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.177/2.177, allocations: 205.4 MB / 0.6301 GB, free: 10.3 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.001031/0.001031, allocations: 94.42 kB / 0.7434 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004917/0.0004919, allocations: 15 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1549, allocations: 115.3 MB / 0.9788 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003647/0.1586, allocations: 3.165 MB / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002784/0.1614, allocations: 1.709 MB / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002891/0.1617, allocations: 15.88 kB / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.1619, allocations: 47.67 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006246/0.1625, allocations: 235.2 kB / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005758/0.1631, allocations: 194.3 kB / 0.984 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004648/0.1636, allocations: 388.8 kB / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005889/0.1642, allocations: 326.5 kB / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002889/0.1645, allocations: 199.2 kB / 0.9849 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.1648, allocations: 187.2 kB / 0.985 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.053e-05/0.1649, allocations: 12 kB / 0.9851 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002642/0.1651, allocations: 103.8 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.094e-05/0.1653, allocations: 83.73 kB / 0.9852 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.1e-05/0.1653, allocations: 101.5 kB / 0.9853 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004222/0.1658, allocations: 415.2 kB / 0.9857 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.753e-06/0.1658, allocations: 0 / 0.9857 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.362e-06/0.1658, allocations: 0 / 0.9857 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.979e-06/0.1658, allocations: 4 kB / 0.9857 GB, free: 20.95 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0009512/0.1668, allocations: 0.6621 MB / 0.9864 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.1668, allocations: 8.031 kB / 0.9864 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008263/0.1677, allocations: 123.3 kB / 0.9865 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004899/0.1682, allocations: 362.6 kB / 0.9868 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.1682, allocations: 20.66 kB / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.208e-05/0.1683, allocations: 31.98 kB / 0.9869 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008494/0.1691, allocations: 0.5476 MB / 0.9874 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.1692, allocations: 7.875 kB / 0.9874 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.397e-05/0.1692, allocations: 15.98 kB / 0.9875 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.88e-05/0.1693, allocations: 44.53 kB / 0.9875 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008097/0.1701, allocations: 425.6 kB / 0.9879 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/0.1728, allocations: 3.341 MB / 0.9912 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007394/0.1735, allocations: 334.7 kB / 0.9915 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.1736, allocations: 0 / 0.9915 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.1736, allocations: 34.56 kB / 0.9915 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 2.39e-06/0.1736, allocations: 3.938 kB / 0.9915 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.002249/0.1759, allocations: 1.085 MB / 0.9926 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.4e-05/0.1759, allocations: 55.64 kB / 0.9926 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/0.1763, allocations: 337.6 kB / 0.993 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.1763, allocations: 29.7 kB / 0.993 GB, free: 13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.1765, allocations: 247.5 kB / 0.9932 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.763e-05/0.1765, allocations: 94.64 kB / 0.9933 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/0.1766, allocations: 8 kB / 0.9933 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.657e-05/0.1767, allocations: 346.8 kB / 0.9937 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.177, allocations: 148.8 kB / 0.9938 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.1774, allocations: 303 kB / 0.9941 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003786/0.1778, allocations: 195.8 kB / 0.9943 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.444e-06/0.1778, allocations: 4 kB / 0.9943 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00117/0.179, allocations: 0.5616 MB / 0.9948 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.179, allocations: 8 kB / 0.9948 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.179, allocations: 4 kB / 0.9948 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003591/0.1794, allocations: 95.02 kB / 0.9949 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/0.1798, allocations: 87.88 kB / 0.995 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.1799, allocations: 11.92 kB / 0.995 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/0.1802, allocations: 35.92 kB / 0.9951 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.1803, allocations: 19.98 kB / 0.9951 GB, free: 10.75 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002088/0.1805, allocations: 173.7 kB / 0.9952 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.241e-05/0.1806, allocations: 39.53 kB / 0.9953 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.1816, allocations: 472.5 kB / 0.9957 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.505e-06/0.1816, allocations: 7.953 kB / 0.9957 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.469e-06/0.1817, allocations: 3.984 kB / 0.9957 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.309e-06/0.1817, allocations: 4 kB / 0.9957 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.1833, allocations: 0.969 MB / 0.9967 GB, free: 9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.1834, allocations: 0 / 0.9967 GB, free: 9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002966/0.1837, allocations: 51.91 kB / 0.9967 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003104/0.184, allocations: 90.59 kB / 0.9968 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.184, allocations: 4 kB / 0.9968 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.724e-06/0.184, allocations: 7.984 kB / 0.9968 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.373e-06/0.1841, allocations: 0 / 0.9968 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009604/0.185, allocations: 0.5873 MB / 0.9974 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.1852, allocations: 144.5 kB / 0.9975 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.879e-05/0.1853, allocations: 11.94 kB / 0.9976 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.1856, allocations: 27.91 kB / 0.9976 GB, free: 8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/0.1857, allocations: 31.84 kB / 0.9976 GB, free: 7.969 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.1857, allocations: 8 kB / 0.9976 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002457/0.186, allocations: 235.2 kB / 0.9978 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.78e-07/0.186, allocations: 0 / 0.9978 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005392/0.1865, allocations: 88 kB / 0.9979 GB, free: 7.645 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001116/0.1867, allocations: 103.2 kB / 0.998 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.1877, allocations: 0.6424 MB / 0.9987 GB, free: 6.828 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1877, allocations: 4 kB / 0.9987 GB, free: 6.824 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000464/0.1882, allocations: 446.5 kB / 0.9991 GB, free: 6.324 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006736/0.1889, allocations: 102.4 kB / 0.9992 GB, free: 6.227 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.1901, allocations: 0.8614 MB / 1 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.1904, allocations: 0.8317 MB / 1.001 GB, free: 4.473 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003409/0.1908, allocations: 87.28 kB / 1.001 GB, free: 4.383 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.29e-05/0.1909, allocations: 27.44 kB / 1.001 GB, free: 4.355 MB / 0.6198 GB Notification: Performance of SimCode: time 1.678e-06/0.1909, allocations: 0 / 1.001 GB, free: 4.355 MB / 0.6198 GB Notification: Performance of Templates: time 0.01058/0.2015, allocations: 4.298 MB / 1.005 GB, free: 116 kB / 0.6198 GB