Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 116.6 kB / 17.75 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 192.6 kB / 18.68 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.26e-05/3.261e-05, allocations: 2.281 kB / 351.9 MB, free: 3.301 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002848/0.002892, allocations: 1.628 MB / 353.5 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.004261, allocations: 0.6465 MB / 354.2 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.004385, allocations: 0 / 354.2 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.004709, allocations: 51.72 kB / 354.2 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002571/0.005001, allocations: 35.78 kB / 354.3 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.006244, allocations: 0.5999 MB / 354.9 MB, free: 336 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.00653, allocations: 139.6 kB / 355 MB, free: 196 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.006652, allocations: 31.98 kB / 355 MB, free: 164 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.006811, allocations: 67.69 kB / 355.1 MB, free: 96 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.006972, allocations: 71.69 kB / 355.2 MB, free: 24 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.007008, allocations: 8 kB / 355.2 MB, free: 16 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002318/0.007246, allocations: 127.8 kB / 355.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001726/0.007428, allocations: 209.3 kB / 355.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.464e-05/0.00752, allocations: 141.8 kB / 355.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.805e-05/0.007554, allocations: 11.94 kB / 355.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.581e-05/0.007586, allocations: 4 kB / 355.7 MB, free: 15.53 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 (18) * Number of variables: 41 (25) Notification: Performance of Bindings: time 0.0008897/0.008481, allocations: 0.8358 MB / 356.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001594/0.008648, allocations: 99.11 kB / 356.6 MB, free: 14.49 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0009295/0.009585, allocations: 0.8192 MB / 357.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simplify1: time 7.089e-05/0.009668, allocations: 51.94 kB / 357.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of Alias: time 0.0007036/0.01038, allocations: 466.3 kB / 357.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simplify2: time 6.733e-05/0.01046, allocations: 43.94 kB / 358 MB, free: 13.02 MB / 302.1 MB Notification: Performance of Events: time 0.0001062/0.01057, allocations: 66.12 kB / 358 MB, free: 12.96 MB / 302.1 MB Notification: Performance of Detect States: time 0.000162/0.01074, allocations: 133.2 kB / 358.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002538/0.01101, allocations: 198.2 kB / 358.3 MB, free: 12.61 MB / 302.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(3) {transferFunction.aw[1].im, transferFunction.aw[2].im, transferFunction.aw[3].im}, does not fit the equation size 2. Error: Internal error NBSlice.resolveDependency failed for: transferFunction.aw.im. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (6) transferFunction.aw = {Complex.'constructor'.fromReal(transferFunction.a[i] * cos(((-1) + i) * atan2(logFrequencySweep.y, 0.0)) * exp(0.5 * ((-1) + i) * log(logFrequencySweep.y * logFrequencySweep.y)), transferFunction.a[i] * sin(((-1) + i) * atan2(logFrequencySweep.y, 0.0)) * exp(0.5 * ((-1) + i) * log(logFrequencySweep.y * logFrequencySweep.y))) for i in 1:3} ($RES_SIM_5)