Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_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.001138/0.001139, allocations: 110.3 kB / 18.36 MB, free: 4.703 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.001144/0.001144, allocations: 195.5 kB / 19.29 MB, free: 3.777 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.26/1.26, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.294e-05, allocations: 2.281 kB / 282.1 MB, free: 2.516 MB / 222.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.005554/0.005592, allocations: 5.339 MB / 287.4 MB, free: 13.14 MB / 238.1 MB Notification: Performance of NFInst.instExpressions: time 0.002295/0.007907, allocations: 1.473 MB / 288.9 MB, free: 11.66 MB / 238.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002746/0.008195, allocations: 27.88 kB / 288.9 MB, free: 11.63 MB / 238.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003963/0.008598, allocations: 217.8 kB / 289.1 MB, free: 11.42 MB / 238.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004076/0.009035, allocations: 194 kB / 289.3 MB, free: 11.23 MB / 238.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006105/0.009654, allocations: 399.4 kB / 289.7 MB, free: 10.84 MB / 238.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009894/0.01065, allocations: 1.271 MB / 291 MB, free: 9.562 MB / 238.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005616/0.01122, allocations: 485.3 kB / 291.4 MB, free: 9.066 MB / 238.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000342/0.01157, allocations: 398.2 kB / 291.8 MB, free: 8.676 MB / 238.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003214/0.0119, allocations: 429.6 kB / 292.2 MB, free: 8.254 MB / 238.1 MB Notification: Performance of NFPackage.collectConstants: time 9.758e-05/0.01201, allocations: 84 kB / 292.3 MB, free: 8.172 MB / 238.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.01217, allocations: 95.98 kB / 292.4 MB, free: 8.078 MB / 238.1 MB Notification: Performance of combineBinaries: time 0.001009/0.01318, allocations: 1.728 MB / 294.1 MB, free: 6.328 MB / 238.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005577/0.01375, allocations: 1.166 MB / 295.3 MB, free: 5.145 MB / 238.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.0139, allocations: 183.3 kB / 295.5 MB, free: 4.965 MB / 238.1 MB Notification: Performance of FrontEnd: time 0.0001257/0.01403, allocations: 119.5 kB / 295.6 MB, free: 4.848 MB / 238.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.003789/0.01783, allocations: 4.56 MB / 300.2 MB, free: 116 kB / 238.1 MB Notification: Performance of FunctionAlias: time 0.0002299/0.01807, allocations: 191 kB / 300.3 MB, free: 15.93 MB / 254.1 MB Notification: Performance of Early Inline: time 0.001801/0.01988, allocations: 1.998 MB / 302.3 MB, free: 13.89 MB / 254.1 MB Notification: Performance of simplify1: time 0.0001661/0.02005, allocations: 179.7 kB / 302.5 MB, free: 13.71 MB / 254.1 MB Notification: Performance of Alias: time 0.005562/0.02562, allocations: 5.42 MB / 307.9 MB, free: 7.641 MB / 254.1 MB Notification: Performance of simplify2: time 7.46e-05/0.02571, allocations: 63.91 kB / 308 MB, free: 7.574 MB / 254.1 MB Notification: Performance of Events: time 0.0001328/0.02585, allocations: 99.86 kB / 308.1 MB, free: 7.477 MB / 254.1 MB Notification: Performance of Detect States: time 0.0003319/0.02619, allocations: 305 kB / 308.4 MB, free: 7.164 MB / 254.1 MB Notification: Performance of Partitioning: time 0.000359/0.02656, allocations: 358.6 kB / 308.7 MB, free: 6.785 MB / 254.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: {}