Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadModel(Modelica): time 1.965/1.965, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.593e-05/2.612e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2498, allocations: 44.5 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1297/0.3795, allocations: 83.36 MB / 377.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.3799, allocations: 91.89 kB / 377.6 MB, free: 14.52 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Magnetic/FluxTubes.mo:1375:11-1375:91:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.0836/0.4635, allocations: 21.12 MB / 398.7 MB, free: 9.309 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.413e-06/0.4635, allocations: 0 / 398.7 MB, free: 9.309 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.476e-05/0.4636, allocations: 24.19 kB / 398.7 MB, free: 9.285 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.002992/0.4666, allocations: 1.253 MB / 400 MB, free: 7.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.4667, allocations: 11.97 kB / 400 MB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003789/0.4671, allocations: 126.5 kB / 400.1 MB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.4686, allocations: 0.6406 MB / 400.7 MB, free: 7.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.4688, allocations: 49.98 kB / 400.8 MB, free: 7.113 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.469, allocations: 56 kB / 400.8 MB, free: 7.059 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002036/0.471, allocations: 0.7225 MB / 401.6 MB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/0.4732, allocations: 0.8068 MB / 402.4 MB, free: 5.512 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.229e-05/0.4732, allocations: 0 / 402.4 MB, free: 5.512 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.4734, allocations: 0 / 402.4 MB, free: 5.512 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.088e-05/0.4734, allocations: 24 kB / 402.4 MB, free: 5.488 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008419/0.4818, allocations: 3.678 MB / 406.1 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002491/0.4844, allocations: 0.8059 MB / 406.9 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008509/0.4852, allocations: 360.7 kB / 407.2 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.37e-05/0.4853, allocations: 12.52 kB / 407.2 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.4854, allocations: 43.12 kB / 407.3 MB, free: 400 kB / 346.7 MB Notification: Performance of pre-optimization done (n=68): time 4.574e-06/0.4854, allocations: 3.938 kB / 407.3 MB, free: 396 kB / 346.7 MB Notification: Performance of matching and sorting (n=86): time 0.004117/0.4895, allocations: 1.393 MB / 408.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/0.4896, allocations: 89.48 kB / 408.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.491, allocations: 0.6872 MB / 409.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.864e-05/0.4911, allocations: 29.7 kB / 409.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004879/0.4916, allocations: 0.5247 MB / 410 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003176/0.492, allocations: 279.8 kB / 410.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-05/0.492, allocations: 0 / 410.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.4923, allocations: 346.8 kB / 410.6 MB, free: 13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007492/0.493, allocations: 278.6 kB / 410.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008809/0.4939, allocations: 442.4 kB / 411.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007992/0.4947, allocations: 318 kB / 411.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.762e-06/0.4947, allocations: 0 / 411.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002042/0.4968, allocations: 0.7871 MB / 412.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.675e-05/0.4969, allocations: 37.69 kB / 412.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.4969, allocations: 7.938 kB / 412.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/0.497, allocations: 8.5 kB / 412.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/0.4988, allocations: 347.6 kB / 412.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.52e-05/0.4988, allocations: 23.88 kB / 412.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.5, allocations: 95.91 kB / 412.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.5002, allocations: 35.98 kB / 413 MB, free: 10.58 MB / 362.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.0002326/0.5004, allocations: 128.5 kB / 413.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002507/0.5007, allocations: 90.88 kB / 413.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009225/0.5016, allocations: 337.4 kB / 413.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.5016, allocations: 8 kB / 413.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.152e-06/0.5017, allocations: 0 / 413.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/0.5017, allocations: 11.94 kB / 413.5 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006026/0.5077, allocations: 2.664 MB / 416.2 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.855e-05/0.5078, allocations: 11.94 kB / 416.2 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/0.5091, allocations: 267.8 kB / 416.5 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.717e-05/0.5092, allocations: 16 kB / 416.5 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.397e-05/0.5093, allocations: 23.94 kB / 416.5 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.075e-05/0.5093, allocations: 23.94 kB / 416.5 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-05/0.5093, allocations: 19.88 kB / 416.5 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/0.5117, allocations: 1.613 MB / 418.2 MB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003615/0.5121, allocations: 196 kB / 418.4 MB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/0.5123, allocations: 12 kB / 418.4 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.5133, allocations: 71.89 kB / 418.4 MB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002868/0.5136, allocations: 95.69 kB / 418.5 MB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001494/0.5138, allocations: 43.98 kB / 418.6 MB, free: 4.305 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00101/0.5148, allocations: 0.5186 MB / 419.1 MB, free: 3.793 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.23e-07/0.5148, allocations: 0 / 419.1 MB, free: 3.793 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001228/0.5161, allocations: 192 kB / 419.3 MB, free: 3.605 MB / 362.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.0009606/0.517, allocations: 263.9 kB / 419.5 MB, free: 3.375 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.5187, allocations: 0.7254 MB / 420.3 MB, free: 2.641 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.889e-06/0.5188, allocations: 4 kB / 420.3 MB, free: 2.637 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008962/0.5197, allocations: 374.6 kB / 420.6 MB, free: 2.273 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.521, allocations: 152 kB / 420.8 MB, free: 2.121 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003866/0.5249, allocations: 1.557 MB / 422.3 MB, free: 396 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2011/0.726, allocations: 1.045 MB / 423.4 MB, free: 100.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005784/0.7266, allocations: 82.78 kB / 423.5 MB, free: 100.4 MB / 362.7 MB Notification: Performance of SimCode: time 1.73e-06/0.7266, allocations: 0 / 423.5 MB, free: 100.4 MB / 362.7 MB Notification: Performance of Templates: time 0.0224/0.749, allocations: 12.5 MB / 436 MB, free: 99.73 MB / 362.7 MB