Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002111/0.002111, 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.002252/0.002252, 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.202/1.202, allocations: 230.4 MB / 251.3 MB, free: 8.859 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026e-05/1.026e-05, allocations: 2.281 kB / 368.8 MB, free: 6.598 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.1294/0.1294, allocations: 13.5 MB / 382.3 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006372/0.1358, allocations: 4.909 MB / 387.2 MB, free: 4.902 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.1371, allocations: 91.09 kB / 387.3 MB, free: 4.883 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005709/0.1428, allocations: 4.225 MB / 391.5 MB, free: 2.965 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003701/0.1465, allocations: 2.171 MB / 393.7 MB, free: 1.945 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.1483, allocations: 1.105 MB / 394.8 MB, free: 1.367 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00684/0.1551, allocations: 6.651 MB / 401.5 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003107/0.1582, allocations: 3.163 MB / 404.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/0.1605, allocations: 2.034 MB / 406.7 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00359/0.1641, allocations: 3.314 MB / 410 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004114/0.1645, allocations: 328 kB / 410.3 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/0.1665, allocations: 1.33 MB / 411.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.003682/0.1702, allocations: 5.03 MB / 416.7 MB, free: 0.582 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.002122/0.1723, allocations: 3.102 MB / 419.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004661/0.1727, allocations: 402.8 kB / 420.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0003225/0.1731, allocations: 103.2 kB / 420.3 MB, free: 12.94 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 (680) * Number of variables: 1693 (510) Notification: Performance of Bindings: time 0.01111/0.1842, allocations: 12.2 MB / 432.5 MB, free: 380 kB / 334.1 MB Notification: Performance of FunctionAlias: time 0.00132/0.1855, allocations: 1.567 MB / 434 MB, free: 14.79 MB / 350.1 MB Notification: Performance of Early Inline: time 0.7043/0.8898, allocations: 345 MB / 0.7608 GB, free: 88.61 MB / 0.5294 GB Notification: Performance of Simplify 1: time 0.07221/0.962, allocations: 54.73 MB / 0.8142 GB, free: 86.49 MB / 0.5294 GB Notification: Performance of Alias: time 0.1304/1.092, allocations: 111 MB / 0.9226 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of Simplify 2: time 0.2466/1.339, allocations: 54.56 MB / 0.9759 GB, free: 122.2 MB / 0.545 GB Notification: Performance of Remove Stream: time 0.05225/1.391, allocations: 37.95 MB / 1.013 GB, free: 120.1 MB / 0.545 GB Notification: Performance of Detect States: time 0.07801/1.469, allocations: 73.59 MB / 1.085 GB, free: 73.32 MB / 0.545 GB Notification: Performance of Events: time 0.5768/2.046, allocations: 289.5 MB / 1.367 GB, free: 202.8 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.01393/2.06, allocations: 10.71 MB / 1.378 GB, free: 201 MB / 0.5606 GB Error: Internal error NBResolveSingularities.noIndexReduction failed. (16|31) Unmatched Variables ***************************** [ALGB] (3) Real[3] b1.a_0 (start = {0.0, 0.0, 0.0}) [ALGB] (3) flow Real[3] world.frame_b.t [ALGB] (3) Real[3] b2.body.a_0 (start = {0.0, 0.0, 0.0}) slice: {0} [DER-] (3) Real[3] $DER.jointSSP.rod1.v_CM_0 [DER-] (1) Real $DER.j1.constantTorque.phi [ALGB] (3) flow Real[3] b3.frame_b.f slice: {0} [ALGB] (3) flow Real[3] j1.frame_b.t slice: {0} [DER-] (3) Real[3] $DER.jointSSP.frame_im.r_0 [ALGB] (3) flow Real[3] b3.frame_b.t slice: {1} [ALGB] (1) Real jointSSP.totalPower [DER-] (3) Real[3] $DER.b3.frame_b.r_0 [DER-] (1) Real $DER.j1.w [ALGB] (3) flow Real[3] world.frame_b.f [DER-] (3) Real[3] $DER.jointSSP.frame_a.r_0 slice: {0, 1} [ALGB] (1) output Real j2_v [ALGB] (3) Real[3] b2.a_0 (start = {0.0, 0.0, 0.0}) (27|31) Unmatched Equations ***************************** [FOR-] (3) ($RES_SIM_754) [----] for $i1 in 1:3 loop [----] [SCAL] (1) jointSSP.rod1.v_CM_0[$i1] = 0.0 ($RES_SIM_755) [----] end for; [SCAL] (1) j1.constantTorque.phi = j1.phi ($RES_SIM_110) [RECD] (12) world.frame_b.R = Modelica.Mechanics.MultiBody.Frames.Orientation({{1.0, 0.0, 0.0}, {0.0, 1.0, 0.0}, {0.0, 0.0, 1.0}}, {0.0, 0.0, 0.0}) ($RES_SIM_117) slice: {3, 4, 5} [SCAL] (1) b2.r_0[3] = b2.body.r_0[3] ($RES_SIM_211) [SCAL] (1) b2.r_0[2] = b2.body.r_0[2] ($RES_SIM_213) [SCAL] (1) b2.r_0[1] = b2.body.r_0[1] ($RES_SIM_215) [ARRY] (3) b2.frame_a.R.w = jointSSP.frame_ib.R.w ($RES_SIM_138) slice: {1} [SCAL] (1) b2.frame_a.R.w[1] = b2.body.frame_a.R.w[1] ($RES_SIM_221) [SCAL] (1) jointSSP.rod2.frame_b.r_0[3] = jointSSP.frame_im.r_0[3] ($RES_SIM_323) [SCAL] (1) jointSSP.rod2.frame_b.r_0[2] = jointSSP.frame_im.r_0[2] ($RES_SIM_325) [SCAL] (1) jointSSP.rod2.frame_b.r_0[1] = jointSSP.frame_im.r_0[1] ($RES_SIM_327) [SCAL] (1) b3.frame_a.r_0[3] = world.frame_b.r_0[3] ($RES_SIM_161) [SCAL] (1) b3.frame_a.r_0[2] = b1.r_0[2] ($RES_SIM_162) [SCAL] (1) b3.frame_a.r_0[2] = world.frame_b.r_0[2] ($RES_SIM_163) [SCAL] (1) b3.frame_a.r_0[1] = b1.r_0[1] ($RES_SIM_164) [SCAL] (1) b3.frame_a.r_0[1] = world.frame_b.r_0[1] ($RES_SIM_165) [SCAL] (1) b3.frame_a.R.w[3] = j1.frame_a.R.w[3] ($RES_SIM_166) [SCAL] (1) b3.frame_a.R.w[3] = world.frame_b.R.w[3] ($RES_SIM_167) [SCAL] (1) b3.frame_a.R.w[2] = j1.frame_a.R.w[2] ($RES_SIM_168) [SCAL] (1) b3.frame_a.R.w[2] = world.frame_b.R.w[2] ($RES_SIM_169) [SCAL] (1) b1.r_0[3] = b1.frameTranslation.shape.r[3] ($RES_SIM_423) [SCAL] (1) b1.r_0[3] = b1.body.r_0[3] ($RES_SIM_424) [SCAL] (1) b1.r_0[2] = b1.frameTranslation.shape.r[2] ($RES_SIM_425) [SCAL] (1) b1.r_0[2] = b1.body.r_0[2] ($RES_SIM_426) [SCAL] (1) b1.r_0[1] = b1.frameTranslation.shape.r[1] ($RES_SIM_427) [SCAL] (1) b1.r_0[1] = b1.body.r_0[1] ($RES_SIM_428) [SCAL] (1) jointSSP.relativePosition.frame_b.r_0[2] = jointSSP.frame_a.r_0[2] ($RES_SIM_253)