Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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 4.0.0+maint.om/package.mo", uses=false) 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 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.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 111.8 kB / 17.75 MB, free: 5.312 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.001337/0.001337, allocations: 185.8 kB / 18.68 MB, free: 4.398 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.225/1.225, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.399e-05, allocations: 5.797 kB / 351.9 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005079/0.005112, allocations: 3.683 MB / 355.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.007677, allocations: 1.425 MB / 357 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003705/0.00806, allocations: 8 kB / 357 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001786/0.009854, allocations: 0.7588 MB / 357.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.01125, allocations: 0.5361 MB / 358.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008684/0.01213, allocations: 424.8 kB / 358.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007199/0.01286, allocations: 0.5564 MB / 359.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006665/0.01353, allocations: 381.5 kB / 359.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003888/0.01393, allocations: 219.1 kB / 359.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003897/0.01433, allocations: 278.7 kB / 360.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.594e-05/0.01444, allocations: 44 kB / 360.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004737/0.01492, allocations: 207.8 kB / 360.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006711/0.0156, allocations: 0.8648 MB / 361.3 MB, free: 9.895 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004306/0.01604, allocations: 0.5735 MB / 361.9 MB, free: 9.312 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.01619, allocations: 67.81 kB / 361.9 MB, free: 9.246 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.717e-05/0.01627, allocations: 8 kB / 361.9 MB, free: 9.238 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: 134 (112) * Number of variables: 134 (134) Notification: Performance of Bindings: time 0.002977/0.01926, allocations: 3.129 MB / 365.1 MB, free: 5.965 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0002708/0.01953, allocations: 259.3 kB / 365.3 MB, free: 5.711 MB / 302.1 MB Notification: Performance of Early Inline: time 0.002449/0.02199, allocations: 2.658 MB / 368 MB, free: 3 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001384/0.02214, allocations: 163.8 kB / 368.1 MB, free: 2.84 MB / 302.1 MB Notification: Performance of Alias: time 0.001735/0.02388, allocations: 1.601 MB / 369.7 MB, free: 1.109 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001345/0.02403, allocations: 159.8 kB / 369.9 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of Events: time 0.0001709/0.0242, allocations: 167.8 kB / 370 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of Detect States: time 0.000486/0.0247, allocations: 0.5273 MB / 370.6 MB, free: 248 kB / 302.1 MB Notification: Performance of Partitioning: time 0.1682/0.1929, allocations: 0.8118 MB / 371.4 MB, free: 17.34 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (4|4) Unmatched Variables *************************** [ALGB] (1) Real inductor.pf = cos(Modelica.ComplexMath.arg(Complex.'constructor'.fromReal(inductor.P, inductor.Q), 0.0)) slice: {} [ALGB] (1) Real resistor.omega slice: {} [ALGB] (1) Real currentSensor.omega slice: {} [ALGB] (1) Real voltageSource.pf = cos(Modelica.ComplexMath.arg(Complex.'constructor'.fromReal(voltageSource.P, voltageSource.Q), 0.0)) slice: {} (4|4) Unmatched Equations *************************** [SCAL] (1) inductor.pin_n.reference.gamma = capacitor.pin_p.reference.gamma ($RES_SIM_59) slice: {} [SCAL] (1) resistor.pin_n.reference.gamma = inductor.pin_p.reference.gamma ($RES_SIM_62) slice: {} [SCAL] (1) voltageSource.pin_p.reference.gamma = currentSensor.pin_p.reference.gamma ($RES_SIM_68) slice: {} [SCAL] (1) currentSensor.pin_p.reference.gamma = currentSensor.pin_n.reference.gamma ($RES_SIM_4) slice: {}