Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.ResonanceCircuits,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001097, allocations: 105.5 kB / 16.42 MB, free: 6.461 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.001123/0.001123, allocations: 192.2 kB / 17.36 MB, free: 5.73 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.299/1.299, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.542e-05, allocations: 2.281 kB / 327.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.005618/0.005652, allocations: 5.344 MB / 332.6 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002719/0.008408, allocations: 1.466 MB / 334 MB, free: 12.47 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004142/0.008844, allocations: 31.81 kB / 334 MB, free: 12.44 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000436/0.00929, allocations: 221.7 kB / 334.3 MB, free: 12.22 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004575/0.009835, allocations: 186 kB / 334.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007227/0.01057, allocations: 395.4 kB / 334.8 MB, free: 11.65 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.01167, allocations: 1.275 MB / 336.1 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000571/0.01225, allocations: 493.2 kB / 336.6 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003957/0.01265, allocations: 394.3 kB / 337 MB, free: 9.48 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/0.01299, allocations: 433.6 kB / 337.4 MB, free: 9.055 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.365e-05/0.01309, allocations: 80 kB / 337.5 MB, free: 8.977 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.01325, allocations: 99.94 kB / 337.6 MB, free: 8.879 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0009846/0.01424, allocations: 1.724 MB / 339.3 MB, free: 7.133 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.000615/0.01487, allocations: 1.17 MB / 340.5 MB, free: 5.945 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.01503, allocations: 183.3 kB / 340.6 MB, free: 5.766 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0001942/0.01523, allocations: 115.5 kB / 340.8 MB, free: 5.652 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: 252 (252) * Number of variables: 252 (252) Notification: Performance of Bindings: time 0.003637/0.01887, allocations: 4.567 MB / 345.3 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002483/0.01913, allocations: 202.6 kB / 345.5 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001822/0.02096, allocations: 1.991 MB / 347.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001827/0.02115, allocations: 179.8 kB / 347.7 MB, free: 14.51 MB / 302.1 MB Notification: Performance of Alias: time 0.005702/0.02686, allocations: 5.4 MB / 353.1 MB, free: 8.449 MB / 302.1 MB Notification: Performance of simplify2: time 7.485e-05/0.02697, allocations: 67.91 kB / 353.2 MB, free: 8.383 MB / 302.1 MB Notification: Performance of Events: time 0.0001475/0.02712, allocations: 100.6 kB / 353.3 MB, free: 8.285 MB / 302.1 MB Notification: Performance of Detect States: time 0.000317/0.02745, allocations: 308.2 kB / 353.6 MB, free: 7.977 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003538/0.02781, allocations: 354.5 kB / 353.9 MB, free: 7.602 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (2|2) Unmatched Variables *************************** [ALGB] (1) protected Real currentToVoltageAdaptor1c.u slice: {} [ALGB] (1) protected Real currentToVoltageAdaptor1a.u slice: {} (2|2) Unmatched Equations *************************** [SCAL] (1) -voltageToCurrentAdaptor1a.f = current1.signalSource.offset + (if $TEV_1 then 0.0 else current1.signalSource.amplitude * $FUN_1) ($RES_SIM_175) slice: {} [SCAL] (1) conductor1.i - (currentToVoltageAdaptor1b.f + voltageToCurrentAdaptor1c.f) = 0.0 ($RES_SIM_186) slice: {}