Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 111.8 kB / 17.75 MB, free: 5.348 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.001153/0.001154, allocations: 185.8 kB / 18.68 MB, free: 4.426 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.329/1.329, allocations: 205.1 MB / 224.6 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.384e-05, allocations: 7.062 kB / 328.5 MB, free: 3.359 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004539/0.004571, allocations: 3.735 MB / 332.2 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.006742, allocations: 1.469 MB / 333.7 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.006901, allocations: 15.94 kB / 333.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001595/0.008502, allocations: 0.7584 MB / 334.5 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009804/0.009492, allocations: 0.5598 MB / 335 MB, free: 12.78 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006976/0.01021, allocations: 414.5 kB / 335.4 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005255/0.01074, allocations: 0.5914 MB / 336 MB, free: 11.78 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005385/0.01129, allocations: 381.5 kB / 336.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.01156, allocations: 227 kB / 336.6 MB, free: 11.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.01187, allocations: 302.6 kB / 336.9 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.424e-05/0.01193, allocations: 47.94 kB / 337 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003366/0.01228, allocations: 211.8 kB / 337.2 MB, free: 10.63 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0006127/0.0129, allocations: 0.919 MB / 338.1 MB, free: 9.703 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003302/0.01323, allocations: 0.6082 MB / 338.7 MB, free: 9.086 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.076e-05/0.01331, allocations: 67.81 kB / 338.8 MB, free: 9.02 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.573e-05/0.01335, allocations: 15.88 kB / 338.8 MB, free: 9.004 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: 144 (121) * Number of variables: 144 (144) Notification: Performance of Bindings: time 0.002605/0.01596, allocations: 3.276 MB / 342.1 MB, free: 5.59 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002916/0.01626, allocations: 291.4 kB / 342.3 MB, free: 5.293 MB / 286.1 MB Notification: Performance of Early Inline: time 0.002705/0.01897, allocations: 2.904 MB / 345.2 MB, free: 2.348 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001599/0.01914, allocations: 179.8 kB / 345.4 MB, free: 2.172 MB / 286.1 MB Notification: Performance of Alias: time 0.00179/0.02094, allocations: 1.668 MB / 347.1 MB, free: 360 kB / 286.1 MB Notification: Performance of simplify2: time 0.0001476/0.0211, allocations: 175.8 kB / 347.3 MB, free: 184 kB / 286.1 MB Notification: Performance of Events: time 0.000237/0.02135, allocations: 191.8 kB / 347.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of Detect States: time 0.000599/0.02195, allocations: 0.5811 MB / 348 MB, free: 15.39 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0009658/0.02293, allocations: 0.8989 MB / 348.9 MB, free: 14.46 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (4|4) Unmatched Variables *************************** [ALGB] (1) Real currentSensor.pf = cos(Modelica.ComplexMath.arg(Complex.'constructor'.fromReal(currentSensor.P, currentSensor.Q), 0.0)) slice: {} [DER-] (1) Real $DER.resistor.pin_p.reference.gamma slice: {} [ALGB] (1) Real currentSensor.abs_y = Modelica.ComplexMath.'abs'(currentSensor.y) slice: {} [DER-] (1) Real $DER.currentSensor.pin_p.reference.gamma slice: {} (4|4) Unmatched Equations *************************** [SCAL] (1) inductor.pin_n.reference.gamma = capacitor.pin_p.reference.gamma ($RES_SIM_60) slice: {} [SCAL] (1) resistor.pin_n.reference.gamma = inductor.pin_p.reference.gamma ($RES_SIM_63) slice: {} [SCAL] (1) currentSensor.pin_n.reference.gamma = resistor.pin_p.reference.gamma ($RES_SIM_66) slice: {} [SCAL] (1) voltageSource.pin_p.reference.gamma = currentSensor.pin_p.reference.gamma ($RES_SIM_69) slice: {}