Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.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/Modelica 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/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Electrical.RLSeriesFrequencySweep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep") translateModel(HanserModelica.Electrical.RLSeriesFrequencySweep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 109.4 kB / 16.42 MB, free: 6.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 240.1 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 188.5 kB / 290.4 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03267/0.03267, allocations: 8.795 MB / 349.3 MB, free: 4.637 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.538e-05/3.539e-05, allocations: 2.281 kB / 464.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.005728/0.005787, allocations: 3.964 MB / 468.5 MB, free: 9.215 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003293/0.009101, allocations: 1.585 MB / 470 MB, free: 7.621 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000306/0.009427, allocations: 8 kB / 470.1 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001953/0.01139, allocations: 0.766 MB / 470.8 MB, free: 6.844 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.01285, allocations: 0.5295 MB / 471.4 MB, free: 6.312 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.01398, allocations: 495.1 kB / 471.8 MB, free: 5.832 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008479/0.01484, allocations: 0.6695 MB / 472.5 MB, free: 5.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007977/0.01565, allocations: 499.8 kB / 473 MB, free: 4.664 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000331/0.01599, allocations: 266.9 kB / 473.3 MB, free: 4.402 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003542/0.01635, allocations: 322.5 kB / 473.6 MB, free: 4.086 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.01e-05/0.01643, allocations: 56 kB / 473.6 MB, free: 4.031 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005354/0.01697, allocations: 227.8 kB / 473.8 MB, free: 3.809 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007149/0.0177, allocations: 0.9881 MB / 474.8 MB, free: 2.809 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004158/0.01812, allocations: 0.6658 MB / 475.5 MB, free: 2.133 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.01823, allocations: 71.81 kB / 475.6 MB, free: 2.062 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.509e-05/0.01833, allocations: 15.88 kB / 475.6 MB, free: 2.047 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 (127) * Number of variables: 151 (151) Notification: Performance of Bindings: time 0.003479/0.02182, allocations: 3.662 MB / 479.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0003775/0.02221, allocations: 303.3 kB / 479.5 MB, free: 13.93 MB / 318.1 MB Notification: Performance of Early Inline: time 0.002806/0.02502, allocations: 2.681 MB / 482.2 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simplify1: time 0.000188/0.02522, allocations: 171.8 kB / 482.4 MB, free: 11.04 MB / 318.1 MB Notification: Performance of Alias: time 0.002221/0.02745, allocations: 1.825 MB / 484.2 MB, free: 9.074 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001651/0.02763, allocations: 155.8 kB / 484.4 MB, free: 8.922 MB / 318.1 MB Notification: Performance of Events: time 0.0002447/0.02788, allocations: 199.8 kB / 484.6 MB, free: 8.727 MB / 318.1 MB Notification: Performance of Detect States: time 0.0006271/0.02852, allocations: 0.5891 MB / 485.2 MB, free: 8.113 MB / 318.1 MB Notification: Performance of Partitioning: time 0.00108/0.02961, allocations: 0.9303 MB / 486.1 MB, free: 7.152 MB / 318.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (4|4) Unmatched Variables *************************** [ALGB] (1) Real voltageSensor.omega slice: {} [ALGB] (1) Real voltageSource.arg_i = Modelica.ComplexMath.arg(voltageSource.i, 0.0) slice: {} [ALGB] (1) Real resistor.omega slice: {} [ALGB] (1) Real currentSensor.omega slice: {} (4|4) Unmatched Equations *************************** [SCAL] (1) currentSensor.pin_p.reference.gamma = voltageSource.pin_p.reference.gamma ($RES_SIM_57) slice: {} [SCAL] (1) voltageSensor.pin_n.reference.gamma = inductor.pin_p.reference.gamma ($RES_SIM_61) slice: {} [SCAL] (1) currentSensor.pin_n.reference.gamma = voltageSensor.pin_p.reference.gamma ($RES_SIM_66) slice: {} [SCAL] (1) currentSensor.pin_n.reference.gamma = resistor.pin_p.reference.gamma ($RES_SIM_67) slice: {}