Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 110.1 kB / 18.45 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001242/0.001242, allocations: 215.9 kB / 19.42 MB, free: 3.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.298e-05, allocations: 4.672 kB / 359.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.005688/0.00572, allocations: 5.403 MB / 364.8 MB, free: 7.531 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002886/0.008625, allocations: 1.523 MB / 366.3 MB, free: 6.004 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007549/0.009396, allocations: 23.88 kB / 366.3 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006553/0.01006, allocations: 217.8 kB / 366.5 MB, free: 5.766 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007736/0.01088, allocations: 202 kB / 366.7 MB, free: 5.566 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009557/0.01184, allocations: 419.3 kB / 367.1 MB, free: 5.156 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001467/0.01332, allocations: 1.279 MB / 368.4 MB, free: 3.871 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007145/0.01405, allocations: 493.3 kB / 368.9 MB, free: 3.371 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006285/0.01468, allocations: 402.3 kB / 369.3 MB, free: 2.977 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005694/0.01527, allocations: 441.5 kB / 369.7 MB, free: 2.543 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001782/0.01545, allocations: 84 kB / 369.8 MB, free: 2.461 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002782/0.01574, allocations: 96 kB / 369.9 MB, free: 2.367 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001189/0.01694, allocations: 1.736 MB / 371.6 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.1629/0.1798, allocations: 1.163 MB / 372.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003174/0.1802, allocations: 191.9 kB / 373 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003222/0.1805, allocations: 126.4 kB / 373.1 MB, free: 13.12 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: 252 (252) * Number of variables: 252 (252) Notification: Performance of Bindings: time 0.003085/0.1836, allocations: 4.574 MB / 377.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001205/0.1837, allocations: 170.8 kB / 377.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of Early Inline: time 0.00177/0.1855, allocations: 2.285 MB / 380.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001568/0.1857, allocations: 178.8 kB / 380.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of Alias: time 0.005705/0.1914, allocations: 6.326 MB / 386.6 MB, free: 6.594 MB / 302.1 MB Notification: Performance of simplify2: time 7.955e-05/0.1915, allocations: 71.59 kB / 386.7 MB, free: 6.566 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002954/0.1918, allocations: 285.7 kB / 387 MB, free: 6.375 MB / 302.1 MB Notification: Performance of Events: time 0.0001471/0.1919, allocations: 100.4 kB / 387.1 MB, free: 6.32 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002977/0.1922, allocations: 343.7 kB / 387.4 MB, free: 6.109 MB / 302.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 2 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: voltageToCurrentAdaptor1b.y1. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) currentToVoltageAdaptor1b.u = Modelica.Blocks.Interfaces.Adaptors.Functions.state1({currentToVoltageAdaptor1b.f, voltageToCurrentAdaptor1b.y1}, time) ($RES_SIM_100)