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.009069/0.009069, allocations: 107.2 kB / 15.06 MB, free: 6.039 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.001121/0.001121, allocations: 181.5 kB / 15.95 MB, free: 5.957 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 1.959/1.959, allocations: 194.5 MB / 211.3 MB, free: 11.09 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.313/2.313, allocations: 236.2 MB / 492.6 MB, free: 11.44 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004694/0.0004695, allocations: 15.98 kB / 0.587 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7412/0.7417, allocations: 98.7 MB / 0.6833 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004222/0.746, allocations: 3.156 MB / 0.6864 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003237/0.7493, allocations: 1.692 MB / 0.6881 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003918/0.7497, allocations: 14.72 kB / 0.6881 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.7499, allocations: 50.75 kB / 0.6881 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0007841/0.7507, allocations: 231.7 kB / 0.6884 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00074/0.7515, allocations: 190.6 kB / 0.6885 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006653/0.7522, allocations: 389.4 kB / 0.6889 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007639/0.7529, allocations: 338.5 kB / 0.6892 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004132/0.7534, allocations: 194.5 kB / 0.6894 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003723/0.7538, allocations: 182.5 kB / 0.6896 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.081e-05/0.7538, allocations: 13.16 kB / 0.6896 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003845/0.7542, allocations: 103.1 kB / 0.6897 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.7544, allocations: 96.34 kB / 0.6898 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.7545, allocations: 102.8 kB / 0.6899 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006509/0.7552, allocations: 400.1 kB / 0.6903 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.043e-06/0.7552, allocations: 1.625 kB / 0.6903 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.903e-06/0.7552, allocations: 0 / 0.6903 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.667e-06/0.7552, allocations: 0 / 0.6903 GB, free: 12.48 MB / 0.5261 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.001142/0.7564, allocations: 0.6645 MB / 0.6909 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.7564, allocations: 7.75 kB / 0.6909 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009573/0.7574, allocations: 124.5 kB / 0.6911 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006021/0.758, allocations: 366.2 kB / 0.6914 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.7581, allocations: 20.69 kB / 0.6914 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.349e-05/0.7581, allocations: 30.95 kB / 0.6915 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.7592, allocations: 0.5473 MB / 0.692 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.7592, allocations: 5.797 kB / 0.692 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.139e-05/0.7593, allocations: 17.14 kB / 0.692 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.971e-05/0.7594, allocations: 49.72 kB / 0.6921 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009633/0.7604, allocations: 411.7 kB / 0.6925 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003198/0.7636, allocations: 3.336 MB / 0.6957 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008862/0.7645, allocations: 338 kB / 0.696 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/0.7646, allocations: 2.5 kB / 0.696 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.7646, allocations: 37.23 kB / 0.6961 GB, free: 7.949 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 4.26e-06/0.7646, allocations: 4 kB / 0.6961 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.002704/0.7673, allocations: 1.078 MB / 0.6971 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.7674, allocations: 59.33 kB / 0.6972 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004577/0.7679, allocations: 343.8 kB / 0.6975 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.7679, allocations: 26.86 kB / 0.6975 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.7681, allocations: 244.4 kB / 0.6978 GB, free: 6.848 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.072e-05/0.7682, allocations: 100.5 kB / 0.6979 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.7682, allocations: 6.469 kB / 0.6979 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.862e-05/0.7683, allocations: 346.3 kB / 0.6982 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004066/0.7687, allocations: 153.2 kB / 0.6983 GB, free: 6.391 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004505/0.7692, allocations: 303 kB / 0.6986 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004478/0.7697, allocations: 198.4 kB / 0.6988 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.081e-06/0.7697, allocations: 0.8438 kB / 0.6988 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001388/0.7711, allocations: 0.5664 MB / 0.6994 GB, free: 5.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.7711, allocations: 7.969 kB / 0.6994 GB, free: 5.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.7712, allocations: 4.844 kB / 0.6994 GB, free: 5.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003962/0.7716, allocations: 91.98 kB / 0.6995 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004678/0.7721, allocations: 90.67 kB / 0.6996 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/0.7721, allocations: 8.016 kB / 0.6996 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004271/0.7725, allocations: 32.02 kB / 0.6996 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/0.7726, allocations: 19.73 kB / 0.6996 GB, free: 5.777 MB / 0.5261 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.0002502/0.7729, allocations: 182.3 kB / 0.6998 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.185e-05/0.773, allocations: 38.78 kB / 0.6998 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.7741, allocations: 474.5 kB / 0.7003 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.758e-06/0.7742, allocations: 4.875 kB / 0.7003 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.804e-06/0.7742, allocations: 0 / 0.7003 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.7742, allocations: 6.906 kB / 0.7003 GB, free: 5.391 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.7761, allocations: 0.9721 MB / 0.7012 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.479e-06/0.7762, allocations: 5.312 kB / 0.7013 GB, free: 4.699 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.7765, allocations: 53.58 kB / 0.7013 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000362/0.7769, allocations: 85.45 kB / 0.7014 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/0.7769, allocations: 6.469 kB / 0.7014 GB, free: 4.621 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.387e-06/0.7769, allocations: 1.406 kB / 0.7014 GB, free: 4.621 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.237e-06/0.7769, allocations: 5.297 kB / 0.7014 GB, free: 4.617 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.7781, allocations: 0.5866 MB / 0.702 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.7783, allocations: 143.3 kB / 0.7021 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-05/0.7784, allocations: 5.406 kB / 0.7021 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/0.7787, allocations: 25.53 kB / 0.7021 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-05/0.7788, allocations: 22.39 kB / 0.7022 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.7788, allocations: 9.688 kB / 0.7022 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002994/0.7792, allocations: 231.5 kB / 0.7024 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.55e-07/0.7792, allocations: 4 kB / 0.7024 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006092/0.7798, allocations: 84.22 kB / 0.7025 GB, free: 3.855 MB / 0.5261 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.000133/0.7799, allocations: 112.2 kB / 0.7026 GB, free: 3.754 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.781, allocations: 0.6475 MB / 0.7032 GB, free: 3.258 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.781, allocations: 2.656 kB / 0.7032 GB, free: 3.258 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005156/0.7816, allocations: 443 kB / 0.7036 GB, free: 2.859 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007704/0.7824, allocations: 119.7 kB / 0.7038 GB, free: 2.801 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.7838, allocations: 0.8661 MB / 0.7046 GB, free: 2.18 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.7842, allocations: 0.8303 MB / 0.7054 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003883/0.7846, allocations: 84.28 kB / 0.7055 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.7847, allocations: 36 kB / 0.7055 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of SimCode: time 1.548e-06/0.7847, allocations: 0 / 0.7055 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of Templates: time 0.01285/0.7976, allocations: 4.296 MB / 0.7097 GB, free: 15.27 MB / 0.5417 GB