Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller.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.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PI.I.y|inertia1.phi|inertia1.w|integrator.y|spring.phi_rel|spring.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller") translateModel(Modelica.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PI.I.y|inertia1.phi|inertia1.w|integrator.y|spring.phi_rel|spring.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 114.7 kB / 17.75 MB, free: 5.277 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.001088/0.001088, allocations: 187 kB / 18.68 MB, free: 4.355 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.265/1.265, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.733e-05, allocations: 2.281 kB / 351.9 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.003767/0.003794, allocations: 3.102 MB / 355 MB, free: 156 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.005674, allocations: 0.966 MB / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003079/0.005993, allocations: 11.94 kB / 356 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003636/0.006363, allocations: 83.19 kB / 356.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.006681, allocations: 115.1 kB / 356.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005504/0.007249, allocations: 221.7 kB / 356.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006473/0.007905, allocations: 0.5809 MB / 357 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002901/0.008204, allocations: 181.2 kB / 357.2 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.008463, allocations: 211.1 kB / 357.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.008692, allocations: 199 kB / 357.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.321e-05/0.008772, allocations: 40 kB / 357.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.851e-05/0.008846, allocations: 43.94 kB / 357.7 MB, free: 13.51 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004844/0.009335, allocations: 0.7335 MB / 358.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002945/0.009636, allocations: 472.7 kB / 358.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.009751, allocations: 75.69 kB / 358.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.68e-05/0.009854, allocations: 35.81 kB / 359 MB, free: 12.19 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: 89 (89) * Number of variables: 89 (89) Notification: Performance of Bindings: time 0.001903/0.01176, allocations: 2.094 MB / 361.1 MB, free: 9.977 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001694/0.01194, allocations: 95.84 kB / 361.1 MB, free: 9.883 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0008999/0.01285, allocations: 0.9522 MB / 362.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001005/0.01295, allocations: 83.88 kB / 362.2 MB, free: 8.82 MB / 302.1 MB Notification: Performance of Alias: time 0.002264/0.01522, allocations: 1.945 MB / 364.1 MB, free: 6.637 MB / 302.1 MB Notification: Performance of simplify2: time 9.459e-05/0.01533, allocations: 51.92 kB / 364.2 MB, free: 6.586 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003196/0.01566, allocations: 267.2 kB / 364.4 MB, free: 6.309 MB / 302.1 MB Notification: Performance of Events: time 0.0002078/0.01587, allocations: 131.7 kB / 364.6 MB, free: 6.18 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003446/0.01623, allocations: 293.3 kB / 364.8 MB, free: 5.879 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (2|2) Unmatched Variables *************************** [DER-] (1) Real $DER.spring.w_rel slice: {} [ALGB] (1) Real loadTorque.w slice: {} (2|2) Unmatched Equations *************************** [SCAL] (1) spring.phi_rel = loadTorque.flange.phi - inertia1.phi ($RES_SIM_33) slice: {} [SCAL] (1) loadTorque.phi = loadTorque.flange.phi ($RES_SIM_4) slice: {}