Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001342/0.001342, allocations: 112.5 kB / 19.05 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001352/0.001352, allocations: 210.6 kB / 20.03 MB, free: 2.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.242/1.242, allocations: 230.4 MB / 251.3 MB, free: 8.773 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.596e-05/1.596e-05, allocations: 2.281 kB / 368.8 MB, free: 6.621 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.1351/0.1351, allocations: 10.24 MB / 379.1 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005801/0.1409, allocations: 3.824 MB / 382.9 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007873/0.1417, allocations: 57.47 kB / 383 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002761/0.1444, allocations: 1.969 MB / 384.9 MB, free: 7.301 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002791/0.1472, allocations: 1.665 MB / 386.6 MB, free: 6.547 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.1483, allocations: 0.6172 MB / 387.2 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00336/0.1516, allocations: 3.614 MB / 390.8 MB, free: 4.922 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.1527, allocations: 1.135 MB / 392 MB, free: 4.344 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.1537, allocations: 1.105 MB / 393.1 MB, free: 3.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.1549, allocations: 1.465 MB / 394.5 MB, free: 2.883 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000194/0.155, allocations: 127.2 kB / 394.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.1563, allocations: 0.9157 MB / 395.6 MB, free: 2.465 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001508/0.1578, allocations: 3.256 MB / 398.8 MB, free: 180 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001393/0.1592, allocations: 2.166 MB / 401 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002982/0.1595, allocations: 264.2 kB / 401.2 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0002631/0.1597, allocations: 80.69 kB / 401.3 MB, free: 14.38 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 (395) * Number of variables: 1227 (391) Notification: Performance of Bindings: time 0.006915/0.1667, allocations: 7.854 MB / 409.2 MB, free: 8.039 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0006421/0.1673, allocations: 0.7585 MB / 409.9 MB, free: 7.281 MB / 318.1 MB Notification: Performance of Early Inline: time 0.7113/0.8786, allocations: 341.9 MB / 0.7342 GB, free: 87.9 MB / 0.5137 GB Notification: Performance of Simplify 1: time 0.0696/0.9482, allocations: 54.21 MB / 0.7871 GB, free: 84.82 MB / 0.5137 GB Notification: Performance of Alias: time 0.1307/1.079, allocations: 108.6 MB / 0.8932 GB, free: 18.6 MB / 0.5137 GB Notification: Performance of Simplify 2: time 0.2396/1.319, allocations: 54.02 MB / 0.946 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of Remove Stream: time 0.05121/1.37, allocations: 37.49 MB / 0.9826 GB, free: 118.4 MB / 0.5294 GB Notification: Performance of Detect States: time 0.08378/1.454, allocations: 72.81 MB / 1.054 GB, free: 75.33 MB / 0.5294 GB Notification: Performance of Events: time 0.4178/1.871, allocations: 289.1 MB / 1.336 GB, free: 1.527 MB / 0.545 GB Notification: Performance of Partitioning: time 0.1545/2.026, allocations: 9.077 MB / 1.345 GB, free: 205.1 MB / 0.545 GB Error: Internal error NBResolveSingularities.noIndexReduction failed. (6|10) Unmatched Variables **************************** [ALGB] (3) Real[3] body.a_0 (start = {0.0, 0.0, 0.0}) [ALGB] (3) flow Real[3] spring.frame_b.f slice: {2} [ALGB] (3) flow Real[3] body.frame_a.f slice: {0, 2} [ALGB] (3) Real[3] body.body.a_0 (start = {0.0, 0.0, 0.0}) slice: {0, 1} [DER-] (1) Real $DER.damper.w_rel [DER-] (1) Real $DER.rev.w (6|10) Unmatched Equations **************************** [FOR-] (3) ($RES_SIM_444) [----] for $i1 in 1:3 loop [----] [SCAL] (1) body.r_0[$i1] = 0.0 ($RES_SIM_445) [----] end for; [SCAL] (1) damper.phi_rel = rev.angle - rev.fixed.phi0 ($RES_SIM_52) [SCAL] (1) body.r_0[3] = body.body.r_0[3] ($RES_SIM_136) [SCAL] (1) body.r_0[2] = body.body.r_0[2] ($RES_SIM_138) [SCAL] (1) body.r_0[1] = body.body.r_0[1] ($RES_SIM_140) [ARRY] (3) body.body.w_a = body.body.frame_a.R.w ($RES_SIM_35)