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.001315/0.001315, allocations: 110.1 kB / 16.51 MB, free: 6.707 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.00152/0.00152, allocations: 187.9 kB / 17.42 MB, free: 6.07 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.332/1.332, allocations: 205.1 MB / 223.3 MB, free: 12.47 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.001419/0.001419, allocations: 51.92 kB / 279.3 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08205/0.08348, allocations: 46.63 MB / 326 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005614/0.08914, allocations: 4.535 MB / 330.5 MB, free: 328 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002732/0.0919, allocations: 1.727 MB / 332.2 MB, free: 14.58 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004787/0.0924, allocations: 12 kB / 332.2 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008119/0.09326, allocations: 394.7 kB / 332.6 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009434/0.09422, allocations: 390.2 kB / 333 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006564/0.09489, allocations: 267.7 kB / 333.3 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001134/0.09603, allocations: 0.9541 MB / 334.2 MB, free: 12.58 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003696/0.09642, allocations: 255.6 kB / 334.5 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004256/0.09685, allocations: 354.7 kB / 334.8 MB, free: 11.99 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004787/0.09734, allocations: 486 kB / 335.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.794e-05/0.09744, allocations: 48 kB / 335.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.09763, allocations: 83.92 kB / 335.4 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.09782, allocations: 187.3 kB / 335.6 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003536/0.09818, allocations: 405.6 kB / 336 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.09924, allocations: 1.211 MB / 337.2 MB, free: 9.586 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.09925, allocations: 0 / 337.2 MB, free: 9.586 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.09927, allocations: 4 kB / 337.2 MB, free: 9.582 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.09928, allocations: 0 / 337.2 MB, free: 9.582 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.002259/0.1015, allocations: 1.199 MB / 338.4 MB, free: 8.332 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1016, allocations: 8.031 kB / 338.4 MB, free: 8.324 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.1018, allocations: 103.7 kB / 338.5 MB, free: 8.223 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007588/0.1025, allocations: 0.5473 MB / 339.1 MB, free: 7.629 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.341e-05/0.1026, allocations: 45.88 kB / 339.1 MB, free: 7.586 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.924e-05/0.1027, allocations: 67.84 kB / 339.2 MB, free: 7.52 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.1039, allocations: 0.648 MB / 339.8 MB, free: 6.855 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.1039, allocations: 0 / 339.8 MB, free: 6.855 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-05/0.104, allocations: 28 kB / 339.9 MB, free: 6.828 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.104, allocations: 12 kB / 339.9 MB, free: 6.816 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.1053, allocations: 0.5672 MB / 340.4 MB, free: 6.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003536/0.1088, allocations: 2.552 MB / 343 MB, free: 3.551 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009108/0.1097, allocations: 473.8 kB / 343.4 MB, free: 3.078 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006442/0.1104, allocations: 290 kB / 343.7 MB, free: 2.793 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.238e-05/0.1105, allocations: 28.39 kB / 343.8 MB, free: 2.766 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.1105, allocations: 31 kB / 343.8 MB, free: 2.727 MB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 2.134e-06/0.1105, allocations: 0 / 343.8 MB, free: 2.727 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.004353/0.1149, allocations: 1.485 MB / 345.3 MB, free: 1.234 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.1149, allocations: 59.97 kB / 345.3 MB, free: 1.164 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.116, allocations: 0.9535 MB / 346.3 MB, free: 208 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.116, allocations: 29.7 kB / 346.3 MB, free: 172 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000312/0.1163, allocations: 408 kB / 346.7 MB, free: 15.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.1165, allocations: 201 kB / 346.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.1167, allocations: 122.6 kB / 347 MB, free: 15.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1168, allocations: 329.9 kB / 347.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006051/0.1174, allocations: 253.8 kB / 347.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000655/0.1181, allocations: 343.1 kB / 347.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.1193, allocations: 0.5713 MB / 348.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1193, allocations: 0 / 348.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001651/0.121, allocations: 0.7345 MB / 349.2 MB, free: 13.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.121, allocations: 8 kB / 349.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.121, allocations: 0 / 349.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.1211, allocations: 4 kB / 349.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007863/0.1219, allocations: 171.8 kB / 349.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.1219, allocations: 15.92 kB / 349.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000537/0.1224, allocations: 44.03 kB / 349.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/0.1225, allocations: 23.98 kB / 349.5 MB, free: 12.89 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.0004004/0.1229, allocations: 265.6 kB / 349.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.123, allocations: 82.91 kB / 349.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.1244, allocations: 0.6281 MB / 350.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.1245, allocations: 7.984 kB / 350.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1245, allocations: 0 / 350.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.1245, allocations: 4 kB / 350.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002855/0.1274, allocations: 1.824 MB / 352.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.1274, allocations: 4 kB / 352.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005814/0.128, allocations: 131.8 kB / 352.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.128, allocations: 4 kB / 352.4 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.128, allocations: 16 kB / 352.5 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.128, allocations: 4 kB / 352.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.128, allocations: 4.219 kB / 352.5 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.1293, allocations: 0.7536 MB / 353.2 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/0.1295, allocations: 208 kB / 353.4 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.1297, allocations: 12 kB / 353.4 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005055/0.1302, allocations: 39.95 kB / 353.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.791e-05/0.1303, allocations: 40.33 kB / 353.5 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.1303, allocations: 23.98 kB / 353.5 MB, free: 8.645 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007309/0.1311, allocations: 0.6904 MB / 354.2 MB, free: 7.957 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1311, allocations: 0 / 354.2 MB, free: 7.957 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006019/0.1317, allocations: 148 kB / 354.4 MB, free: 7.812 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.0008269/0.1325, allocations: 378.2 kB / 354.7 MB, free: 7.449 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.1339, allocations: 0.5771 MB / 355.3 MB, free: 6.875 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1339, allocations: 0 / 355.3 MB, free: 6.875 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006144/0.1345, allocations: 295.3 kB / 355.6 MB, free: 6.586 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008265/0.1353, allocations: 122.7 kB / 355.7 MB, free: 6.465 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.1378, allocations: 1.876 MB / 357.6 MB, free: 4.527 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.1383, allocations: 0.9633 MB / 358.6 MB, free: 3.535 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000404/0.1387, allocations: 93.05 kB / 358.7 MB, free: 3.441 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.1389, allocations: 55.42 kB / 358.7 MB, free: 3.387 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1389, allocations: 0 / 358.7 MB, free: 3.387 MB / 302.1 MB Notification: Performance of Templates: time 0.01278/0.1517, allocations: 7.222 MB / 365.9 MB, free: 12.15 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)