Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 113.4 kB / 17.75 MB, free: 5.324 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.001225/0.001225, allocations: 184.2 kB / 18.68 MB, free: 4.402 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.385/1.385, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.651e-05, allocations: 6.219 kB / 351.9 MB, free: 3.305 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005647/0.005682, allocations: 4.566 MB / 356.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002565/0.008262, allocations: 1.329 MB / 357.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003126/0.008588, allocations: 23.81 kB / 357.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004183/0.009013, allocations: 182.2 kB / 358 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003321/0.009354, allocations: 166.3 kB / 358.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007176/0.01008, allocations: 367.5 kB / 358.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00101/0.01114, allocations: 1.111 MB / 359.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005574/0.0117, allocations: 423.4 kB / 360.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000361/0.01207, allocations: 338.5 kB / 360.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003289/0.01241, allocations: 346 kB / 360.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.591e-05/0.01252, allocations: 76 kB / 360.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.01275, allocations: 112 kB / 360.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0009554/0.01371, allocations: 1.42 MB / 362.3 MB, free: 8.809 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005192/0.01424, allocations: 0.954 MB / 363.3 MB, free: 7.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.01439, allocations: 163.4 kB / 363.4 MB, free: 7.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002192/0.01461, allocations: 115.5 kB / 363.6 MB, free: 7.566 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: 201 (201) * Number of variables: 201 (201) Notification: Performance of Bindings: time 0.003115/0.01773, allocations: 3.841 MB / 367.4 MB, free: 3.555 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0002133/0.01795, allocations: 155.8 kB / 367.6 MB, free: 3.402 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001523/0.01948, allocations: 1.663 MB / 369.2 MB, free: 1.699 MB / 302.1 MB Notification: Performance of simplify1: time 0.00012/0.01961, allocations: 135.8 kB / 369.3 MB, free: 1.566 MB / 302.1 MB Notification: Performance of Alias: time 0.2347/0.2543, allocations: 5.683 MB / 375 MB, free: 16.5 MB / 302.1 MB Notification: Performance of simplify2: time 8.294e-05/0.2545, allocations: 47.77 kB / 375.1 MB, free: 16.5 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003899/0.2549, allocations: 306.2 kB / 375.4 MB, free: 16.42 MB / 302.1 MB Notification: Performance of Events: time 0.0001045/0.255, allocations: 48.92 kB / 375.4 MB, free: 16.42 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002525/0.2552, allocations: 225 kB / 375.6 MB, free: 16.38 MB / 302.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 3 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: inverseMass.a. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) inverseMass.positionToForce.u = Modelica.Blocks.Interfaces.Adaptors.Functions.state2({directMass.mass.s + 0.5 * directMass.mass.L, inverseMass.v, inverseMass.a}, time) ($RES_SIM_100)