Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7533/0.7533, allocations: 110.8 MB / 123.3 MB, free: 10.74 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001714/0.001714, allocations: 151.5 kB / 149.1 MB, free: 0.957 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.258e-05/2.26e-05, allocations: 0 / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0463/0.04634, allocations: 25.18 MB / 205.4 MB, free: 8.422 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.174/0.2204, allocations: 43.02 MB / 248.4 MB, free: 42.68 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.2207, allocations: 72.64 kB / 248.5 MB, free: 42.68 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04853/0.2693, allocations: 20.1 MB / 268.6 MB, free: 26.98 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2693, allocations: 0 / 268.6 MB, free: 26.98 MB / 186.7 MB Notification: Performance of Transformations before backend: time 4.092e-05/0.2694, allocations: 28.2 kB / 268.6 MB, free: 26.95 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.002026/0.2714, allocations: 1.192 MB / 269.8 MB, free: 25.71 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.2714, allocations: 8.031 kB / 269.8 MB, free: 25.7 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.2717, allocations: 122.6 kB / 269.9 MB, free: 25.58 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000837/0.2725, allocations: 0.614 MB / 270.5 MB, free: 24.93 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.2726, allocations: 74 kB / 270.6 MB, free: 24.86 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.2728, allocations: 99.91 kB / 270.7 MB, free: 24.76 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.2742, allocations: 0.962 MB / 271.7 MB, free: 23.78 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.2743, allocations: 7.938 kB / 271.7 MB, free: 23.77 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-05/0.2744, allocations: 40 kB / 271.7 MB, free: 23.73 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.2744, allocations: 24 kB / 271.8 MB, free: 23.71 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.2756, allocations: 0.7931 MB / 272.5 MB, free: 22.92 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005056/0.2806, allocations: 3.855 MB / 276.4 MB, free: 18.87 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.2825, allocations: 0.8572 MB / 277.3 MB, free: 18 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000587/0.2831, allocations: 409.2 kB / 277.7 MB, free: 17.59 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.943e-05/0.2832, allocations: 12.22 kB / 277.7 MB, free: 17.58 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.2833, allocations: 50.73 kB / 277.7 MB, free: 17.52 MB / 186.7 MB Notification: Performance of pre-optimization done (n=65): time 4.468e-06/0.2833, allocations: 0 / 277.7 MB, free: 17.52 MB / 186.7 MB Notification: Performance of matching and sorting (n=83): time 0.003583/0.2869, allocations: 1.833 MB / 279.6 MB, free: 15.68 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.2869, allocations: 85.55 kB / 279.6 MB, free: 15.58 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008614/0.2878, allocations: 0.7228 MB / 280.4 MB, free: 14.85 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/0.2878, allocations: 41.7 kB / 280.4 MB, free: 14.8 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.2881, allocations: 499.1 kB / 280.9 MB, free: 14.3 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.2882, allocations: 279.9 kB / 281.2 MB, free: 14.03 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.2883, allocations: 24 kB / 281.2 MB, free: 14 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 7.93e-05/0.2884, allocations: 341.9 kB / 281.5 MB, free: 13.66 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004769/0.2889, allocations: 338 kB / 281.8 MB, free: 13.34 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005383/0.2894, allocations: 488.2 kB / 282.3 MB, free: 12.81 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005392/0.2899, allocations: 375.1 kB / 282.7 MB, free: 12.44 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.29, allocations: 3.953 kB / 282.7 MB, free: 12.44 MB / 186.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001418/0.2914, allocations: 0.9895 MB / 283.7 MB, free: 11.44 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.2914, allocations: 8 kB / 283.7 MB, free: 11.43 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.2914, allocations: 0 / 283.7 MB, free: 11.43 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.018e-05/0.2915, allocations: 15.98 kB / 283.7 MB, free: 11.41 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.2928, allocations: 347.9 kB / 284 MB, free: 11.07 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.2928, allocations: 11.94 kB / 284.1 MB, free: 11.06 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009016/0.2937, allocations: 111.9 kB / 284.2 MB, free: 10.95 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.681e-05/0.2938, allocations: 43.98 kB / 284.2 MB, free: 10.91 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 5 (cActuator.armature.stopper_xMin.contact,comparisonWithFEA.tableID,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 118 * 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.0001572/0.294, allocations: 160.6 kB / 284.4 MB, free: 10.75 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.2941, allocations: 106.7 kB / 284.5 MB, free: 10.64 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007997/0.2949, allocations: 493.5 kB / 285 MB, free: 10.15 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.295, allocations: 8 kB / 285 MB, free: 10.14 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.295, allocations: 3.938 kB / 285 MB, free: 10.14 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.295, allocations: 7.984 kB / 285 MB, free: 10.13 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003578/0.2986, allocations: 2.9 MB / 287.9 MB, free: 7.043 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.2986, allocations: 8 kB / 287.9 MB, free: 7.035 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008931/0.2995, allocations: 260.1 kB / 288.1 MB, free: 6.781 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.534e-05/0.2995, allocations: 20 kB / 288.2 MB, free: 6.762 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/0.2996, allocations: 28 kB / 288.2 MB, free: 6.734 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.556e-05/0.2996, allocations: 19.92 kB / 288.2 MB, free: 6.715 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.164e-05/0.2997, allocations: 15.94 kB / 288.2 MB, free: 6.699 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.301, allocations: 1.722 MB / 289.9 MB, free: 4.574 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002147/0.3012, allocations: 187.9 kB / 290.1 MB, free: 4.371 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.3013, allocations: 31.98 kB / 290.2 MB, free: 4.34 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006819/0.302, allocations: 87.94 kB / 290.2 MB, free: 4.254 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.3021, allocations: 87.64 kB / 290.3 MB, free: 4.168 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.849e-05/0.3022, allocations: 36 kB / 290.4 MB, free: 4.133 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0006534/0.3029, allocations: 0.5616 MB / 290.9 MB, free: 3.578 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3029, allocations: 0 / 290.9 MB, free: 3.578 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0008513/0.3037, allocations: 216 kB / 291.1 MB, free: 3.367 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 3 (comparisonWithFEA.tableID,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 82 * 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.0003383/0.3041, allocations: 196.1 kB / 291.3 MB, free: 3.172 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.3051, allocations: 0.7507 MB / 292.1 MB, free: 2.426 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3051, allocations: 0 / 292.1 MB, free: 2.426 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005338/0.3057, allocations: 425.1 kB / 292.5 MB, free: 2.012 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009348/0.3066, allocations: 193 kB / 292.7 MB, free: 1.824 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.3088, allocations: 1.492 MB / 294.2 MB, free: 180 kB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006292/0.3095, allocations: 1.041 MB / 295.2 MB, free: 15.1 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0006223/0.3101, allocations: 118.9 kB / 295.3 MB, free: 14.98 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.3103, allocations: 75.41 kB / 295.4 MB, free: 14.91 MB / 202.7 MB Notification: Performance of SimCode: time 1.162e-06/0.3104, allocations: 0 / 295.4 MB, free: 14.91 MB / 202.7 MB Notification: Performance of Templates: time 0.02142/0.3318, allocations: 10.14 MB / 305.5 MB, free: 4.75 MB / 202.7 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1)