Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.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.001285/0.001285, allocations: 103.6 kB / 16.42 MB, free: 6.469 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.001344/0.001344, allocations: 192.2 kB / 17.36 MB, free: 5.734 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.402/1.402, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.613e-05, allocations: 2.281 kB / 327.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.005562/0.005586, allocations: 5.34 MB / 332.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.0078, allocations: 1.474 MB / 334 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002854/0.008097, allocations: 27.81 kB / 334 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003987/0.008502, allocations: 217.8 kB / 334.3 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004077/0.008917, allocations: 194 kB / 334.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006064/0.009539, allocations: 391.4 kB / 334.8 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.01059, allocations: 1.275 MB / 336.1 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005764/0.01117, allocations: 493.2 kB / 336.6 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003761/0.01156, allocations: 406.2 kB / 337 MB, free: 9.48 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003512/0.01192, allocations: 417.6 kB / 337.4 MB, free: 9.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.44e-05/0.01202, allocations: 84 kB / 337.5 MB, free: 8.988 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.01218, allocations: 103.9 kB / 337.6 MB, free: 8.887 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001031/0.01322, allocations: 1.732 MB / 339.3 MB, free: 7.133 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005814/0.0138, allocations: 1.162 MB / 340.5 MB, free: 5.953 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.01396, allocations: 183.3 kB / 340.6 MB, free: 5.773 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.000129/0.01409, allocations: 115.5 kB / 340.8 MB, free: 5.66 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.003591/0.01769, allocations: 4.568 MB / 345.3 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002133/0.01791, allocations: 194.7 kB / 345.5 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001816/0.01973, allocations: 1.999 MB / 347.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001556/0.0199, allocations: 171.8 kB / 347.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of Alias: time 0.005352/0.02525, allocations: 5.404 MB / 353.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of simplify2: time 6.041e-05/0.02532, allocations: 59.92 kB / 353.1 MB, free: 8.402 MB / 302.1 MB Notification: Performance of Events: time 0.0001394/0.02547, allocations: 104.6 kB / 353.2 MB, free: 8.301 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003467/0.02583, allocations: 312.1 kB / 353.6 MB, free: 7.988 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000347/0.02618, allocations: 354.9 kB / 353.9 MB, free: 7.613 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: {}