Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.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.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6552/0.6552, allocations: 110.9 MB / 125.9 MB, free: 6.086 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001735/0.001735, allocations: 147.3 kB / 151.8 MB, free: 4.957 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002464/0.0002464, allocations: 4 kB / 184.9 MB, free: 3.875 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1412, allocations: 25.14 MB / 210.1 MB, free: 29.79 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05017/0.1914, allocations: 41.66 MB / 251.7 MB, free: 8.133 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.1917, allocations: 72.81 kB / 251.8 MB, free: 8.062 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03782/0.2295, allocations: 14.16 MB / 265.9 MB, free: 9.918 MB / 202.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2296, allocations: 4 kB / 265.9 MB, free: 9.914 MB / 202.7 MB Notification: Performance of Transformations before backend: time 7.443e-05/0.2297, allocations: 12 kB / 266 MB, free: 9.902 MB / 202.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002649/0.2323, allocations: 1.052 MB / 267 MB, free: 8.805 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.2324, allocations: 15.97 kB / 267 MB, free: 8.789 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003529/0.2327, allocations: 94.88 kB / 267.1 MB, free: 8.695 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.2339, allocations: 0.5077 MB / 267.6 MB, free: 8.141 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.234, allocations: 46 kB / 267.7 MB, free: 8.098 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.2342, allocations: 63.95 kB / 267.7 MB, free: 8.035 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.2358, allocations: 0.7923 MB / 268.5 MB, free: 7.227 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.2359, allocations: 0 / 268.5 MB, free: 7.227 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.568e-05/0.2359, allocations: 24 kB / 268.5 MB, free: 7.203 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.236, allocations: 12 kB / 268.6 MB, free: 7.191 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.2376, allocations: 0.7234 MB / 269.3 MB, free: 6.469 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004707/0.2423, allocations: 2.737 MB / 272 MB, free: 3.582 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.2434, allocations: 0.5984 MB / 272.6 MB, free: 2.977 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.809e-05/0.2435, allocations: 16.48 kB / 272.6 MB, free: 2.961 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.2435, allocations: 39 kB / 272.7 MB, free: 2.914 MB / 202.7 MB Notification: Performance of pre-optimization done (n=49): time 1.884e-06/0.2435, allocations: 0 / 272.7 MB, free: 2.914 MB / 202.7 MB Notification: Performance of matching and sorting (n=64): time 0.005586/0.2491, allocations: 2.405 MB / 275.1 MB, free: 0.5078 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.2492, allocations: 55.97 kB / 275.1 MB, free: 452 kB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009749/0.2502, allocations: 0.6598 MB / 275.8 MB, free: 15.77 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 5.519e-05/0.2502, allocations: 37.7 kB / 275.8 MB, free: 15.73 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.2505, allocations: 388 kB / 276.2 MB, free: 15.34 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.2507, allocations: 208.9 kB / 276.4 MB, free: 15.14 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.2508, allocations: 16 kB / 276.4 MB, free: 15.12 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.2509, allocations: 390.7 kB / 276.8 MB, free: 14.73 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007749/0.2517, allocations: 389.8 kB / 277.2 MB, free: 14.35 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008247/0.2526, allocations: 494.3 kB / 277.7 MB, free: 13.84 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008199/0.2534, allocations: 419 kB / 278.1 MB, free: 13.43 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.2534, allocations: 8 kB / 278.1 MB, free: 13.42 MB / 218.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001957/0.2554, allocations: 1.023 MB / 279.1 MB, free: 12.39 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.2554, allocations: 5.875 kB / 279.1 MB, free: 12.38 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.2554, allocations: 4 kB / 279.1 MB, free: 12.38 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.2554, allocations: 4 kB / 279.1 MB, free: 12.38 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008741/0.2563, allocations: 211.7 kB / 279.3 MB, free: 12.17 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.2563, allocations: 4 kB / 279.3 MB, free: 12.16 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006489/0.257, allocations: 63.95 kB / 279.4 MB, free: 12.1 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.642e-05/0.2571, allocations: 39.98 kB / 279.4 MB, free: 12.06 MB / 218.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact,comparisonWithFEA.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004016/0.2575, allocations: 277.5 kB / 279.7 MB, free: 11.78 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.2577, allocations: 79.06 kB / 279.8 MB, free: 11.7 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001939/0.2596, allocations: 1.034 MB / 280.8 MB, free: 10.66 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.2596, allocations: 8 kB / 280.8 MB, free: 10.65 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2597, allocations: 0 / 280.8 MB, free: 10.65 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.2597, allocations: 3.984 kB / 280.8 MB, free: 10.64 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003698/0.2634, allocations: 2.29 MB / 283.1 MB, free: 8.234 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.2634, allocations: 0 / 283.1 MB, free: 8.234 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006309/0.264, allocations: 144.1 kB / 283.3 MB, free: 8.094 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/0.2641, allocations: 12 kB / 283.3 MB, free: 8.082 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.797e-05/0.2641, allocations: 19.94 kB / 283.3 MB, free: 8.062 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.2641, allocations: 4 kB / 283.3 MB, free: 8.059 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2641, allocations: 4 kB / 283.3 MB, free: 8.055 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.266, allocations: 1.252 MB / 284.6 MB, free: 6.703 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003788/0.2664, allocations: 228.1 kB / 284.8 MB, free: 6.461 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.2665, allocations: 16 kB / 284.8 MB, free: 6.445 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005296/0.267, allocations: 63.91 kB / 284.9 MB, free: 6.383 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.2672, allocations: 44.44 kB / 284.9 MB, free: 6.34 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.913e-05/0.2672, allocations: 32 kB / 284.9 MB, free: 6.309 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0007513/0.268, allocations: 0.5264 MB / 285.5 MB, free: 5.789 MB / 218.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.268, allocations: 0 / 285.5 MB, free: 5.789 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.000661/0.2687, allocations: 160 kB / 285.6 MB, free: 5.633 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact,comparisonWithFEA.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003989/0.2691, allocations: 188.4 kB / 285.8 MB, free: 5.461 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.001707/0.2708, allocations: 0.7694 MB / 286.6 MB, free: 4.691 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2708, allocations: 0 / 286.6 MB, free: 4.691 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007525/0.2716, allocations: 400 kB / 287 MB, free: 4.301 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007285/0.2723, allocations: 113.3 kB / 287.1 MB, free: 4.191 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/0.2758, allocations: 1.851 MB / 288.9 MB, free: 2.285 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/0.2765, allocations: 0.9749 MB / 289.9 MB, free: 1.277 MB / 218.7 MB Notification: Performance of simCode: alias equations: time 0.0004599/0.2769, allocations: 88.91 kB / 290 MB, free: 1.191 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.2771, allocations: 47.42 kB / 290 MB, free: 1.145 MB / 218.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2771, allocations: 4 kB / 290 MB, free: 1.141 MB / 218.7 MB Notification: Performance of Templates: time 0.1045/0.3817, allocations: 7.041 MB / 297.1 MB, free: 59.76 MB / 218.7 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1)