Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000965/0.000965, allocations: 102.4 kB / 18.41 MB, free: 4.688 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.000909/0.000909, allocations: 192.3 kB / 19.35 MB, free: 3.762 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.434/1.434, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.38e-05, allocations: 2.281 kB / 329.2 MB, free: 3.363 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.005285/0.005318, allocations: 3.746 MB / 332.9 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002805/0.008138, allocations: 1.461 MB / 334.4 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004571/0.008607, allocations: 12 kB / 334.4 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001896/0.01051, allocations: 0.7584 MB / 335.1 MB, free: 13.35 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.01209, allocations: 0.5636 MB / 335.7 MB, free: 12.78 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009918/0.01312, allocations: 422.5 kB / 336.1 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009314/0.01406, allocations: 0.5836 MB / 336.7 MB, free: 11.78 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008771/0.01495, allocations: 474 kB / 337.2 MB, free: 11.31 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005251/0.01549, allocations: 239 kB / 337.4 MB, free: 11.08 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005555/0.01605, allocations: 306.6 kB / 337.7 MB, free: 10.78 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.01621, allocations: 48 kB / 337.7 MB, free: 10.73 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006319/0.01685, allocations: 219.8 kB / 338 MB, free: 10.52 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0007086/0.01757, allocations: 0.9229 MB / 338.9 MB, free: 9.582 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003914/0.01797, allocations: 0.616 MB / 339.5 MB, free: 8.957 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.01814, allocations: 67.81 kB / 339.6 MB, free: 8.891 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.815e-05/0.01824, allocations: 11.94 kB / 339.6 MB, free: 8.879 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.003221/0.02147, allocations: 3.319 MB / 342.9 MB, free: 5.422 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002917/0.02176, allocations: 291.4 kB / 343.2 MB, free: 5.125 MB / 286.1 MB Notification: Performance of Early Inline: time 0.002776/0.02455, allocations: 2.962 MB / 346.1 MB, free: 2.121 MB / 286.1 MB Notification: Performance of simplify1: time 0.00016/0.02472, allocations: 183.8 kB / 346.3 MB, free: 1.941 MB / 286.1 MB Notification: Performance of Alias: time 0.001881/0.02661, allocations: 1.746 MB / 348.1 MB, free: 44 kB / 286.1 MB Notification: Performance of simplify2: time 0.0001575/0.02677, allocations: 175.8 kB / 348.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of Events: time 0.0002004/0.02698, allocations: 187.7 kB / 348.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of Detect States: time 0.0006932/0.02769, allocations: 0.5915 MB / 349 MB, free: 15.07 MB / 302.1 MB Notification: Performance of Partitioning: time 0.001005/0.0287, allocations: 0.9107 MB / 349.9 MB, free: 14.14 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (4|4) Unmatched Variables *************************** [ALGB] (1) Real currentSource.pf = cos(Modelica.ComplexMath.arg(Complex.'constructor'.fromReal(currentSource.P, currentSource.Q), 0.0)) slice: {} [ALGB] (1) Real voltageSensor.omega slice: {} [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: {} (4|4) Unmatched Equations *************************** [SCAL] (1) voltageSensor.pin_n.reference.gamma = currentSource.pin_p.reference.gamma ($RES_SIM_64) slice: {} [SCAL] (1) voltageSensor.pin_n.reference.gamma = resistor.pin_n.reference.gamma ($RES_SIM_65) slice: {} [SCAL] (1) voltageSensor.pin_n.reference.gamma = inductor.pin_n.reference.gamma ($RES_SIM_66) slice: {} [SCAL] (1) voltageSensor.pin_n.reference.gamma = capacitor.pin_n.reference.gamma ($RES_SIM_67) slice: {}