Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.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.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001303/0.001303, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.12/1.12, allocations: 170.7 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001472/0.001472, allocations: 107.5 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.341e-05/1.349e-05, allocations: 4 kB / 262.2 MB, free: 26.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05963/0.05966, allocations: 38.77 MB / 301 MB, free: 3.637 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2709/0.3306, allocations: 76.46 MB / 377.5 MB, free: 8.027 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.3309, allocations: 86.33 kB / 377.5 MB, free: 7.984 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03982/0.3707, allocations: 15.02 MB / 392.6 MB, free: 11.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3708, allocations: 0 / 392.6 MB, free: 11.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.255e-05/0.3709, allocations: 24 kB / 392.6 MB, free: 11.47 MB / 282.7 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.002689/0.3736, allocations: 0.987 MB / 393.6 MB, free: 10.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.3737, allocations: 8.031 kB / 393.6 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004188/0.3741, allocations: 98.78 kB / 393.7 MB, free: 10.38 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.3752, allocations: 0.529 MB / 394.2 MB, free: 9.902 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.3754, allocations: 29.31 kB / 394.2 MB, free: 9.875 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.3755, allocations: 36 kB / 394.3 MB, free: 9.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001005/0.3765, allocations: 477.7 kB / 394.7 MB, free: 9.555 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009331/0.3775, allocations: 0.5208 MB / 395.3 MB, free: 9.176 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.3775, allocations: 4 kB / 395.3 MB, free: 9.172 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.936e-05/0.3776, allocations: 0 / 395.3 MB, free: 9.172 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.3776, allocations: 12 kB / 395.3 MB, free: 9.16 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004413/0.382, allocations: 2.54 MB / 397.8 MB, free: 7.141 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006809/0.3827, allocations: 435.5 kB / 398.2 MB, free: 6.871 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005196/0.3832, allocations: 265.4 kB / 398.5 MB, free: 6.691 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.923e-05/0.3833, allocations: 8.391 kB / 398.5 MB, free: 6.684 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/0.3834, allocations: 42.62 kB / 398.5 MB, free: 6.637 MB / 282.7 MB Notification: Performance of pre-optimization done (n=50): time 2.846e-06/0.3834, allocations: 0 / 398.5 MB, free: 6.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=66): time 0.002397/0.3858, allocations: 0.9568 MB / 399.5 MB, free: 5.887 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.3859, allocations: 59.92 kB / 399.6 MB, free: 5.816 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.3871, allocations: 0.7442 MB / 400.3 MB, free: 5.254 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/0.3871, allocations: 25.7 kB / 400.3 MB, free: 5.223 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/0.3874, allocations: 404.3 kB / 400.7 MB, free: 4.949 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.3876, allocations: 213.5 kB / 400.9 MB, free: 4.762 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.3877, allocations: 0 / 400.9 MB, free: 4.762 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.3879, allocations: 388.6 kB / 401.3 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.3882, allocations: 192.8 kB / 401.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/0.3886, allocations: 291.5 kB / 401.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.389, allocations: 223 kB / 402 MB, free: 3.957 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.389, allocations: 0 / 402 MB, free: 3.957 MB / 282.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001044/0.3901, allocations: 0.6168 MB / 402.6 MB, free: 3.496 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.411e-05/0.3901, allocations: 33.7 kB / 402.7 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3901, allocations: 0 / 402.7 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/0.3902, allocations: 11.98 kB / 402.7 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008729/0.391, allocations: 195.5 kB / 402.9 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.236e-05/0.3911, allocations: 4 kB / 402.9 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006511/0.3917, allocations: 55.91 kB / 402.9 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.921e-05/0.3918, allocations: 23.92 kB / 402.9 MB, free: 3.184 MB / 282.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: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 1 * 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.0001744/0.392, allocations: 126.2 kB / 403.1 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.3922, allocations: 75.06 kB / 403.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009379/0.3931, allocations: 0.5191 MB / 403.7 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.3931, allocations: 4 kB / 403.7 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3931, allocations: 4 kB / 403.7 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.3932, allocations: 7.984 kB / 403.7 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/0.3957, allocations: 1.733 MB / 405.4 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.3957, allocations: 4 kB / 405.4 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006122/0.3963, allocations: 154.4 kB / 405.6 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.24e-05/0.3964, allocations: 8 kB / 405.6 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/0.3964, allocations: 4 kB / 405.6 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.3964, allocations: 8.094 kB / 405.6 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.3964, allocations: 7.938 kB / 405.6 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009288/0.3974, allocations: 0.7775 MB / 406.4 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000354/0.3977, allocations: 239.9 kB / 406.6 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.3978, allocations: 4 kB / 406.6 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005155/0.3984, allocations: 47.95 kB / 406.6 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.3985, allocations: 44.78 kB / 406.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.3985, allocations: 25.62 kB / 406.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007203/0.3993, allocations: 0.5874 MB / 407.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3993, allocations: 0 / 407.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006229/0.3999, allocations: 151.9 kB / 407.4 MB, free: 15.4 MB / 298.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: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * 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 Backend phase and start with SimCode phase: time 0.0005193/0.4004, allocations: 205.8 kB / 407.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008327/0.4013, allocations: 0.5278 MB / 408.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.4013, allocations: 6.75 kB / 408.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003872/0.4017, allocations: 257.5 kB / 408.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006376/0.4023, allocations: 98.08 kB / 408.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.4046, allocations: 1.164 MB / 409.7 MB, free: 13.35 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/0.4053, allocations: 0.9744 MB / 410.7 MB, free: 12.35 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004713/0.4057, allocations: 104.8 kB / 410.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.406, allocations: 59.36 kB / 410.8 MB, free: 12.19 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.406, allocations: 0 / 410.8 MB, free: 12.19 MB / 298.7 MB Notification: Performance of Templates: time 0.0148/0.4208, allocations: 6.736 MB / 417.6 MB, free: 5.43 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1)