Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 106.2 kB / 17.69 MB, free: 5.523 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.001177/0.001177, allocations: 192 kB / 18.63 MB, free: 4.594 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.217/1.217, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.05e-05, allocations: 9.031 kB / 302 MB, free: 5.223 MB / 238.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.006428/0.006464, allocations: 6.309 MB / 308.3 MB, free: 14.89 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002471/0.008951, allocations: 1.827 MB / 310.2 MB, free: 13.06 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003008/0.009264, allocations: 23.94 kB / 310.2 MB, free: 13.04 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004495/0.009721, allocations: 222.1 kB / 310.4 MB, free: 12.82 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006251/0.01036, allocations: 392.8 kB / 310.8 MB, free: 12.43 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005108/0.01089, allocations: 371.6 kB / 311.1 MB, free: 12.07 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.01216, allocations: 1.69 MB / 312.8 MB, free: 10.38 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005788/0.01275, allocations: 0.514 MB / 313.3 MB, free: 9.84 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004491/0.01321, allocations: 0.5372 MB / 313.9 MB, free: 9.301 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004753/0.01369, allocations: 0.5952 MB / 314.5 MB, free: 8.703 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.01386, allocations: 160 kB / 314.6 MB, free: 8.547 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004102/0.01427, allocations: 307.7 kB / 314.9 MB, free: 8.246 MB / 254.1 MB Notification: Performance of combineBinaries: time 0.001154/0.01543, allocations: 1.874 MB / 316.8 MB, free: 6.348 MB / 254.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005452/0.01599, allocations: 1.112 MB / 317.9 MB, free: 5.219 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.01617, allocations: 223.4 kB / 318.1 MB, free: 5 MB / 254.1 MB Notification: Performance of FrontEnd: time 9.278e-05/0.01627, allocations: 31.94 kB / 318.2 MB, free: 4.969 MB / 254.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 (245) * Number of variables: 245 (245) Notification: Performance of Bindings: time 0.004206/0.02048, allocations: 5.666 MB / 323.8 MB, free: 15.12 MB / 270.1 MB Notification: Performance of FunctionAlias: time 0.0004749/0.02096, allocations: 0.554 MB / 324.4 MB, free: 14.55 MB / 270.1 MB Notification: Performance of Early Inline: time 0.002552/0.02353, allocations: 3.08 MB / 327.5 MB, free: 11.43 MB / 270.1 MB Notification: Performance of simplify1: time 0.0002149/0.02375, allocations: 247.7 kB / 327.7 MB, free: 11.18 MB / 270.1 MB Notification: Performance of Alias: time 0.005438/0.02919, allocations: 5.804 MB / 333.5 MB, free: 4.977 MB / 270.1 MB Notification: Performance of simplify2: time 0.000132/0.02934, allocations: 155.8 kB / 333.7 MB, free: 4.824 MB / 270.1 MB Notification: Performance of Events: time 0.0003921/0.02974, allocations: 452.2 kB / 334.1 MB, free: 4.352 MB / 270.1 MB Notification: Performance of Detect States: time 0.0005902/0.03034, allocations: 0.7229 MB / 334.8 MB, free: 3.609 MB / 270.1 MB Notification: Performance of Partitioning: time 0.0008043/0.03115, allocations: 0.8868 MB / 335.7 MB, free: 2.695 MB / 270.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (3|3) Unmatched Variables *************************** [ALGB] (1) flow Real pmLoad.flange_a.f slice: {} [ALGB] (1) flow Real pmActuator.armature.stopper_xMax.flange_a.f slice: {} [ALGB] (1) protected Real pmActuator.armature.stopper_xMin.f_d slice: {} (3|3) Unmatched Equations *************************** [SCAL] (1) pmActuator.armature.stopper_xMin.s_rel = (-(0.5 * pmActuator.armature.mass.L + (0.5 * pmActuator.armature.mass.L - pmActuator.x))) - pmActuator.armature.limit_xMin.s0 ($RES_SIM_134) slice: {} [SCAL] (1) pmActuator.armature.stopper_xMax.s_rel = pmActuator.armature.limit_xMax.s0 - pmActuator.x ($RES_SIM_144) slice: {} [SCAL] (1) pmActuator.armature.v = $DER.pmActuator.x ($RES_SIM_157) slice: {}