Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001309/0.001309, allocations: 111.4 kB / 16.42 MB, free: 6.473 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.001279/0.001279, allocations: 187.2 kB / 17.36 MB, free: 5.707 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.272/1.272, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.56e-05, allocations: 6.219 kB / 327.2 MB, free: 3.336 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004271/0.004305, allocations: 3.743 MB / 330.9 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.006294, allocations: 1.461 MB / 332.4 MB, free: 14.1 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.00644, allocations: 12 kB / 332.4 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.007952, allocations: 0.7584 MB / 333.1 MB, free: 13.32 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009564/0.008917, allocations: 0.5714 MB / 333.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006884/0.009623, allocations: 410.6 kB / 334.1 MB, free: 12.35 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005075/0.01014, allocations: 0.5914 MB / 334.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005266/0.01067, allocations: 381.5 kB / 335.1 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000275/0.01096, allocations: 227 kB / 335.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002905/0.01126, allocations: 298.6 kB / 335.6 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.305e-05/0.01132, allocations: 44 kB / 335.6 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003343/0.01166, allocations: 219.8 kB / 335.9 MB, free: 10.61 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0005785/0.01225, allocations: 0.9151 MB / 336.8 MB, free: 9.68 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003373/0.01259, allocations: 0.612 MB / 337.4 MB, free: 9.059 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.672e-05/0.01267, allocations: 67.81 kB / 337.5 MB, free: 8.992 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.114e-05/0.0127, allocations: 11.94 kB / 337.5 MB, free: 8.98 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.002574/0.01528, allocations: 3.276 MB / 340.7 MB, free: 5.566 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0003167/0.01561, allocations: 299.3 kB / 341 MB, free: 5.262 MB / 286.1 MB Notification: Performance of Early Inline: time 0.002731/0.01835, allocations: 2.9 MB / 343.9 MB, free: 2.32 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001434/0.0185, allocations: 175.8 kB / 344.1 MB, free: 2.148 MB / 286.1 MB Notification: Performance of Alias: time 0.001721/0.02023, allocations: 1.676 MB / 345.8 MB, free: 328 kB / 286.1 MB Notification: Performance of simplify2: time 0.0001397/0.02038, allocations: 171.8 kB / 345.9 MB, free: 156 kB / 286.1 MB Notification: Performance of Events: time 0.0002063/0.02059, allocations: 195.7 kB / 346.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of Detect States: time 0.0005244/0.02113, allocations: 0.5735 MB / 346.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0008592/0.022, 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: {}