Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001335/0.001335, allocations: 107.3 kB / 16.42 MB, free: 6.52 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.001218/0.001218, allocations: 190 kB / 17.36 MB, free: 5.73 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.507/1.507, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.206e-05, allocations: 2.281 kB / 327.2 MB, free: 3.34 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004485/0.004516, allocations: 3.735 MB / 330.9 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.006905, allocations: 1.469 MB / 332.4 MB, free: 14.1 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.007089, allocations: 8 kB / 332.4 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001595/0.00869, allocations: 0.7545 MB / 333.1 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.009821, allocations: 0.5598 MB / 333.7 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008381/0.01067, allocations: 434.5 kB / 334.1 MB, free: 12.35 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000615/0.01129, allocations: 0.5836 MB / 334.7 MB, free: 11.76 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006389/0.01194, allocations: 385.5 kB / 335.1 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.01225, allocations: 223 kB / 335.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.01256, allocations: 294.6 kB / 335.6 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.757e-05/0.01263, allocations: 48 kB / 335.6 MB, free: 10.83 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003525/0.01299, allocations: 215.8 kB / 335.9 MB, free: 10.62 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0006031/0.0136, allocations: 0.9229 MB / 336.8 MB, free: 9.684 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.000324/0.01393, allocations: 0.6043 MB / 337.4 MB, free: 9.07 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.579e-05/0.01401, allocations: 67.81 kB / 337.4 MB, free: 9.004 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.179e-05/0.01406, allocations: 15.88 kB / 337.5 MB, free: 8.988 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.002597/0.01666, allocations: 3.284 MB / 340.7 MB, free: 5.566 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002868/0.01696, allocations: 287.3 kB / 341 MB, free: 5.273 MB / 286.1 MB Notification: Performance of Early Inline: time 0.002694/0.01966, allocations: 2.9 MB / 343.9 MB, free: 2.332 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001706/0.01984, allocations: 179.8 kB / 344.1 MB, free: 2.156 MB / 286.1 MB Notification: Performance of Alias: time 0.00182/0.02167, allocations: 1.672 MB / 345.8 MB, free: 340 kB / 286.1 MB Notification: Performance of simplify2: time 0.0001477/0.02182, allocations: 175.8 kB / 345.9 MB, free: 164 kB / 286.1 MB Notification: Performance of Events: time 0.0002052/0.02204, allocations: 191.7 kB / 346.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of Detect States: time 0.0005535/0.0226, allocations: 0.5851 MB / 346.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000899/0.02351, allocations: 0.8951 MB / 347.6 MB, free: 14.45 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: {}