Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 113 kB / 17.75 MB, free: 5.309 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.001306/0.001307, allocations: 188.6 kB / 18.68 MB, free: 4.387 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.331/1.331, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/2.82e-05, allocations: 2.281 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.005582/0.005619, allocations: 5.354 MB / 357.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00291/0.008556, allocations: 1.445 MB / 358.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004894/0.009068, allocations: 23.88 kB / 358.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004772/0.009552, allocations: 217.8 kB / 359 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005252/0.01014, allocations: 194 kB / 359.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007907/0.01094, allocations: 395.4 kB / 359.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001136/0.01208, allocations: 1.275 MB / 360.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006357/0.01273, allocations: 493.2 kB / 361.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004559/0.01319, allocations: 398.3 kB / 361.7 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003633/0.01357, allocations: 425.6 kB / 362.1 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.687e-05/0.01367, allocations: 84 kB / 362.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.01386, allocations: 99.98 kB / 362.3 MB, free: 8.832 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0009826/0.01485, allocations: 1.728 MB / 364 MB, free: 7.082 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005717/0.01543, allocations: 1.166 MB / 365.2 MB, free: 5.898 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.01559, allocations: 187.3 kB / 365.4 MB, free: 5.715 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.000248/0.01585, allocations: 139.5 kB / 365.5 MB, free: 5.578 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.00352/0.01937, allocations: 4.567 MB / 370.1 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0002094/0.01959, allocations: 187.2 kB / 370.3 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of Early Inline: time 0.2112/0.2308, allocations: 1.985 MB / 372.3 MB, free: 16.37 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002393/0.2311, allocations: 177.4 kB / 372.4 MB, free: 16.37 MB / 302.1 MB Notification: Performance of Alias: time 0.00758/0.2387, allocations: 6.326 MB / 378.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simplify2: time 0.000127/0.2389, allocations: 70.95 kB / 378.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of Events: time 0.0001697/0.239, allocations: 98.83 kB / 378.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003443/0.2394, allocations: 301 kB / 379.2 MB, free: 13.72 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000387/0.2398, allocations: 357.1 kB / 379.6 MB, free: 13.52 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)