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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.00105, allocations: 87.42 kB / 15.07 MB, free: 1.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004466/0.0004466, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2716, allocations: 47.6 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005242/0.2769, allocations: 3.915 MB / 330.4 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00324/0.2802, allocations: 1.641 MB / 332 MB, free: 13 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003377/0.2806, allocations: 13.5 kB / 332.1 MB, free: 12.99 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007423/0.2813, allocations: 385.2 kB / 332.4 MB, free: 12.79 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007746/0.2821, allocations: 372.9 kB / 332.8 MB, free: 12.54 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006112/0.2827, allocations: 201.3 kB / 333 MB, free: 12.38 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001249/0.284, allocations: 0.8911 MB / 333.9 MB, free: 11.84 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004304/0.2844, allocations: 225.6 kB / 334.1 MB, free: 11.71 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005331/0.285, allocations: 331.8 kB / 334.4 MB, free: 11.53 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005485/0.2855, allocations: 426.4 kB / 334.8 MB, free: 11.11 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.449e-05/0.2856, allocations: 40 kB / 334.9 MB, free: 11.07 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.2858, allocations: 56 kB / 334.9 MB, free: 11.02 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.286, allocations: 171.3 kB / 335.1 MB, free: 10.85 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.2862, allocations: 181.2 kB / 335.3 MB, free: 10.67 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009183/0.2871, allocations: 0.9816 MB / 336.3 MB, free: 9.684 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.525e-06/0.2871, allocations: 4 kB / 336.3 MB, free: 9.68 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2871, allocations: 0 / 336.3 MB, free: 9.68 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.2871, allocations: 0 / 336.3 MB, free: 9.68 MB / 270.1 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.001997/0.2891, allocations: 1.094 MB / 337.4 MB, free: 8.535 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.2892, allocations: 8.031 kB / 337.4 MB, free: 8.527 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.2894, allocations: 106.8 kB / 337.5 MB, free: 8.422 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007704/0.2901, allocations: 0.5154 MB / 338 MB, free: 7.859 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.341e-05/0.2902, allocations: 53.25 kB / 338 MB, free: 7.809 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-05/0.2903, allocations: 60 kB / 338.1 MB, free: 7.75 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.2916, allocations: 0.6674 MB / 338.8 MB, free: 7.066 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.2916, allocations: 0 / 338.8 MB, free: 7.066 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.406e-05/0.2917, allocations: 20 kB / 338.8 MB, free: 7.047 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.2917, allocations: 16 kB / 338.8 MB, free: 7.031 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.2929, allocations: 0.5945 MB / 339.4 MB, free: 6.438 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0036/0.2965, allocations: 2.568 MB / 342 MB, free: 3.73 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009295/0.2975, allocations: 489.7 kB / 342.4 MB, free: 3.242 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/0.2981, allocations: 302.4 kB / 342.7 MB, free: 2.945 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.68e-05/0.2982, allocations: 4.438 kB / 342.7 MB, free: 2.941 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.2982, allocations: 42.94 kB / 342.8 MB, free: 2.891 MB / 270.1 MB Notification: Performance of pre-optimization done (n=48): time 1.703e-06/0.2982, allocations: 0 / 342.8 MB, free: 2.891 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.004227/0.3025, allocations: 1.656 MB / 344.4 MB, free: 1.227 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.3025, allocations: 59.97 kB / 344.5 MB, free: 1.156 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.3037, allocations: 0.9379 MB / 345.4 MB, free: 216 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.61e-05/0.3037, allocations: 37.7 kB / 345.5 MB, free: 172 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003462/0.3041, allocations: 404 kB / 345.9 MB, free: 15.76 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.3042, allocations: 208.9 kB / 346.1 MB, free: 15.56 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.3043, allocations: 12 kB / 346.1 MB, free: 15.55 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3044, allocations: 333.9 kB / 346.4 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005754/0.305, allocations: 261.9 kB / 346.7 MB, free: 14.96 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006511/0.3057, allocations: 367 kB / 347 MB, free: 14.57 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006253/0.3063, allocations: 291.1 kB / 347.3 MB, free: 14.29 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3063, allocations: 0 / 347.3 MB, free: 14.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001496/0.3078, allocations: 0.7697 MB / 348.1 MB, free: 13.51 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.3079, allocations: 8 kB / 348.1 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3079, allocations: 4.062 kB / 348.1 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.3079, allocations: 8 kB / 348.1 MB, free: 13.49 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007253/0.3086, allocations: 183.8 kB / 348.3 MB, free: 13.31 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.3087, allocations: 4 kB / 348.3 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.3091, allocations: 55.95 kB / 348.3 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.3092, allocations: 27.98 kB / 348.4 MB, free: 13.22 MB / 286.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0003631/0.3095, allocations: 269.5 kB / 348.6 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.3097, allocations: 86.92 kB / 348.7 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.311, allocations: 0.671 MB / 349.4 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.3111, allocations: 4 kB / 349.4 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3111, allocations: 0 / 349.4 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.3111, allocations: 3.984 kB / 349.4 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/0.3139, allocations: 1.848 MB / 351.2 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.3139, allocations: 4.312 kB / 351.2 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005197/0.3144, allocations: 143.8 kB / 351.4 MB, free: 10.06 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/0.3145, allocations: 7.953 kB / 351.4 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.3145, allocations: 19.98 kB / 351.4 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.3145, allocations: 7.938 kB / 351.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.3145, allocations: 7.938 kB / 351.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.3158, allocations: 0.7695 MB / 352.2 MB, free: 9.199 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.3161, allocations: 215.9 kB / 352.4 MB, free: 8.969 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.753e-05/0.3161, allocations: 23.89 kB / 352.4 MB, free: 8.945 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.3165, allocations: 43.97 kB / 352.5 MB, free: 8.902 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/0.3166, allocations: 44.38 kB / 352.5 MB, free: 8.859 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.3167, allocations: 16 kB / 352.5 MB, free: 8.844 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007741/0.3175, allocations: 0.6865 MB / 353.2 MB, free: 8.16 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3175, allocations: 0 / 353.2 MB, free: 8.16 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005242/0.318, allocations: 156 kB / 353.4 MB, free: 8.008 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 61 * 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.0009855/0.319, allocations: 369.8 kB / 353.7 MB, free: 7.645 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.3204, allocations: 0.6123 MB / 354.3 MB, free: 7.039 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3204, allocations: 0 / 354.3 MB, free: 7.039 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006036/0.321, allocations: 311.3 kB / 354.6 MB, free: 6.73 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007613/0.3218, allocations: 126.8 kB / 354.8 MB, free: 6.609 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.3247, allocations: 1.871 MB / 356.6 MB, free: 4.68 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006146/0.3254, allocations: 0.9594 MB / 357.6 MB, free: 3.688 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000411/0.3258, allocations: 97.05 kB / 357.7 MB, free: 3.59 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.326, allocations: 55.42 kB / 357.8 MB, free: 3.535 MB / 286.1 MB Notification: Performance of SimCode: time 3.2e-07/0.326, allocations: 0 / 357.8 MB, free: 3.535 MB / 286.1 MB Notification: Performance of Templates: time 0.01443/0.3404, allocations: 6.91 MB / 364.7 MB, free: 12.61 MB / 302.1 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)