Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001039/0.001039, allocations: 171.3 kB / 7.638 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.296/1.296, allocations: 170.7 MB / 178.7 MB, free: 15.65 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.001589/0.00159, allocations: 123.4 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.046e-05/2.049e-05, allocations: 4 kB / 262.2 MB, free: 26.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06462/0.06466, allocations: 38.78 MB / 301 MB, free: 3.629 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2647/0.3294, allocations: 78.53 MB / 379.5 MB, free: 5.922 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.3297, allocations: 84.89 kB / 379.6 MB, free: 5.879 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05647/0.3862, allocations: 21.13 MB / 400.7 MB, free: 4.512 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3862, allocations: 0 / 400.7 MB, free: 4.512 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.451e-05/0.3863, allocations: 24 kB / 400.8 MB, free: 4.488 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002948/0.3892, allocations: 1.239 MB / 402 MB, free: 3.266 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.3893, allocations: 12.03 kB / 402 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000434/0.3897, allocations: 131.1 kB / 402.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.3911, allocations: 0.6424 MB / 402.8 MB, free: 2.586 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.3912, allocations: 42 kB / 402.8 MB, free: 2.547 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.3914, allocations: 59.98 kB / 402.9 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001573/0.393, allocations: 0.7132 MB / 403.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.3946, allocations: 0.7964 MB / 404.4 MB, free: 1.508 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/0.3946, allocations: 11.84 kB / 404.4 MB, free: 1.496 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-05/0.3947, allocations: 4 kB / 404.4 MB, free: 1.492 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.3947, allocations: 20 kB / 404.4 MB, free: 1.473 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005801/0.4005, allocations: 3.667 MB / 408.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.4024, allocations: 0.8087 MB / 408.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005439/0.403, allocations: 359.9 kB / 409.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.263e-05/0.4031, allocations: 12.55 kB / 409.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.4031, allocations: 40.94 kB / 409.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of pre-optimization done (n=68): time 2.655e-06/0.4031, allocations: 0 / 409.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=86): time 0.002969/0.4061, allocations: 1.398 MB / 410.7 MB, free: 12.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.4061, allocations: 89.55 kB / 410.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009741/0.4071, allocations: 0.6834 MB / 411.5 MB, free: 11.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.03e-05/0.4072, allocations: 25.7 kB / 411.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.4075, allocations: 0.5066 MB / 412 MB, free: 11.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/0.4078, allocations: 279.9 kB / 412.3 MB, free: 11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.4078, allocations: 4 kB / 412.3 MB, free: 10.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.408, allocations: 398.7 kB / 412.7 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004741/0.4085, allocations: 282.6 kB / 413 MB, free: 10.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005903/0.4091, allocations: 438.4 kB / 413.4 MB, free: 9.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005234/0.4096, allocations: 318.9 kB / 413.7 MB, free: 9.531 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4096, allocations: 0 / 413.7 MB, free: 9.531 MB / 298.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001501/0.4111, allocations: 0.8412 MB / 414.5 MB, free: 8.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.423e-05/0.4112, allocations: 33.7 kB / 414.6 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.4112, allocations: 4 kB / 414.6 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/0.4113, allocations: 8 kB / 414.6 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.4128, allocations: 355.9 kB / 414.9 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-05/0.4128, allocations: 12 kB / 414.9 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.4139, allocations: 95.91 kB / 415 MB, free: 8.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.726e-05/0.414, allocations: 39.98 kB / 415.1 MB, free: 8.137 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,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 (122): * Single equations (assignments): 121 * 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.0001943/0.4142, allocations: 136.5 kB / 415.2 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.4144, allocations: 86.97 kB / 415.3 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007055/0.4151, allocations: 329.3 kB / 415.6 MB, free: 7.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.4151, allocations: 12 kB / 415.6 MB, free: 7.559 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.4151, allocations: 0 / 415.6 MB, free: 7.559 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/0.4151, allocations: 7.984 kB / 415.6 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004249/0.4194, allocations: 2.656 MB / 418.3 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/0.4194, allocations: 12 kB / 418.3 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.4204, allocations: 275.6 kB / 418.6 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.038e-05/0.4205, allocations: 16 kB / 418.6 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.408e-05/0.4205, allocations: 19.98 kB / 418.6 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.497e-05/0.4206, allocations: 23.92 kB / 418.6 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.205e-05/0.4206, allocations: 19.88 kB / 418.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.4222, allocations: 1.62 MB / 420.3 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/0.4225, allocations: 191.9 kB / 420.5 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.4227, allocations: 19.98 kB / 420.5 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007621/0.4235, allocations: 75.94 kB / 420.5 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.4236, allocations: 91.64 kB / 420.6 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.738e-05/0.4237, allocations: 39.98 kB / 420.7 MB, free: 1.859 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006959/0.4244, allocations: 0.5187 MB / 421.2 MB, free: 1.348 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4244, allocations: 8 kB / 421.2 MB, free: 1.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000947/0.4253, allocations: 192 kB / 421.4 MB, free: 1.152 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 2 (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 (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 Backend phase and start with SimCode phase: time 0.0004967/0.4258, allocations: 216.9 kB / 421.6 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.427, allocations: 0.7216 MB / 422.3 MB, free: 204 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.427, allocations: 0 / 422.3 MB, free: 204 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005997/0.4276, allocations: 375.2 kB / 422.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009184/0.4286, allocations: 163.2 kB / 422.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.4314, allocations: 1.49 MB / 424.3 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007155/0.4321, allocations: 1.049 MB / 425.4 MB, free: 12.94 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006589/0.4328, allocations: 126.6 kB / 425.5 MB, free: 12.81 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/0.4331, allocations: 71.41 kB / 425.6 MB, free: 12.74 MB / 314.7 MB Notification: Performance of SimCode: time 2.254e-06/0.4331, allocations: 0 / 425.6 MB, free: 12.74 MB / 314.7 MB Notification: Performance of Templates: time 0.01707/0.4501, allocations: 9.112 MB / 434.7 MB, free: 3.617 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1)