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.925/1.925, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.015e-05/4.094e-05, allocations: 4 kB / 255.3 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09191/0.09198, allocations: 44.51 MB / 299.8 MB, free: 6.613 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4353/0.5273, allocations: 84.02 MB / 383.9 MB, free: 21.08 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.5276, allocations: 87.17 kB / 384 MB, free: 21.08 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.07925/0.6069, allocations: 21.33 MB / 405.3 MB, free: 17 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.133e-06/0.6069, allocations: 0 / 405.3 MB, free: 17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.972e-05/0.607, allocations: 27.3 kB / 405.3 MB, free: 16.99 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.002672/0.6097, allocations: 1.242 MB / 406.6 MB, free: 16.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.6098, allocations: 11.62 kB / 406.6 MB, free: 16.15 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003322/0.6101, allocations: 128.1 kB / 406.7 MB, free: 16.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.6113, allocations: 0.6454 MB / 407.3 MB, free: 15.69 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.6115, allocations: 77.62 kB / 407.4 MB, free: 15.69 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.6117, allocations: 98.25 kB / 407.5 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/0.6138, allocations: 0.9293 MB / 408.4 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.39e-05/0.6139, allocations: 11.83 kB / 408.4 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/0.614, allocations: 35.06 kB / 408.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.6141, allocations: 23.34 kB / 408.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/0.6161, allocations: 0.7726 MB / 409.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007702/0.6238, allocations: 3.869 MB / 413.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0024/0.6262, allocations: 0.8416 MB / 414 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009018/0.6272, allocations: 364 kB / 414.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.084e-05/0.6273, allocations: 20.31 kB / 414.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.6273, allocations: 46.19 kB / 414.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=68): time 4.615e-06/0.6273, allocations: 3.938 kB / 414.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=86): time 0.004601/0.6319, allocations: 1.641 MB / 416.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.632, allocations: 89.3 kB / 416.1 MB, free: 12.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.6334, allocations: 0.804 MB / 416.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.6336, allocations: 43.48 kB / 417 MB, free: 12.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/0.6338, allocations: 0.5079 MB / 417.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00022/0.6341, allocations: 299.1 kB / 417.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-05/0.6342, allocations: 18.22 kB / 417.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.574e-05/0.6343, allocations: 348.2 kB / 418.1 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007085/0.635, allocations: 298.5 kB / 418.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008129/0.6358, allocations: 460.3 kB / 418.9 MB, free: 11.22 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008241/0.6366, allocations: 368.8 kB / 419.2 MB, free: 11.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.879e-06/0.6367, allocations: 0 / 419.2 MB, free: 11.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002051/0.6387, allocations: 0.9002 MB / 420.1 MB, free: 10.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/0.6388, allocations: 38.48 kB / 420.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.6388, allocations: 7.859 kB / 420.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.079e-05/0.6389, allocations: 7.812 kB / 420.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/0.6407, allocations: 345.5 kB / 420.5 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.081e-05/0.6408, allocations: 19.73 kB / 420.6 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.6421, allocations: 120.4 kB / 420.7 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.6423, allocations: 34.42 kB / 420.7 MB, free: 10.8 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.0002386/0.6425, allocations: 160.2 kB / 420.9 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002527/0.6428, allocations: 97.62 kB / 421 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009204/0.6437, allocations: 367.3 kB / 421.3 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.6437, allocations: 11.77 kB / 421.3 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.6438, allocations: 0 / 421.3 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.6438, allocations: 7.891 kB / 421.3 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005851/0.6497, allocations: 2.884 MB / 424.2 MB, free: 9.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/0.6497, allocations: 11.72 kB / 424.2 MB, free: 9.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/0.6511, allocations: 277.8 kB / 424.5 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.208e-05/0.6512, allocations: 15.53 kB / 424.5 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.01e-05/0.6513, allocations: 27.31 kB / 424.5 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.797e-05/0.6513, allocations: 23.55 kB / 424.6 MB, free: 9.148 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.237e-05/0.6513, allocations: 15.66 kB / 424.6 MB, free: 9.145 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.6532, allocations: 1.676 MB / 426.3 MB, free: 7.637 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003816/0.6536, allocations: 209.4 kB / 426.5 MB, free: 7.477 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/0.6538, allocations: 30.62 kB / 426.5 MB, free: 7.477 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.655, allocations: 81.66 kB / 426.6 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.6552, allocations: 93.62 kB / 426.7 MB, free: 7.414 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.197e-05/0.6553, allocations: 39 kB / 426.7 MB, free: 7.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001058/0.6564, allocations: 0.6192 MB / 427.3 MB, free: 7.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.6e-07/0.6564, allocations: 3.938 kB / 427.3 MB, free: 7.266 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001377/0.6578, allocations: 229.7 kB / 427.6 MB, free: 7.266 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.0009708/0.6588, allocations: 282.3 kB / 427.8 MB, free: 7.082 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001694/0.6605, allocations: 0.7738 MB / 428.6 MB, free: 6.957 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.545e-06/0.6605, allocations: 256 / 428.6 MB, free: 6.957 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009734/0.6615, allocations: 411.1 kB / 429 MB, free: 6.898 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.663, allocations: 189.4 kB / 429.2 MB, free: 6.848 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003526/0.6665, allocations: 1.602 MB / 430.8 MB, free: 5.949 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006389/0.6672, allocations: 1.054 MB / 431.8 MB, free: 5.094 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005337/0.6678, allocations: 88.83 kB / 431.9 MB, free: 5.074 MB / 314.7 MB Notification: Performance of SimCode: time 2.058e-06/0.6678, allocations: 0 / 431.9 MB, free: 5.074 MB / 314.7 MB Notification: Performance of Templates: time 0.0242/0.692, allocations: 12.98 MB / 444.9 MB, free: 10.67 MB / 330.7 MB