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.771/1.771, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.471e-05/3.487e-05, allocations: 4 kB / 255.4 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07564/0.07569, allocations: 44.5 MB / 299.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3911/0.4668, allocations: 84.03 MB / 383.9 MB, free: 21.06 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005287/0.4674, allocations: 89.44 kB / 384 MB, free: 21.06 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.08575/0.5532, allocations: 21.34 MB / 405.3 MB, free: 16.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.183e-06/0.5532, allocations: 0 / 405.3 MB, free: 16.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.831e-05/0.5533, allocations: 23.61 kB / 405.3 MB, free: 16.96 MB / 314.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.002539/0.5559, allocations: 1.249 MB / 406.6 MB, free: 16.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.5559, allocations: 7.812 kB / 406.6 MB, free: 16.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002817/0.5562, allocations: 129 kB / 406.7 MB, free: 16.06 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.5575, allocations: 0.6436 MB / 407.4 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.5576, allocations: 84.8 kB / 407.5 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/0.5578, allocations: 91.44 kB / 407.5 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.5599, allocations: 0.9228 MB / 408.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.393e-05/0.56, allocations: 10.39 kB / 408.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.5602, allocations: 37.19 kB / 408.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.5602, allocations: 25.94 kB / 408.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002275/0.5625, allocations: 0.7529 MB / 409.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007632/0.5701, allocations: 3.86 MB / 413.1 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002446/0.5726, allocations: 0.8405 MB / 414 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008473/0.5735, allocations: 369.2 kB / 414.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.73e-05/0.5736, allocations: 11.38 kB / 414.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.5736, allocations: 42.89 kB / 414.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=68): time 4.182e-06/0.5737, allocations: 0 / 414.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=86): time 0.004621/0.5783, allocations: 1.633 MB / 416 MB, free: 12.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.5784, allocations: 93.2 kB / 416.1 MB, free: 12.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.5798, allocations: 0.8075 MB / 416.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.58, allocations: 40.45 kB / 417 MB, free: 12.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.5803, allocations: 0.5109 MB / 417.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/0.5805, allocations: 294.2 kB / 417.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.695e-05/0.5806, allocations: 22.34 kB / 417.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.626e-05/0.5807, allocations: 344.7 kB / 418.1 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007717/0.5815, allocations: 303 kB / 418.4 MB, free: 11.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000825/0.5823, allocations: 447.3 kB / 418.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008474/0.5832, allocations: 369.5 kB / 419.2 MB, free: 11.15 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.5832, allocations: 0 / 419.2 MB, free: 11.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001998/0.5852, allocations: 0.8963 MB / 420.1 MB, free: 10.97 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.947e-05/0.5853, allocations: 29.61 kB / 420.2 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.5853, allocations: 11.67 kB / 420.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.432e-05/0.5854, allocations: 7.812 kB / 420.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/0.5873, allocations: 355.8 kB / 420.5 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/0.5873, allocations: 11.81 kB / 420.5 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.5888, allocations: 112.8 kB / 420.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.5889, allocations: 38.45 kB / 420.7 MB, free: 10.81 MB / 314.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.000226/0.5891, allocations: 164.1 kB / 420.8 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.5894, allocations: 93.81 kB / 420.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009082/0.5903, allocations: 370.8 kB / 421.3 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.5903, allocations: 11.8 kB / 421.3 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.374e-06/0.5904, allocations: 0 / 421.3 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.5904, allocations: 3.984 kB / 421.3 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005677/0.5961, allocations: 2.861 MB / 424.2 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-05/0.5961, allocations: 7.812 kB / 424.2 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/0.5976, allocations: 275 kB / 424.4 MB, free: 9.172 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.18e-05/0.5976, allocations: 15.62 kB / 424.5 MB, free: 9.172 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.259e-05/0.5977, allocations: 30.7 kB / 424.5 MB, free: 9.168 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.649e-05/0.5978, allocations: 19.62 kB / 424.5 MB, free: 9.164 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.376e-05/0.5978, allocations: 27.55 kB / 424.5 MB, free: 9.148 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.5996, allocations: 1.671 MB / 426.2 MB, free: 7.648 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003345/0.6, allocations: 209.3 kB / 426.4 MB, free: 7.488 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.6002, allocations: 34.64 kB / 426.4 MB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.6013, allocations: 81.94 kB / 426.5 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.6015, allocations: 86.3 kB / 426.6 MB, free: 7.426 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-05/0.6016, allocations: 42.86 kB / 426.6 MB, free: 7.422 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001052/0.6027, allocations: 0.6184 MB / 427.3 MB, free: 7.281 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.38e-07/0.6027, allocations: 0 / 427.3 MB, free: 7.281 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001236/0.6039, allocations: 234.9 kB / 427.5 MB, free: 7.277 MB / 314.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.0009413/0.6049, allocations: 281.2 kB / 427.8 MB, free: 7.102 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001605/0.6065, allocations: 0.7458 MB / 428.5 MB, free: 6.984 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.055e-06/0.6065, allocations: 3.781 kB / 428.5 MB, free: 6.984 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008596/0.6074, allocations: 393.8 kB / 428.9 MB, free: 6.934 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.6088, allocations: 187.4 kB / 429.1 MB, free: 6.883 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.6121, allocations: 1.592 MB / 430.7 MB, free: 5.984 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006164/0.6127, allocations: 1.055 MB / 431.7 MB, free: 5.129 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004811/0.6132, allocations: 86.56 kB / 431.8 MB, free: 5.109 MB / 314.7 MB Notification: Performance of SimCode: time 1.679e-06/0.6133, allocations: 3.188 kB / 431.8 MB, free: 5.109 MB / 314.7 MB Notification: Performance of Templates: time 0.02258/0.6358, allocations: 12.87 MB / 444.7 MB, free: 10.89 MB / 330.7 MB