Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00124/0.00124, allocations: 117.5 kB / 18.47 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00128/0.00128, allocations: 213 kB / 19.42 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.359e-05, allocations: 2.281 kB / 359.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004653/0.004685, allocations: 3.7 MB / 363 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.00708, allocations: 1.487 MB / 364.5 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.007272, allocations: 8 kB / 364.5 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00167/0.008949, allocations: 0.7507 MB / 365.3 MB, free: 7.008 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008818/0.009841, allocations: 385.7 kB / 365.7 MB, free: 6.633 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009787/0.01083, allocations: 0.5528 MB / 366.2 MB, free: 6.078 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005325/0.01137, allocations: 0.5447 MB / 366.8 MB, free: 5.531 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005897/0.01197, allocations: 377.5 kB / 367.1 MB, free: 5.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003078/0.01229, allocations: 219 kB / 367.3 MB, free: 4.945 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.01259, allocations: 286.7 kB / 367.6 MB, free: 4.664 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.793e-05/0.01266, allocations: 40 kB / 367.7 MB, free: 4.625 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003716/0.01303, allocations: 207.9 kB / 367.9 MB, free: 4.422 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005808/0.01362, allocations: 0.8726 MB / 368.7 MB, free: 3.539 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003161/0.01395, allocations: 0.5735 MB / 369.3 MB, free: 2.957 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.028e-05/0.01403, allocations: 67.81 kB / 369.4 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.814e-05/0.01409, allocations: 15.94 kB / 369.4 MB, free: 2.875 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.2038/0.2179, allocations: 3.12 MB / 372.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0003423/0.2183, allocations: 243.3 kB / 372.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of Early Inline: time 0.002645/0.2209, allocations: 2.665 MB / 375.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001676/0.2211, allocations: 162.9 kB / 375.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of Alias: time 0.001771/0.2229, allocations: 1.567 MB / 377.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001318/0.223, allocations: 155.8 kB / 377.3 MB, free: 11.53 MB / 302.1 MB Notification: Performance of Events: time 0.0001849/0.2232, allocations: 175.2 kB / 377.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of Detect States: time 0.0004657/0.2237, allocations: 0.537 MB / 378 MB, free: 11.05 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0007719/0.2245, allocations: 0.8129 MB / 378.8 MB, free: 10.64 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: {}