Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.208/4.208, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.272e-05/2.281e-05, allocations: 4 kB / 0.5325 GB, free: 1.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.492/0.4921, allocations: 98.71 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2734/0.7655, allocations: 140 MB / 0.7657 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/0.7659, allocations: 95.92 kB / 0.7657 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07207/0.838, allocations: 20.22 MB / 0.7855 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.012e-06/0.838, allocations: 0 / 0.7855 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.779e-05/0.8381, allocations: 12 kB / 0.7855 GB, free: 14.94 MB / 0.6667 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.001181/0.8393, allocations: 0.6445 MB / 0.7861 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.8393, allocations: 8.031 kB / 0.7861 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.8405, allocations: 135.3 kB / 0.7863 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008048/0.8413, allocations: 370.7 kB / 0.7866 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.8414, allocations: 16 kB / 0.7866 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.8415, allocations: 19.91 kB / 0.7867 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008882/0.8424, allocations: 285.4 kB / 0.7869 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009349/0.8433, allocations: 0.5404 MB / 0.7875 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.8434, allocations: 0 / 0.7875 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.8434, allocations: 7.938 kB / 0.7875 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-05/0.8435, allocations: 32.55 kB / 0.7875 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003986/0.8475, allocations: 3.282 MB / 0.7907 GB, free: 9.195 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007648/0.8483, allocations: 305.1 kB / 0.791 GB, free: 8.891 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003183/0.8486, allocations: 160.7 kB / 0.7911 GB, free: 8.73 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.8487, allocations: 7.984 kB / 0.7912 GB, free: 8.723 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.8487, allocations: 34.56 kB / 0.7912 GB, free: 8.68 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=26): time 3.444e-06/0.8487, allocations: 3.938 kB / 0.7912 GB, free: 8.676 MB / 0.6667 GB Notification: Performance of matching and sorting (n=27): time 0.001488/0.8502, allocations: 0.5695 MB / 0.7917 GB, free: 8.094 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.8503, allocations: 55.58 kB / 0.7918 GB, free: 8.027 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003666/0.8507, allocations: 258.2 kB / 0.792 GB, free: 7.766 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.8507, allocations: 25.7 kB / 0.7921 GB, free: 7.734 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.851, allocations: 243.8 kB / 0.7923 GB, free: 7.492 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.8511, allocations: 86.75 kB / 0.7924 GB, free: 7.406 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/0.8511, allocations: 0 / 0.7924 GB, free: 7.406 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002068/0.8513, allocations: 354.8 kB / 0.7927 GB, free: 7.051 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.8516, allocations: 120.7 kB / 0.7928 GB, free: 6.93 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/0.852, allocations: 240.7 kB / 0.7931 GB, free: 6.641 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.8523, allocations: 168 kB / 0.7932 GB, free: 6.48 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.745e-06/0.8523, allocations: 0 / 0.7932 GB, free: 6.48 MB / 0.6667 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001108/0.8534, allocations: 479.3 kB / 0.7937 GB, free: 5.996 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.8535, allocations: 8 kB / 0.7937 GB, free: 5.988 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.8535, allocations: 4 kB / 0.7937 GB, free: 5.984 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003856/0.8539, allocations: 82.98 kB / 0.7938 GB, free: 5.895 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004467/0.8544, allocations: 87.88 kB / 0.7939 GB, free: 5.809 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.8544, allocations: 7.938 kB / 0.7939 GB, free: 5.801 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003636/0.8548, allocations: 27.97 kB / 0.7939 GB, free: 5.773 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.8548, allocations: 12 kB / 0.7939 GB, free: 5.762 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * 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.0001473/0.855, allocations: 120.9 kB / 0.794 GB, free: 5.637 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.577e-05/0.8551, allocations: 43.48 kB / 0.7941 GB, free: 5.594 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.8561, allocations: 402.6 kB / 0.7944 GB, free: 5.188 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.942e-06/0.8561, allocations: 4 kB / 0.7945 GB, free: 5.184 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.939e-06/0.8562, allocations: 0 / 0.7945 GB, free: 5.184 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.395e-06/0.8562, allocations: 0 / 0.7945 GB, free: 5.184 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.8579, allocations: 0.8667 MB / 0.7953 GB, free: 4.254 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.842e-06/0.858, allocations: 0 / 0.7953 GB, free: 4.254 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/0.8583, allocations: 51.91 kB / 0.7953 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003341/0.8586, allocations: 78.59 kB / 0.7954 GB, free: 4.117 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.8587, allocations: 4 kB / 0.7954 GB, free: 4.113 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.628e-06/0.8587, allocations: 4 kB / 0.7954 GB, free: 4.109 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.8587, allocations: 0 / 0.7954 GB, free: 4.109 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009513/0.8597, allocations: 0.5322 MB / 0.796 GB, free: 3.523 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.8599, allocations: 136.6 kB / 0.7961 GB, free: 3.371 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.508e-05/0.86, allocations: 15.91 kB / 0.7961 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.8603, allocations: 23.92 kB / 0.7961 GB, free: 3.332 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/0.8604, allocations: 23.95 kB / 0.7961 GB, free: 3.309 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.8604, allocations: 12 kB / 0.7962 GB, free: 3.297 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002691/0.8607, allocations: 192.6 kB / 0.7963 GB, free: 3.109 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.97e-07/0.8607, allocations: 0 / 0.7963 GB, free: 3.109 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005735/0.8613, allocations: 79.94 kB / 0.7964 GB, free: 3.031 MB / 0.6667 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 () * 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.0001743/0.8615, allocations: 115.2 kB / 0.7965 GB, free: 2.906 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0009314/0.8625, allocations: 0.5677 MB / 0.7971 GB, free: 2.277 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.083e-06/0.8625, allocations: 0 / 0.7971 GB, free: 2.277 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000537/0.863, allocations: 417.7 kB / 0.7975 GB, free: 1.801 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007063/0.8637, allocations: 102.1 kB / 0.7976 GB, free: 1.703 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.865, allocations: 0.4926 MB / 0.7981 GB, free: 1.18 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006014/0.8656, allocations: 0.8278 MB / 0.7989 GB, free: 328 kB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003723/0.866, allocations: 75.22 kB / 0.7989 GB, free: 252 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.934e-05/0.8661, allocations: 27.44 kB / 0.799 GB, free: 224 kB / 0.6667 GB Notification: Performance of SimCode: time 1.711e-06/0.8661, allocations: 4 kB / 0.799 GB, free: 220 kB / 0.6667 GB Notification: Performance of Templates: time 0.4343/1.3, allocations: 3.991 MB / 0.8029 GB, free: 156.9 MB / 0.6667 GB