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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001443/0.001443, allocations: 168.7 kB / 15.95 MB, free: 204 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.567/1.567, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0006828/0.0006831, allocations: 12 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2821, allocations: 47.59 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004833/0.287, allocations: 3.902 MB / 330.4 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003334/0.2903, allocations: 1.646 MB / 332 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004443/0.2908, allocations: 12.5 kB / 332 MB, free: 13.01 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007837/0.2916, allocations: 389.7 kB / 332.4 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008589/0.2925, allocations: 372.5 kB / 332.8 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006527/0.2932, allocations: 201.8 kB / 333 MB, free: 12.39 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001145/0.2943, allocations: 0.8985 MB / 333.9 MB, free: 11.84 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000406/0.2947, allocations: 226 kB / 334.1 MB, free: 11.71 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004737/0.2952, allocations: 327.5 kB / 334.4 MB, free: 11.53 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005184/0.2957, allocations: 422.4 kB / 334.8 MB, free: 11.12 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.675e-05/0.2958, allocations: 40 kB / 334.9 MB, free: 11.08 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.296, allocations: 56 kB / 334.9 MB, free: 11.02 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001936/0.2962, allocations: 175.3 kB / 335.1 MB, free: 10.85 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.2964, allocations: 181.2 kB / 335.3 MB, free: 10.67 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.2974, allocations: 0.9855 MB / 336.3 MB, free: 9.68 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2974, allocations: 0 / 336.3 MB, free: 9.68 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2975, allocations: 3.938 kB / 336.3 MB, free: 9.676 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.2975, allocations: 4 kB / 336.3 MB, free: 9.672 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.001979/0.2995, allocations: 1.082 MB / 337.4 MB, free: 8.539 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.2995, allocations: 8.031 kB / 337.4 MB, free: 8.531 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.2997, allocations: 106.8 kB / 337.5 MB, free: 8.426 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008178/0.3005, allocations: 0.5154 MB / 338 MB, free: 7.863 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.3006, allocations: 49.31 kB / 338 MB, free: 7.816 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.3008, allocations: 60 kB / 338.1 MB, free: 7.758 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.302, allocations: 0.6674 MB / 338.8 MB, free: 7.074 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.3021, allocations: 0 / 338.8 MB, free: 7.074 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.789e-05/0.3021, allocations: 24 kB / 338.8 MB, free: 7.051 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.3022, allocations: 16 kB / 338.8 MB, free: 7.035 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.3034, allocations: 0.5906 MB / 339.4 MB, free: 6.445 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003774/0.3072, allocations: 2.568 MB / 342 MB, free: 3.738 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009366/0.3082, allocations: 493.7 kB / 342.4 MB, free: 3.246 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006812/0.3089, allocations: 302.4 kB / 342.7 MB, free: 2.949 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.088e-05/0.3089, allocations: 8.422 kB / 342.7 MB, free: 2.941 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.309, allocations: 42.94 kB / 342.8 MB, free: 2.891 MB / 270.1 MB Notification: Performance of pre-optimization done (n=48): time 2.434e-06/0.309, allocations: 0 / 342.8 MB, free: 2.891 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.004618/0.3136, allocations: 1.649 MB / 344.4 MB, free: 1.234 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.3137, allocations: 63.95 kB / 344.5 MB, free: 1.16 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.315, allocations: 0.9379 MB / 345.4 MB, free: 220 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.739e-05/0.315, allocations: 37.7 kB / 345.5 MB, free: 176 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003588/0.3154, allocations: 408 kB / 345.9 MB, free: 15.77 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.3156, allocations: 205 kB / 346.1 MB, free: 15.56 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.3157, allocations: 16 kB / 346.1 MB, free: 15.55 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3159, allocations: 326 kB / 346.4 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006896/0.3166, allocations: 265.9 kB / 346.7 MB, free: 14.96 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008804/0.3175, allocations: 367 kB / 347 MB, free: 14.57 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007279/0.3182, allocations: 295.1 kB / 347.3 MB, free: 14.29 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3182, allocations: 0 / 347.3 MB, free: 14.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00179/0.32, allocations: 0.7658 MB / 348.1 MB, free: 13.51 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.3201, allocations: 8.062 kB / 348.1 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.3201, allocations: 4 kB / 348.1 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.3201, allocations: 8 kB / 348.1 MB, free: 13.49 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007991/0.3209, allocations: 183.8 kB / 348.3 MB, free: 13.31 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.3209, allocations: 4 kB / 348.3 MB, free: 13.31 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005589/0.3215, allocations: 55.95 kB / 348.3 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.903e-05/0.3216, allocations: 24 kB / 348.4 MB, free: 13.23 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.0004363/0.322, allocations: 273.5 kB / 348.6 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.3222, allocations: 86.92 kB / 348.7 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/0.3237, allocations: 0.671 MB / 349.4 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.3237, allocations: 4 kB / 349.4 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3237, allocations: 0 / 349.4 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.3238, allocations: 7.984 kB / 349.4 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00328/0.327, allocations: 1.848 MB / 351.2 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.3271, allocations: 4.312 kB / 351.2 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005927/0.3277, allocations: 143.8 kB / 351.4 MB, free: 10.06 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.716e-05/0.3277, allocations: 11.95 kB / 351.4 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/0.3278, allocations: 12 kB / 351.4 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.931e-05/0.3278, allocations: 11.92 kB / 351.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.3278, allocations: 7.938 kB / 351.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.3293, allocations: 0.7773 MB / 352.2 MB, free: 9.191 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003613/0.3297, allocations: 207.9 kB / 352.4 MB, free: 8.969 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.3298, allocations: 19.95 kB / 352.4 MB, free: 8.949 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004859/0.3303, allocations: 47.91 kB / 352.5 MB, free: 8.902 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.3304, allocations: 44.38 kB / 352.5 MB, free: 8.859 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/0.3305, allocations: 20 kB / 352.5 MB, free: 8.84 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0009977/0.3315, allocations: 0.6826 MB / 353.2 MB, free: 8.16 MB / 286.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3315, allocations: 0 / 353.2 MB, free: 8.16 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006451/0.3322, allocations: 152 kB / 353.4 MB, free: 8.012 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.0009685/0.3331, allocations: 373.5 kB / 353.7 MB, free: 7.645 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001495/0.3346, allocations: 0.6123 MB / 354.3 MB, free: 7.039 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.3347, allocations: 4 kB / 354.3 MB, free: 7.035 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006961/0.3354, allocations: 311.3 kB / 354.7 MB, free: 6.727 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009408/0.3363, allocations: 122.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.003467/0.3398, 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.0006835/0.3405, allocations: 0.9594 MB / 357.6 MB, free: 3.688 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0005329/0.341, allocations: 101 kB / 357.7 MB, free: 3.586 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.3412, allocations: 55.42 kB / 357.8 MB, free: 3.531 MB / 286.1 MB Notification: Performance of SimCode: time 1.382e-06/0.3413, allocations: 0 / 357.8 MB, free: 3.531 MB / 286.1 MB Notification: Performance of Templates: time 0.01484/0.3561, allocations: 6.906 MB / 364.7 MB, free: 12.61 MB / 302.1 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)