Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Rotational.Examples.LossyGearDemo3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Inertia2.phi|Inertia2.w|gear.mode",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3") translateModel(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Inertia2.phi|Inertia2.w|gear.mode",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 104 kB / 18.41 MB, free: 4.68 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.001728/0.001728, allocations: 186.7 kB / 19.35 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.111e-05, allocations: 2.281 kB / 329.2 MB, free: 3.359 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3): time 0.003839/0.003879, allocations: 2.343 MB / 331.5 MB, free: 1 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.005817, allocations: 0.9568 MB / 332.5 MB, free: 32 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.006092, allocations: 7.938 kB / 332.5 MB, free: 24 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.006382, allocations: 47.69 kB / 332.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006141/0.007023, allocations: 131.3 kB / 332.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.007513, allocations: 175.7 kB / 332.8 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007452/0.008268, allocations: 454.6 kB / 333.2 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.008489, allocations: 64.72 kB / 333.3 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003399/0.008836, allocations: 187.5 kB / 333.5 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003733/0.009216, allocations: 215.2 kB / 333.7 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.043e-05/0.009314, allocations: 32 kB / 333.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.009597, allocations: 119.9 kB / 333.9 MB, free: 14.63 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0004755/0.01008, allocations: 0.5105 MB / 334.4 MB, free: 14.11 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.000182/0.01027, allocations: 271.9 kB / 334.6 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.01039, allocations: 47.81 kB / 334.7 MB, free: 13.8 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.106e-05/0.01047, allocations: 8 kB / 334.7 MB, free: 13.79 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 (64) * Number of variables: 67 (64) Notification: Performance of Bindings: time 0.001654/0.01213, allocations: 1.408 MB / 336.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002554/0.01239, allocations: 83.73 kB / 336.2 MB, free: 12.19 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001121/0.01352, allocations: 0.9846 MB / 337.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of simplify1: time 9.573e-05/0.01362, allocations: 63.91 kB / 337.2 MB, free: 11.11 MB / 286.1 MB Notification: Performance of Alias: time 0.00167/0.0153, allocations: 1.177 MB / 338.4 MB, free: 9.812 MB / 286.1 MB Notification: Performance of simplify2: time 9.83e-05/0.01541, allocations: 55.91 kB / 338.5 MB, free: 9.758 MB / 286.1 MB Notification: Performance of Detect States: time 0.0003712/0.0158, allocations: 285.7 kB / 338.7 MB, free: 9.465 MB / 286.1 MB Notification: Performance of Events: time 0.0003692/0.01618, allocations: 187.6 kB / 338.9 MB, free: 9.281 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0004765/0.01666, allocations: 337.7 kB / 339.2 MB, free: 8.938 MB / 286.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (2|2) Unmatched Variables *************************** [ALGB] (1) Real gear.tauLossMax slice: {} [ALGB] (1) Real gear.lossPower slice: {} (2|2) Unmatched Equations *************************** [SCAL] (1) gear.phi_b = Inertia2.phi ($RES_SIM_45) slice: {} [SCAL] (1) gear.phi_a = Inertia1.flange_b.phi ($RES_SIM_46) slice: {}