Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 102 kB / 16.62 MB, free: 6.809 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.00188/0.00188, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.44/1.44, allocations: 205.1 MB / 223.4 MB, free: 12.46 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 51.92 kB / 279.5 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09417/0.09546, allocations: 46.63 MB / 326.1 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006027/0.1015, allocations: 4.528 MB / 330.7 MB, free: 232 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002849/0.1044, allocations: 1.727 MB / 332.4 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003913/0.1048, allocations: 11.94 kB / 332.4 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007603/0.1056, allocations: 382.8 kB / 332.8 MB, free: 14.1 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007696/0.1064, allocations: 394.1 kB / 333.2 MB, free: 13.71 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006173/0.107, allocations: 263.8 kB / 333.4 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.108, allocations: 1.013 MB / 334.4 MB, free: 12.44 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004152/0.1085, allocations: 306.8 kB / 334.7 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004043/0.1089, allocations: 406.7 kB / 335.1 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004982/0.1094, allocations: 0.5177 MB / 335.7 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.1095, allocations: 96 kB / 335.8 MB, free: 11.13 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.1097, allocations: 124 kB / 335.9 MB, free: 11.01 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.1099, allocations: 243.2 kB / 336.1 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003579/0.1103, allocations: 453.6 kB / 336.6 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009746/0.1113, allocations: 1.258 MB / 337.8 MB, free: 9.066 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1113, allocations: 0 / 337.8 MB, free: 9.066 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1113, allocations: 0 / 337.8 MB, free: 9.066 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.1113, allocations: 0 / 337.8 MB, free: 9.066 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002134/0.1135, allocations: 1.203 MB / 339 MB, free: 7.812 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1135, allocations: 11.89 kB / 339 MB, free: 7.801 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.1137, allocations: 99.72 kB / 339.1 MB, free: 7.703 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007648/0.1144, allocations: 0.5473 MB / 339.7 MB, free: 7.113 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-05/0.1145, allocations: 53.88 kB / 339.7 MB, free: 7.059 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-05/0.1146, allocations: 67.78 kB / 339.8 MB, free: 6.992 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.1158, allocations: 0.6479 MB / 340.4 MB, free: 6.328 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.1159, allocations: 0 / 340.4 MB, free: 6.328 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.268e-05/0.1159, allocations: 28 kB / 340.5 MB, free: 6.301 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.116, allocations: 16 kB / 340.5 MB, free: 6.285 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.1172, allocations: 0.5594 MB / 341 MB, free: 5.727 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003928/0.1212, allocations: 2.548 MB / 343.6 MB, free: 3.035 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009317/0.1221, allocations: 477.7 kB / 344.1 MB, free: 2.559 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006411/0.1228, allocations: 294 kB / 344.3 MB, free: 2.27 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.725e-05/0.1228, allocations: 16.41 kB / 344.4 MB, free: 2.254 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.1229, allocations: 39 kB / 344.4 MB, free: 2.207 MB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 1.803e-06/0.1229, allocations: 0 / 344.4 MB, free: 2.207 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.004294/0.1272, allocations: 1.485 MB / 345.9 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.1273, allocations: 59.97 kB / 345.9 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.1283, allocations: 0.9457 MB / 346.9 MB, free: 15.69 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.565e-05/0.1284, allocations: 37.7 kB / 346.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/0.1287, allocations: 404 kB / 347.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.1289, allocations: 205 kB / 347.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.1291, allocations: 122.5 kB / 347.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1292, allocations: 334 kB / 348 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006073/0.1298, allocations: 245.8 kB / 348.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006373/0.1305, allocations: 347 kB / 348.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.1317, allocations: 0.5713 MB / 349.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1317, allocations: 0 / 349.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001553/0.1332, allocations: 0.7344 MB / 349.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.1333, allocations: 7.984 kB / 349.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.1333, allocations: 4 kB / 349.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.1333, allocations: 4 kB / 349.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007778/0.1341, allocations: 171.9 kB / 350 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/0.1341, allocations: 11.98 kB / 350 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005613/0.1347, allocations: 35.97 kB / 350.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.476e-05/0.1348, allocations: 27.98 kB / 350.1 MB, free: 12.37 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00043/0.1352, allocations: 257.7 kB / 350.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.1354, allocations: 90.88 kB / 350.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/0.1368, allocations: 0.6319 MB / 351.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.1369, allocations: 4 kB / 351.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.1369, allocations: 8 kB / 351.1 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.1369, allocations: 3.984 kB / 351.1 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002764/0.1397, allocations: 1.816 MB / 352.9 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.1397, allocations: 3.938 kB / 352.9 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005394/0.1402, allocations: 135.8 kB / 353 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.1402, allocations: 8.297 kB / 353.1 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.1403, allocations: 16 kB / 353.1 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.1403, allocations: 8 kB / 353.1 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1403, allocations: 0 / 353.1 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.1416, allocations: 0.7497 MB / 353.8 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002363/0.1418, allocations: 208 kB / 354 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.682e-05/0.1419, allocations: 12 kB / 354 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.1423, allocations: 35.97 kB / 354.1 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.1424, allocations: 52.25 kB / 354.1 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.1425, allocations: 20 kB / 354.1 MB, free: 8.121 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007215/0.1432, allocations: 0.6865 MB / 354.8 MB, free: 7.438 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1432, allocations: 0 / 354.8 MB, free: 7.438 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005572/0.1438, allocations: 152 kB / 355 MB, free: 7.289 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008879/0.1447, allocations: 374.6 kB / 355.3 MB, free: 6.926 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.1463, allocations: 0.6161 MB / 356 MB, free: 6.312 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.1463, allocations: 0 / 356 MB, free: 6.312 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006128/0.1469, allocations: 295.2 kB / 356.3 MB, free: 6.023 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008977/0.1478, allocations: 122.9 kB / 356.4 MB, free: 5.902 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.1507, allocations: 1.878 MB / 358.2 MB, free: 3.961 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005008/0.1512, allocations: 0.9668 MB / 359.2 MB, free: 2.969 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004323/0.1516, allocations: 93.05 kB / 359.3 MB, free: 2.875 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.1518, allocations: 51.42 kB / 359.4 MB, free: 2.824 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1518, allocations: 0 / 359.4 MB, free: 2.824 MB / 302.1 MB Notification: Performance of Templates: time 0.01374/0.1656, allocations: 7.514 MB / 366.9 MB, free: 11.3 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1)