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.664/0.664, allocations: 110.9 MB / 125.9 MB, free: 6.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001641/0.00164, allocations: 138.7 kB / 151.8 MB, free: 5 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002528/0.000253, allocations: 4 kB / 184.9 MB, free: 3.918 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1389, allocations: 25.16 MB / 210.1 MB, free: 29.75 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0535/0.1924, allocations: 43.12 MB / 253.2 MB, free: 6.688 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.1927, allocations: 76.75 kB / 253.2 MB, free: 6.613 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05437/0.2471, allocations: 20.1 MB / 273.3 MB, free: 2.512 MB / 202.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2471, allocations: 0 / 273.3 MB, free: 2.512 MB / 202.7 MB Notification: Performance of Transformations before backend: time 0.0001013/0.2472, allocations: 24 kB / 273.4 MB, free: 2.488 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.003865/0.2511, allocations: 1.306 MB / 274.7 MB, free: 1.133 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.2512, allocations: 8.031 kB / 274.7 MB, free: 1.125 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006117/0.2518, allocations: 126.5 kB / 274.8 MB, free: 1 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.2535, allocations: 0.6218 MB / 275.4 MB, free: 340 kB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.2537, allocations: 81.98 kB / 275.5 MB, free: 260 kB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002742/0.254, allocations: 91.91 kB / 275.6 MB, free: 168 kB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002702/0.2567, allocations: 1.075 MB / 276.7 MB, free: 15.08 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.411e-05/0.2567, allocations: 4 kB / 276.7 MB, free: 15.07 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.2569, allocations: 36 kB / 276.7 MB, free: 15.04 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/0.2569, allocations: 24 kB / 276.7 MB, free: 15.02 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/0.2592, allocations: 0.9967 MB / 277.7 MB, free: 14.02 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006751/0.266, allocations: 3.852 MB / 281.6 MB, free: 9.969 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/0.2684, allocations: 0.9739 MB / 282.6 MB, free: 8.98 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.432e-05/0.2685, allocations: 16.16 kB / 282.6 MB, free: 8.965 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.2686, allocations: 46.8 kB / 282.6 MB, free: 8.91 MB / 218.7 MB Notification: Performance of pre-optimization done (n=65): time 3.236e-06/0.2686, allocations: 0 / 282.6 MB, free: 8.91 MB / 218.7 MB Notification: Performance of matching and sorting (n=79): time 0.006087/0.2747, allocations: 2.439 MB / 285.1 MB, free: 6.465 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.2748, allocations: 85.55 kB / 285.1 MB, free: 6.363 MB / 218.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.2759, allocations: 0.7306 MB / 285.9 MB, free: 5.625 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.276, allocations: 41.7 kB / 285.9 MB, free: 5.578 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.2764, allocations: 0.4951 MB / 286.4 MB, free: 5.074 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/0.2766, allocations: 272.1 kB / 286.7 MB, free: 4.805 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.638e-05/0.2766, allocations: 16 kB / 286.7 MB, free: 4.789 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.2768, allocations: 346 kB / 287 MB, free: 4.445 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.2779, allocations: 457.7 kB / 287.5 MB, free: 4 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.279, allocations: 0.5936 MB / 288.1 MB, free: 3.359 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.2801, allocations: 490 kB / 288.5 MB, free: 2.879 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.2802, allocations: 0 / 288.5 MB, free: 2.879 MB / 218.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002551/0.2827, allocations: 1.22 MB / 289.8 MB, free: 1.648 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.2827, allocations: 9.859 kB / 289.8 MB, free: 1.641 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.2828, allocations: 4 kB / 289.8 MB, free: 1.637 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.2828, allocations: 8 kB / 289.8 MB, free: 1.629 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.2842, allocations: 335.6 kB / 290.1 MB, free: 1.301 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/0.2842, allocations: 11.94 kB / 290.1 MB, free: 1.289 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.2854, allocations: 115.9 kB / 290.2 MB, free: 1.176 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.2855, allocations: 39.98 kB / 290.3 MB, free: 1.137 MB / 218.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 114 * 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.0006137/0.2861, allocations: 281.6 kB / 290.6 MB, free: 0.8516 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/0.2864, allocations: 98.83 kB / 290.7 MB, free: 0.7539 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.2878, allocations: 0.5954 MB / 291.2 MB, free: 148 kB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.2878, allocations: 8 kB / 291.3 MB, free: 140 kB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.2878, allocations: 0 / 291.3 MB, free: 140 kB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.2878, allocations: 7.984 kB / 291.3 MB, free: 132 kB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1068/0.3946, allocations: 2.924 MB / 294.2 MB, free: 54.98 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/0.3947, allocations: 11.2 kB / 294.2 MB, free: 54.98 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.3957, allocations: 255.9 kB / 294.4 MB, free: 54.98 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.95e-05/0.3957, allocations: 14.38 kB / 294.5 MB, free: 54.98 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.333e-05/0.3958, allocations: 28.45 kB / 294.5 MB, free: 54.98 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.055e-05/0.3958, allocations: 17.81 kB / 294.5 MB, free: 54.98 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.42e-05/0.3959, allocations: 21.48 kB / 294.5 MB, free: 54.98 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/0.3983, allocations: 1.798 MB / 296.3 MB, free: 53.8 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003041/0.3986, allocations: 186.9 kB / 296.5 MB, free: 53.71 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.3987, allocations: 26.27 kB / 296.5 MB, free: 53.71 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007241/0.3995, allocations: 79.8 kB / 296.6 MB, free: 53.71 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.3996, allocations: 86.33 kB / 296.7 MB, free: 53.7 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.398e-05/0.3997, allocations: 40.16 kB / 296.7 MB, free: 53.7 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0008483/0.4005, allocations: 0.5691 MB / 297.3 MB, free: 53.61 MB / 218.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4006, allocations: 3.5 kB / 297.3 MB, free: 53.61 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.0009436/0.4015, allocations: 215.3 kB / 297.5 MB, free: 53.61 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 78 * 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.0004084/0.4019, allocations: 184.9 kB / 297.7 MB, free: 53.52 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.001991/0.4039, allocations: 0.9322 MB / 298.6 MB, free: 53.52 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.4039, allocations: 6.125 kB / 298.6 MB, free: 53.52 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.405, allocations: 475.2 kB / 299.1 MB, free: 53.49 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.4063, allocations: 189 kB / 299.3 MB, free: 53.49 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003861/0.4102, allocations: 2.367 MB / 301.7 MB, free: 52.2 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/0.4107, allocations: 1.04 MB / 302.7 MB, free: 51.49 MB / 218.7 MB Notification: Performance of simCode: alias equations: time 0.0007034/0.4114, allocations: 114 kB / 302.8 MB, free: 51.46 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.4116, allocations: 69.25 kB / 302.9 MB, free: 51.46 MB / 218.7 MB Notification: Performance of SimCode: time 7.92e-07/0.4116, allocations: 0 / 302.9 MB, free: 51.46 MB / 218.7 MB Notification: Performance of Templates: time 0.01439/0.426, allocations: 9.886 MB / 312.8 MB, free: 50.89 MB / 218.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)