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.001298/0.001298, allocations: 108.9 kB / 16.42 MB, free: 6.523 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.303/1.303, allocations: 222.9 MB / 240.1 MB, free: 4.531 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.001252/0.001252, allocations: 184.5 kB / 290.4 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03453/0.03453, allocations: 8.808 MB / 349.3 MB, free: 4.621 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.561e-05/1.564e-05, allocations: 4.391 kB / 464.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.004505/0.004529, allocations: 3.975 MB / 468.5 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002367/0.00691, allocations: 1.581 MB / 470.1 MB, free: 7.617 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002885/0.007211, allocations: 12 kB / 470.1 MB, free: 7.605 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.008975, allocations: 0.7661 MB / 470.8 MB, free: 6.836 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.01012, allocations: 0.5301 MB / 471.4 MB, free: 6.305 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009385/0.01109, allocations: 489.4 kB / 471.8 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.01251, allocations: 0.6734 MB / 472.5 MB, free: 5.152 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007079/0.01323, allocations: 0.492 MB / 473 MB, free: 4.652 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/0.01354, allocations: 262.9 kB / 473.3 MB, free: 4.395 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003214/0.01387, allocations: 326.5 kB / 473.6 MB, free: 4.074 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.875e-05/0.01395, allocations: 60 kB / 473.6 MB, free: 4.016 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004062/0.01436, allocations: 223.8 kB / 473.9 MB, free: 3.797 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006382/0.01501, allocations: 0.9881 MB / 474.9 MB, free: 2.797 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003946/0.01541, allocations: 0.6618 MB / 475.5 MB, free: 2.125 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.01553, allocations: 71.81 kB / 475.6 MB, free: 2.055 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.934e-05/0.01559, allocations: 11.94 kB / 475.6 MB, free: 2.043 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.003155/0.01875, allocations: 3.672 MB / 479.3 MB, free: 14.23 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0003861/0.01915, allocations: 291.4 kB / 479.6 MB, free: 13.93 MB / 318.1 MB Notification: Performance of Early Inline: time 0.003003/0.02216, allocations: 2.689 MB / 482.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simplify1: time 0.0002151/0.02239, allocations: 159.8 kB / 482.4 MB, free: 11.05 MB / 318.1 MB Notification: Performance of Alias: time 0.002086/0.02448, allocations: 1.829 MB / 484.2 MB, free: 9.074 MB / 318.1 MB Notification: Performance of simplify2: time 0.000191/0.02468, allocations: 159.8 kB / 484.4 MB, free: 8.918 MB / 318.1 MB Notification: Performance of Detect States: time 0.001229/0.02592, allocations: 0.5639 MB / 484.9 MB, free: 8.332 MB / 318.1 MB Notification: Performance of Events: time 0.0002548/0.02618, allocations: 207.6 kB / 485.2 MB, free: 8.129 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0009391/0.02713, allocations: 0.9303 MB / 486.1 MB, free: 7.168 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: {}