Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001229/0.001229, allocations: 111.8 kB / 17.75 MB, free: 5.309 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.001239/0.001239, allocations: 189.8 kB / 18.68 MB, free: 4.383 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.306/1.306, allocations: 205.1 MB / 224.6 MB, free: 12.2 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.279e-05, allocations: 3.266 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006086/0.006118, allocations: 5.354 MB / 333.9 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003089/0.009222, allocations: 1.462 MB / 335.3 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009601/0.0102, allocations: 31.81 kB / 335.4 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007729/0.01098, allocations: 217.8 kB / 335.6 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.01207, allocations: 190 kB / 335.8 MB, free: 12.03 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.01321, allocations: 403.4 kB / 336.2 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001765/0.01499, allocations: 1.263 MB / 337.4 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008034/0.0158, allocations: 493.2 kB / 337.9 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006195/0.01643, allocations: 394.3 kB / 338.3 MB, free: 9.477 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006074/0.01705, allocations: 437.5 kB / 338.7 MB, free: 9.047 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002081/0.01726, allocations: 80 kB / 338.8 MB, free: 8.969 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002941/0.01757, allocations: 95.98 kB / 338.9 MB, free: 8.875 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001335/0.01891, allocations: 1.732 MB / 340.6 MB, free: 7.121 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007899/0.01971, allocations: 1.158 MB / 341.8 MB, free: 5.945 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.02002, allocations: 187.3 kB / 342 MB, free: 5.762 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0001944/0.02022, allocations: 123.4 kB / 342.1 MB, free: 5.641 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.004062/0.02429, allocations: 4.556 MB / 346.6 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002093/0.02451, allocations: 203.6 kB / 346.8 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001773/0.02629, allocations: 1.983 MB / 348.8 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simplify1: time 0.000157/0.02645, allocations: 179.8 kB / 349 MB, free: 14.52 MB / 302.1 MB Notification: Performance of Alias: time 0.005536/0.032, allocations: 5.416 MB / 354.4 MB, free: 8.438 MB / 302.1 MB Notification: Performance of simplify2: time 6.832e-05/0.03208, allocations: 59.92 kB / 354.5 MB, free: 8.379 MB / 302.1 MB Notification: Performance of Events: time 0.000133/0.03222, allocations: 99.84 kB / 354.6 MB, free: 8.281 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003323/0.03256, allocations: 309.1 kB / 354.9 MB, free: 7.973 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003506/0.03292, allocations: 354.5 kB / 355.2 MB, free: 7.598 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: {}