Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion") translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 107.4 kB / 16.42 MB, free: 6.484 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.001187/0.001187, allocations: 187.2 kB / 17.35 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.245/1.245, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.019e-05, allocations: 3.547 kB / 327.2 MB, free: 3.34 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003114/0.003142, allocations: 2.329 MB / 329.5 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.004277, allocations: 0.7098 MB / 330.2 MB, free: 280 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.199e-05/0.00438, allocations: 4 kB / 330.2 MB, free: 276 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.00454, allocations: 27.72 kB / 330.3 MB, free: 248 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.905e-05/0.004644, allocations: 59.48 kB / 330.3 MB, free: 188 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.004939, allocations: 83.72 kB / 330.4 MB, free: 104 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003377/0.005289, allocations: 303 kB / 330.7 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.005475, allocations: 76.27 kB / 330.8 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.005666, allocations: 115.5 kB / 330.9 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.005824, allocations: 107.5 kB / 331 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.005869, allocations: 20 kB / 331 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.521e-05/0.00591, allocations: 20 kB / 331 MB, free: 15.48 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0002534/0.00617, allocations: 340.5 kB / 331.4 MB, free: 15.14 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 9.277e-05/0.006269, allocations: 197 kB / 331.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.79e-05/0.006332, allocations: 35.94 kB / 331.6 MB, free: 14.91 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.825e-05/0.006365, allocations: 11.88 kB / 331.6 MB, free: 14.9 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 (36) * Number of variables: 50 (38) Notification: Performance of Bindings: time 0.0009757/0.007345, allocations: 1.035 MB / 332.6 MB, free: 13.75 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001185/0.00747, allocations: 74.97 kB / 332.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0005499/0.008027, allocations: 0.5725 MB / 333.3 MB, free: 13.09 MB / 286.1 MB Notification: Performance of simplify1: time 4.542e-05/0.00808, allocations: 39.95 kB / 333.3 MB, free: 13.05 MB / 286.1 MB Notification: Performance of Alias: time 0.000922/0.009008, allocations: 0.7842 MB / 334.1 MB, free: 12.16 MB / 286.1 MB Notification: Performance of simplify2: time 2.675e-05/0.009045, allocations: 23.97 kB / 334.1 MB, free: 12.13 MB / 286.1 MB Notification: Performance of Events: time 0.0001831/0.009234, allocations: 131.7 kB / 334.2 MB, free: 12 MB / 286.1 MB Notification: Performance of Detect States: time 0.000252/0.009494, allocations: 200.6 kB / 334.4 MB, free: 11.79 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0002014/0.009704, allocations: 180.2 kB / 334.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of Causalize: time 0.001134/0.01084, allocations: 0.9777 MB / 335.6 MB, free: 10.61 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004916/0.01135, allocations: 0.4924 MB / 336.1 MB, free: 10.09 MB / 286.1 MB Notification: Performance of Inline: time 0.000753/0.01211, allocations: 0.7648 MB / 336.9 MB, free: 9.285 MB / 286.1 MB Notification: Performance of Partitioning: time 4.764e-05/0.01217, allocations: 34.38 kB / 336.9 MB, free: 9.246 MB / 286.1 MB Notification: Performance of Cleanup: time 5.299e-05/0.01222, allocations: 55.89 kB / 336.9 MB, free: 9.191 MB / 286.1 MB Notification: Performance of Causalize: time 0.001098/0.01333, allocations: 1.197 MB / 338.1 MB, free: 7.996 MB / 286.1 MB Notification: Performance of Tearing: time 7.003e-06/0.01334, allocations: 48 / 338.1 MB, free: 7.996 MB / 286.1 MB Notification: Performance of Initialization: time 2.91e-07/0.01335, allocations: 0 / 338.1 MB, free: 7.996 MB / 286.1 MB Error: Internal error NBEquation.Equation.getResidualExp failed for: [ALGO] (8) ($RES_SIM_2) [----] when aD_Converter.trig == Modelica.Electrical.Digital.Interfaces.Logic.'1' or aD_Converter.trig == Modelica.Electrical.Digital.Interfaces.Logic.'H' then [----] aD_Converter.z := if aD_Converter.u > aD_Converter.VRefLow then integer(((aD_Converter.u - aD_Converter.VRefLow) / (aD_Converter.VRefHigh - aD_Converter.VRefLow)) * 127.0 + 0.5) else 0; [----] for i in 1:7 loop [----] aD_Converter.y[i] := if $FUN_2 > 0 then Modelica.Electrical.Digital.Interfaces.Logic.'1' else Modelica.Electrical.Digital.Interfaces.Logic.'0'; [----] aD_Converter.z := $FUN_3; [----] end for; [----] end when;