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.TestImpedance.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.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009094/0.009099, allocations: 105.1 kB / 15.06 MB, free: 5.559 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.001132/0.001132, allocations: 180.5 kB / 15.95 MB, free: 5.523 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 2.069/2.069, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.261/2.261, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008115/0.0008119, allocations: 12 kB / 0.587 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5756/0.5765, allocations: 98.71 MB / 0.6833 GB, free: 16.87 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005226/0.5817, allocations: 4.104 MB / 0.6874 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00426/0.586, allocations: 2.304 MB / 0.6896 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004092/0.5865, allocations: 21.12 kB / 0.6896 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.5867, allocations: 75.89 kB / 0.6897 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.5878, allocations: 361.9 kB / 0.69 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.5888, allocations: 282.9 kB / 0.6903 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0008797/0.5897, allocations: 0.5849 MB / 0.6909 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008528/0.5906, allocations: 431.6 kB / 0.6913 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000427/0.591, allocations: 265 kB / 0.6915 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005024/0.5915, allocations: 282.1 kB / 0.6918 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.925e-05/0.5916, allocations: 20.75 kB / 0.6918 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004773/0.5921, allocations: 149.1 kB / 0.692 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.5923, allocations: 141.9 kB / 0.6921 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.5925, allocations: 139.1 kB / 0.6922 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0008372/0.5933, allocations: 0.5894 MB / 0.6928 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.5933, allocations: 0 / 0.6928 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.394e-06/0.5933, allocations: 0.9688 kB / 0.6928 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.521e-05/0.5934, allocations: 0 / 0.6928 GB, free: 10.99 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001262/0.5946, allocations: 0.8237 MB / 0.6936 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.5947, allocations: 12.94 kB / 0.6936 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.5959, allocations: 183.1 kB / 0.6938 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008486/0.5968, allocations: 469.6 kB / 0.6943 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.5968, allocations: 34.86 kB / 0.6943 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.5969, allocations: 44.56 kB / 0.6943 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.5983, allocations: 0.8419 MB / 0.6952 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/0.5983, allocations: 8.188 kB / 0.6952 GB, free: 9.348 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.147e-05/0.5984, allocations: 24.16 kB / 0.6952 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001243/0.5985, allocations: 69.89 kB / 0.6953 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.5997, allocations: 0.5633 MB / 0.6958 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004754/0.6045, allocations: 5.642 MB / 0.7013 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008156/0.6054, allocations: 453 kB / 0.7018 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.6054, allocations: 12.08 kB / 0.7018 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.6055, allocations: 35.88 kB / 0.7018 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 4.2e-06/0.6055, allocations: 0 / 0.7018 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.002973/0.6085, allocations: 1.508 MB / 0.7033 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.6085, allocations: 54.22 kB / 0.7033 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000622/0.6091, allocations: 495.5 kB / 0.7038 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.6092, allocations: 30.8 kB / 0.7038 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.6094, allocations: 355.5 kB / 0.7042 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.79e-05/0.6095, allocations: 122 kB / 0.7043 GB, free: 1.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.6096, allocations: 10.34 kB / 0.7043 GB, free: 1.742 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.584e-05/0.6097, allocations: 368.3 kB / 0.7046 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/0.61, allocations: 187.6 kB / 0.7048 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004808/0.6105, allocations: 452.1 kB / 0.7052 GB, free: 0.8594 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004753/0.611, allocations: 263.9 kB / 0.7055 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.665e-06/0.611, allocations: 1.469 kB / 0.7055 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001633/0.6127, allocations: 0.7991 MB / 0.7063 GB, free: 288 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.6127, allocations: 9.25 kB / 0.7063 GB, free: 288 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.6127, allocations: 12.67 kB / 0.7063 GB, free: 284 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005998/0.6134, allocations: 151.2 kB / 0.7064 GB, free: 188 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005613/0.6139, allocations: 133.7 kB / 0.7066 GB, free: 144 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004433/0.6184, allocations: 4.071 MB / 0.7106 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006507/0.6191, allocations: 37.84 kB / 0.7106 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.425e-05/0.6192, allocations: 26.62 kB / 0.7106 GB, free: 11.99 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000409/0.6196, allocations: 213.8 kB / 0.7108 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.6197, allocations: 66.3 kB / 0.7109 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.6212, allocations: 0.596 MB / 0.7115 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.6212, allocations: 6.953 kB / 0.7115 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.88e-06/0.6212, allocations: 1.594 kB / 0.7115 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.429e-06/0.6212, allocations: 4.922 kB / 0.7115 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/0.6239, allocations: 1.247 MB / 0.7127 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-06/0.6239, allocations: 5.906 kB / 0.7127 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003415/0.6243, allocations: 54.42 kB / 0.7127 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005846/0.6249, allocations: 144.6 kB / 0.7129 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.6249, allocations: 11.09 kB / 0.7129 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004467/0.6294, allocations: 4.051 MB / 0.7169 GB, free: 6.238 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.6295, allocations: 2.219 kB / 0.7169 GB, free: 6.238 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.631, allocations: 0.7947 MB / 0.7176 GB, free: 5.609 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003397/0.6314, allocations: 165.9 kB / 0.7178 GB, free: 5.461 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.23e-05/0.6315, allocations: 7.594 kB / 0.7178 GB, free: 5.457 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.6319, allocations: 22.94 kB / 0.7178 GB, free: 5.445 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.632, allocations: 33.62 kB / 0.7179 GB, free: 5.426 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.718e-05/0.6321, allocations: 15.44 kB / 0.7179 GB, free: 5.418 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005205/0.6326, allocations: 322.2 kB / 0.7182 GB, free: 5.227 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.44e-07/0.6326, allocations: 0 / 0.7182 GB, free: 5.227 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0009111/0.6335, allocations: 142.6 kB / 0.7183 GB, free: 5.211 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001827/0.6337, allocations: 112.3 kB / 0.7184 GB, free: 5.109 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00193/0.6357, allocations: 1.032 MB / 0.7194 GB, free: 4.305 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.465e-06/0.6357, allocations: 1.281 kB / 0.7194 GB, free: 4.305 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.637, allocations: 0.7382 MB / 0.7201 GB, free: 3.637 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.6383, allocations: 182.5 kB / 0.7203 GB, free: 3.547 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.6408, allocations: 1.226 MB / 0.7215 GB, free: 2.668 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007092/0.6415, allocations: 0.9175 MB / 0.7224 GB, free: 1.855 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005656/0.6421, allocations: 118.3 kB / 0.7225 GB, free: 1.801 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.6422, allocations: 37.97 kB / 0.7226 GB, free: 1.793 MB / 0.5417 GB Notification: Performance of SimCode: time 1.602e-06/0.6423, allocations: 0 / 0.7226 GB, free: 1.793 MB / 0.5417 GB Notification: Performance of Templates: time 0.03081/0.6731, allocations: 7.027 MB / 0.7294 GB, free: 13.04 MB / 0.5573 GB