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.7101/0.7101, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001655/0.001655, allocations: 159.5 kB / 144 MB, free: 4.789 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.446e-05/1.448e-05, allocations: 4 kB / 173.9 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.03608/0.03611, allocations: 25.18 MB / 199 MB, free: 13.69 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05308/0.08922, allocations: 40.9 MB / 239.9 MB, free: 4.719 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.0895, allocations: 67.95 kB / 240 MB, free: 4.652 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1212/0.2107, allocations: 14 MB / 254 MB, free: 40.98 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2107, allocations: 0 / 254 MB, free: 40.98 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.603e-05/0.2108, allocations: 14.62 kB / 254 MB, free: 40.98 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001564/0.2124, allocations: 0.9514 MB / 255 MB, free: 40.24 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.2124, allocations: 7.25 kB / 255 MB, free: 40.24 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.2125, allocations: 93.41 kB / 255.1 MB, free: 40.2 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006456/0.2132, allocations: 0.5159 MB / 255.6 MB, free: 39.77 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.142e-05/0.2133, allocations: 29.09 kB / 255.6 MB, free: 39.77 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.212e-05/0.2134, allocations: 35.03 kB / 255.6 MB, free: 39.77 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008657/0.2143, allocations: 0.5753 MB / 256.2 MB, free: 39.52 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009436/0.2152, allocations: 0.6447 MB / 256.9 MB, free: 39.16 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.2153, allocations: 7.922 kB / 256.9 MB, free: 39.16 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.332e-05/0.2153, allocations: 0 / 256.9 MB, free: 39.16 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.2153, allocations: 16.94 kB / 256.9 MB, free: 39.16 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003125/0.2185, allocations: 2.615 MB / 259.5 MB, free: 37.1 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006683/0.2191, allocations: 0.5196 MB / 260 MB, free: 36.85 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005053/0.2197, allocations: 360 kB / 260.4 MB, free: 36.71 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.2197, allocations: 12.09 kB / 260.4 MB, free: 36.71 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.2198, allocations: 38.98 kB / 260.4 MB, free: 36.66 MB / 186.7 MB Notification: Performance of pre-optimization done (n=49): time 2.344e-06/0.2198, allocations: 3.938 kB / 260.4 MB, free: 36.66 MB / 186.7 MB Notification: Performance of matching and sorting (n=65): time 0.002338/0.2221, allocations: 1.513 MB / 261.9 MB, free: 35.29 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.2221, allocations: 63.97 kB / 262 MB, free: 35.21 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005121/0.2227, allocations: 0.5541 MB / 262.6 MB, free: 34.65 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.2227, allocations: 25.7 kB / 262.6 MB, free: 34.62 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.2229, allocations: 403.7 kB / 263 MB, free: 34.22 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.223, allocations: 208.9 kB / 263.2 MB, free: 34.02 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.223, allocations: 0 / 263.2 MB, free: 34.02 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.2232, allocations: 390.7 kB / 263.6 MB, free: 33.62 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.2235, allocations: 305.5 kB / 263.9 MB, free: 33.33 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/0.2239, allocations: 399.5 kB / 264.3 MB, free: 32.91 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004013/0.2243, allocations: 332.4 kB / 264.6 MB, free: 32.58 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2243, allocations: 0 / 264.6 MB, free: 32.58 MB / 186.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.000982/0.2253, allocations: 0.8311 MB / 265.4 MB, free: 31.74 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.2254, allocations: 4 kB / 265.4 MB, free: 31.74 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.2254, allocations: 4 kB / 265.4 MB, free: 31.73 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.2254, allocations: 4 kB / 265.4 MB, free: 31.73 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007706/0.2262, allocations: 208 kB / 265.6 MB, free: 31.53 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.2262, allocations: 4 kB / 265.6 MB, free: 31.52 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005059/0.2267, allocations: 51.94 kB / 265.7 MB, free: 31.47 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.704e-05/0.2268, allocations: 32 kB / 265.7 MB, free: 31.44 MB / 186.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.0001125/0.2269, allocations: 117.7 kB / 265.8 MB, free: 31.32 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-05/0.227, allocations: 79.05 kB / 265.9 MB, free: 31.24 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.2281, allocations: 0.8461 MB / 266.7 MB, free: 30.38 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.2281, allocations: 8 kB / 266.8 MB, free: 30.38 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2281, allocations: 8 kB / 266.8 MB, free: 30.37 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.934e-06/0.2281, allocations: 7.922 kB / 266.8 MB, free: 30.36 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/0.2303, allocations: 2.055 MB / 268.8 MB, free: 28.21 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.2303, allocations: 4 kB / 268.8 MB, free: 28.21 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005419/0.2309, allocations: 143.8 kB / 269 MB, free: 28.07 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.2309, allocations: 4 kB / 269 MB, free: 28.06 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.2309, allocations: 11.94 kB / 269 MB, free: 28.05 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.231, allocations: 16.02 kB / 269 MB, free: 28.04 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.231, allocations: 4 kB / 269 MB, free: 28.03 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.232, allocations: 1.106 MB / 270.1 MB, free: 26.8 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/0.2322, allocations: 232.1 kB / 270.3 MB, free: 26.56 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.978e-05/0.2323, allocations: 4 kB / 270.3 MB, free: 26.55 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004587/0.2328, allocations: 47.95 kB / 270.4 MB, free: 26.51 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.483e-05/0.2329, allocations: 52.31 kB / 270.4 MB, free: 26.45 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-05/0.2329, allocations: 32 kB / 270.5 MB, free: 26.42 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0003898/0.2333, allocations: 451.1 kB / 270.9 MB, free: 25.98 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2333, allocations: 0 / 270.9 MB, free: 25.98 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005197/0.2339, allocations: 135.7 kB / 271 MB, free: 25.86 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 64 * 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.0003248/0.2342, allocations: 173.2 kB / 271.2 MB, free: 25.69 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.000685/0.2349, allocations: 0.599 MB / 271.8 MB, free: 25.09 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2349, allocations: 4.5 kB / 271.8 MB, free: 25.09 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003667/0.2353, allocations: 325.4 kB / 272.1 MB, free: 24.77 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006003/0.2359, allocations: 96.86 kB / 272.2 MB, free: 24.68 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.2374, allocations: 1.078 MB / 273.3 MB, free: 23.54 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.2377, allocations: 0.9744 MB / 274.3 MB, free: 22.54 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.000376/0.2381, allocations: 88.66 kB / 274.4 MB, free: 22.45 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.2382, allocations: 47.42 kB / 274.4 MB, free: 22.41 MB / 186.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2382, allocations: 0 / 274.4 MB, free: 22.41 MB / 186.7 MB Notification: Performance of Templates: time 0.00966/0.2479, allocations: 6.23 MB / 280.6 MB, free: 16.18 MB / 186.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)