Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001189/0.001189, allocations: 104.6 kB / 16.42 MB, free: 6.5 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.001101/0.001101, allocations: 192.9 kB / 17.35 MB, free: 5.754 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.537/1.537, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.295e-05, allocations: 2.281 kB / 327.2 MB, free: 3.355 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004561/0.004594, allocations: 3.747 MB / 330.9 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.006909, allocations: 1.469 MB / 332.4 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.007084, allocations: 12 kB / 332.4 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.008621, allocations: 0.7545 MB / 333.2 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.009642, allocations: 0.5598 MB / 333.7 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006975/0.01037, allocations: 426.5 kB / 334.1 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005097/0.01089, allocations: 0.5914 MB / 334.7 MB, free: 11.76 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006298/0.01153, allocations: 470 kB / 335.2 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.0118, allocations: 235 kB / 335.4 MB, free: 11.07 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.01209, allocations: 306.6 kB / 335.7 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.378e-05/0.01215, allocations: 48 kB / 335.8 MB, free: 10.72 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003393/0.01249, allocations: 211.8 kB / 336 MB, free: 10.51 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0005707/0.01307, allocations: 0.9229 MB / 336.9 MB, free: 9.578 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003198/0.0134, allocations: 0.6198 MB / 337.5 MB, free: 8.949 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.867e-05/0.01347, allocations: 67.81 kB / 337.6 MB, free: 8.883 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.551e-05/0.01351, allocations: 11.94 kB / 337.6 MB, free: 8.871 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.002433/0.01595, allocations: 3.303 MB / 340.9 MB, free: 5.43 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002832/0.01624, allocations: 299.3 kB / 341.2 MB, free: 5.125 MB / 286.1 MB Notification: Performance of Early Inline: time 0.002576/0.01883, allocations: 2.958 MB / 344.1 MB, free: 2.125 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001487/0.01898, allocations: 191.8 kB / 344.3 MB, free: 1.938 MB / 286.1 MB Notification: Performance of Alias: time 0.001625/0.02062, allocations: 1.696 MB / 346 MB, free: 92 kB / 286.1 MB Notification: Performance of simplify2: time 0.0001503/0.02078, allocations: 175.8 kB / 346.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of Events: time 0.0001859/0.02097, allocations: 187.7 kB / 346.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of Detect States: time 0.0004909/0.02147, allocations: 0.5813 MB / 347 MB, free: 15.13 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0008472/0.02233, allocations: 0.9107 MB / 347.9 MB, free: 14.2 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: {} [DER-] (1) Real $DER.resistor.pin_p.reference.gamma slice: {} [ALGB] (1) Real inductor.pf = cos(Modelica.ComplexMath.arg(Complex.'constructor'.fromReal(inductor.P, inductor.Q), 0.0)) 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: {}