Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.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_3.2.3_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_3.2.3_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.000994/0.000994, allocations: 110.3 kB / 18.35 MB, free: 4.848 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.0009469/0.000947, allocations: 195.5 kB / 19.3 MB, free: 3.914 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.314/1.314, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.411e-05, allocations: 2.281 kB / 282.1 MB, free: 2.516 MB / 222.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.006557/0.006598, allocations: 6.238 MB / 288.3 MB, free: 12.24 MB / 238.1 MB Notification: Performance of NFInst.instExpressions: time 0.004468/0.01112, allocations: 1.87 MB / 290.2 MB, free: 10.36 MB / 238.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007105/0.01187, allocations: 23.88 kB / 290.2 MB, free: 10.34 MB / 238.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005746/0.01245, allocations: 222.1 kB / 290.4 MB, free: 10.12 MB / 238.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007698/0.01323, allocations: 388.8 kB / 290.8 MB, free: 9.734 MB / 238.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005949/0.01387, allocations: 375.5 kB / 291.1 MB, free: 9.367 MB / 238.1 MB Notification: Performance of NFFlatten.flatten: time 0.001419/0.01529, allocations: 1.674 MB / 292.8 MB, free: 7.688 MB / 238.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005918/0.0159, allocations: 0.5178 MB / 293.3 MB, free: 7.148 MB / 238.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004943/0.0164, allocations: 0.545 MB / 293.9 MB, free: 6.602 MB / 238.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004835/0.01689, allocations: 0.5874 MB / 294.5 MB, free: 6.012 MB / 238.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.01705, allocations: 160 kB / 294.6 MB, free: 5.855 MB / 238.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004391/0.0175, allocations: 311.7 kB / 294.9 MB, free: 5.551 MB / 238.1 MB Notification: Performance of combineBinaries: time 0.001199/0.01871, allocations: 1.878 MB / 296.8 MB, free: 3.652 MB / 238.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005792/0.01929, allocations: 1.112 MB / 297.9 MB, free: 2.523 MB / 238.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.01952, allocations: 227.4 kB / 298.1 MB, free: 2.301 MB / 238.1 MB Notification: Performance of FrontEnd: time 0.0001244/0.01966, allocations: 28 kB / 298.2 MB, free: 2.273 MB / 238.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.004565/0.02423, allocations: 5.666 MB / 303.8 MB, free: 12.43 MB / 254.1 MB Notification: Performance of FunctionAlias: time 0.0005456/0.02478, allocations: 0.5501 MB / 304.4 MB, free: 11.86 MB / 254.1 MB Notification: Performance of Early Inline: time 0.002715/0.02751, allocations: 3.088 MB / 307.5 MB, free: 8.723 MB / 254.1 MB Notification: Performance of simplify1: time 0.0002576/0.02778, allocations: 251.7 kB / 307.7 MB, free: 8.477 MB / 254.1 MB Notification: Performance of Alias: time 0.006085/0.03387, allocations: 5.789 MB / 313.5 MB, free: 2.289 MB / 254.1 MB Notification: Performance of simplify2: time 0.0002271/0.03413, allocations: 159.8 kB / 313.7 MB, free: 2.133 MB / 254.1 MB Notification: Performance of Events: time 0.0005012/0.03464, allocations: 443.6 kB / 314.1 MB, free: 1.668 MB / 254.1 MB Notification: Performance of Detect States: time 0.0006897/0.03534, allocations: 0.7378 MB / 314.8 MB, free: 0.9102 MB / 254.1 MB Notification: Performance of Partitioning: time 0.0008846/0.03623, allocations: 0.8947 MB / 315.7 MB, free: 15.98 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: {}