Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01438/0.01437, allocations: 222.3 kB / 15.17 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00114/0.001139, allocations: 176 kB / 16.06 MB, free: 5.832 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.743/3.743, allocations: 389.1 MB / 405.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.464/4.464, allocations: 472.3 MB / 0.9018 GB, free: 32 kB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 12 kB / 1.008 GB, free: 4.168 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6238/0.6249, allocations: 98.7 MB / 1.104 GB, free: 206.2 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004236/0.6292, allocations: 3.255 MB / 1.107 GB, free: 203.9 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003299/0.6325, allocations: 1.703 MB / 1.109 GB, free: 202.8 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005102/0.6331, allocations: 15.22 kB / 1.109 GB, free: 202.8 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.6333, allocations: 43.38 kB / 1.109 GB, free: 202.8 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0008257/0.6341, allocations: 245.9 kB / 1.109 GB, free: 202.6 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007097/0.6348, allocations: 185.7 kB / 1.109 GB, free: 202.5 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0008856/0.6357, allocations: 0.6355 MB / 1.11 GB, free: 202.3 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007726/0.6365, allocations: 323.9 kB / 1.11 GB, free: 202.1 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004302/0.637, allocations: 197.5 kB / 1.11 GB, free: 202 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003511/0.6373, allocations: 215.7 kB / 1.111 GB, free: 201.9 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.818e-05/0.6374, allocations: 12.31 kB / 1.111 GB, free: 201.9 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004824/0.6379, allocations: 133.2 kB / 1.111 GB, free: 201.9 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.6381, allocations: 104.1 kB / 1.111 GB, free: 201.8 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.6382, allocations: 98.67 kB / 1.111 GB, free: 201.8 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006761/0.6389, allocations: 439.5 kB / 1.111 GB, free: 201.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6389, allocations: 0 / 1.111 GB, free: 201.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.831e-06/0.6389, allocations: 0 / 1.111 GB, free: 201.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.639, allocations: 0 / 1.111 GB, free: 201.7 MB / 0.7136 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.001093/0.6401, allocations: 0.6666 MB / 1.112 GB, free: 201.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.6401, allocations: 10.06 kB / 1.112 GB, free: 201.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.6413, allocations: 146.2 kB / 1.112 GB, free: 201.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006286/0.642, allocations: 362 kB / 1.113 GB, free: 200.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.642, allocations: 21.12 kB / 1.113 GB, free: 200.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.727e-05/0.6421, allocations: 27.31 kB / 1.113 GB, free: 200.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.6432, allocations: 0.5577 MB / 1.113 GB, free: 200.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.6432, allocations: 13.59 kB / 1.113 GB, free: 200.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.241e-05/0.6433, allocations: 20.95 kB / 1.113 GB, free: 200.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.825e-05/0.6434, allocations: 44.25 kB / 1.113 GB, free: 200.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009446/0.6443, allocations: 418.8 kB / 1.114 GB, free: 200.3 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003155/0.6475, allocations: 3.322 MB / 1.117 GB, free: 197.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008504/0.6484, allocations: 335.6 kB / 1.117 GB, free: 197.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004092/0.6488, allocations: 182.4 kB / 1.117 GB, free: 197.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.6489, allocations: 3.281 kB / 1.117 GB, free: 197.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.6489, allocations: 37.22 kB / 1.117 GB, free: 197.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=26): time 3.079e-06/0.6489, allocations: 0 / 1.117 GB, free: 197.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27): time 0.002551/0.6515, allocations: 1.09 MB / 1.118 GB, free: 196.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.6515, allocations: 58.38 kB / 1.119 GB, free: 196.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004356/0.652, allocations: 339.5 kB / 1.119 GB, free: 196.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.652, allocations: 31.08 kB / 1.119 GB, free: 196.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.6522, allocations: 241.6 kB / 1.119 GB, free: 196.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.28e-05/0.6523, allocations: 103.4 kB / 1.119 GB, free: 196 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/0.6523, allocations: 5.281 kB / 1.119 GB, free: 196 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.611e-05/0.6524, allocations: 347.9 kB / 1.12 GB, free: 195.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003876/0.6528, allocations: 153.6 kB / 1.12 GB, free: 195.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004341/0.6532, allocations: 296 kB / 1.12 GB, free: 195.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005767/0.6538, allocations: 200.2 kB / 1.12 GB, free: 195.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.923e-06/0.6539, allocations: 1.438 kB / 1.12 GB, free: 195.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001495/0.6554, allocations: 0.5637 MB / 1.121 GB, free: 195.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.6554, allocations: 7.156 kB / 1.121 GB, free: 195.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.6555, allocations: 8.359 kB / 1.121 GB, free: 195.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003947/0.6559, allocations: 88.27 kB / 1.121 GB, free: 195 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004719/0.6564, allocations: 88.39 kB / 1.121 GB, free: 195 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.89e-05/0.6564, allocations: 11.97 kB / 1.121 GB, free: 195 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/0.6568, allocations: 33.69 kB / 1.121 GB, free: 195 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/0.6569, allocations: 17.88 kB / 1.121 GB, free: 195 MB / 0.7136 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.0003708/0.6573, allocations: 178.3 kB / 1.121 GB, free: 194.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.6574, allocations: 40.77 kB / 1.121 GB, free: 194.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.6586, allocations: 479.4 kB / 1.122 GB, free: 194.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.6586, allocations: 3.812 kB / 1.122 GB, free: 194.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.262e-06/0.6587, allocations: 3.156 kB / 1.122 GB, free: 194.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.459e-06/0.6587, allocations: 3.031 kB / 1.122 GB, free: 194.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.6606, allocations: 0.9642 MB / 1.123 GB, free: 194.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.6606, allocations: 1.438 kB / 1.123 GB, free: 194.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003489/0.661, allocations: 57.06 kB / 1.123 GB, free: 194.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003356/0.6613, allocations: 81.06 kB / 1.123 GB, free: 194 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.6614, allocations: 7.562 kB / 1.123 GB, free: 194 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.188e-06/0.6614, allocations: 1.125 kB / 1.123 GB, free: 194 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.066e-06/0.6614, allocations: 5.625 kB / 1.123 GB, free: 194 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.6625, allocations: 0.5605 MB / 1.123 GB, free: 193.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002141/0.6628, allocations: 141.4 kB / 1.123 GB, free: 193.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.805e-05/0.6628, allocations: 5.906 kB / 1.123 GB, free: 193.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003177/0.6632, allocations: 25.34 kB / 1.123 GB, free: 193.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.29e-05/0.6633, allocations: 38.66 kB / 1.123 GB, free: 193.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.6633, allocations: 4.688 kB / 1.123 GB, free: 193.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003147/0.6636, allocations: 231.7 kB / 1.124 GB, free: 193.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.91e-07/0.6637, allocations: 0 / 1.124 GB, free: 193.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000613/0.6643, allocations: 84.91 kB / 1.124 GB, free: 193.4 MB / 0.7136 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.0001275/0.6644, allocations: 114.3 kB / 1.124 GB, free: 193.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001123/0.6656, allocations: 0.6422 MB / 1.125 GB, free: 192.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.6656, allocations: 2.344 kB / 1.125 GB, free: 192.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005297/0.6661, allocations: 436.3 kB / 1.125 GB, free: 192.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000923/0.6671, allocations: 122.3 kB / 1.125 GB, free: 192.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.6685, allocations: 0.8642 MB / 1.126 GB, free: 192 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.6689, allocations: 0.832 MB / 1.127 GB, free: 191.3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003838/0.6693, allocations: 85.16 kB / 1.127 GB, free: 191.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.6695, allocations: 29.28 kB / 1.127 GB, free: 191.3 MB / 0.7136 GB Notification: Performance of SimCode: time 1.732e-06/0.6695, allocations: 2.062 kB / 1.127 GB, free: 191.3 MB / 0.7136 GB Notification: Performance of Templates: time 0.0194/0.6889, allocations: 4.324 MB / 1.131 GB, free: 190.3 MB / 0.7136 GB