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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadModel(Modelica): time 1.897/1.897, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.745e-05/2.759e-05, allocations: 4 kB / 292.7 MB, free: 8.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08874/0.08879, allocations: 50.41 MB / 343.1 MB, free: 5.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3665/0.4554, allocations: 92.03 MB / 435.1 MB, free: 2.324 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.4556, allocations: 84.95 kB / 435.2 MB, free: 2.281 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Magnetic/FluxTubes/Examples/MovingCoilActuator/Components/ConstantActuator.mo:67:3-67:83:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.08717/0.5428, allocations: 22.71 MB / 457.9 MB, free: 15.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.899e-06/0.5429, allocations: 0 / 457.9 MB, free: 15.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.339e-05/0.543, allocations: 24 kB / 457.9 MB, free: 15.18 MB / 378.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.002891/0.5459, allocations: 1.231 MB / 459.2 MB, free: 13.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.5459, allocations: 8.031 kB / 459.2 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/0.5462, allocations: 126.5 kB / 459.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.5476, allocations: 0.6534 MB / 459.9 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.5478, allocations: 82.61 kB / 460 MB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002269/0.5481, allocations: 94.84 kB / 460.1 MB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/0.5503, allocations: 0.9222 MB / 461 MB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.91e-05/0.5503, allocations: 0 / 461 MB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.5505, allocations: 38.06 kB / 461.1 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-05/0.5505, allocations: 27.98 kB / 461.1 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/0.5526, allocations: 0.7619 MB / 461.9 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008241/0.5608, allocations: 3.86 MB / 465.7 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002642/0.5635, allocations: 0.8304 MB / 466.6 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000889/0.5644, allocations: 370.7 kB / 466.9 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.159e-05/0.5645, allocations: 12.55 kB / 466.9 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.5646, allocations: 47.11 kB / 467 MB, free: 6.555 MB / 378.7 MB Notification: Performance of pre-optimization done (n=68): time 4.209e-06/0.5646, allocations: 0 / 467 MB, free: 6.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=86): time 0.004954/0.5695, allocations: 1.641 MB / 468.6 MB, free: 4.914 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/0.5696, allocations: 89.53 kB / 468.7 MB, free: 4.809 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/0.5713, allocations: 0.809 MB / 469.5 MB, free: 3.992 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.914e-05/0.5714, allocations: 41.7 kB / 469.6 MB, free: 3.945 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005058/0.5719, allocations: 0.503 MB / 470.1 MB, free: 3.434 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00031/0.5722, allocations: 291.8 kB / 470.3 MB, free: 3.145 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-05/0.5723, allocations: 27.94 kB / 470.4 MB, free: 3.117 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.5726, allocations: 349.8 kB / 470.7 MB, free: 2.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008149/0.5734, allocations: 298 kB / 471 MB, free: 2.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009868/0.5744, allocations: 452.1 kB / 471.4 MB, free: 1.984 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009141/0.5753, allocations: 339.1 kB / 471.8 MB, free: 1.656 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.637e-06/0.5753, allocations: 4 kB / 471.8 MB, free: 1.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002346/0.5777, allocations: 0.9048 MB / 472.7 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.5777, allocations: 11.98 kB / 472.7 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.5778, allocations: 7.984 kB / 472.7 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/0.5778, allocations: 8.5 kB / 472.7 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/0.5797, allocations: 347.6 kB / 473.1 MB, free: 384 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.33e-05/0.5798, allocations: 11.94 kB / 473.1 MB, free: 372 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.581, allocations: 127.8 kB / 473.2 MB, free: 244 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.5811, allocations: 39.98 kB / 473.2 MB, free: 204 kB / 378.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 (121): * Single equations (assignments): 121 * 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.0002477/0.5814, allocations: 152.7 kB / 473.4 MB, free: 44 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002776/0.5817, allocations: 107 kB / 473.5 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009656/0.5827, allocations: 358.2 kB / 473.8 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.5827, allocations: 8 kB / 473.8 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.5827, allocations: 4 kB / 473.8 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.5827, allocations: 7.969 kB / 473.9 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006348/0.5891, allocations: 2.865 MB / 476.7 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/0.5891, allocations: 8 kB / 476.7 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/0.5905, allocations: 271.8 kB / 477 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.712e-05/0.5906, allocations: 16 kB / 477 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.949e-05/0.5907, allocations: 31.98 kB / 477 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.48e-05/0.5907, allocations: 19.94 kB / 477.1 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.969e-05/0.5907, allocations: 19.94 kB / 477.1 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/0.5932, allocations: 1.673 MB / 478.7 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000395/0.5936, allocations: 207.8 kB / 479 MB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/0.5938, allocations: 31.98 kB / 479 MB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.5948, allocations: 83.94 kB / 479.1 MB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/0.595, allocations: 95.7 kB / 479.2 MB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-05/0.5951, allocations: 39.98 kB / 479.2 MB, free: 9.555 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001248/0.5964, allocations: 0.6241 MB / 479.8 MB, free: 8.934 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-07/0.5964, allocations: 0 / 479.8 MB, free: 8.934 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001288/0.5977, allocations: 239.9 kB / 480.1 MB, free: 8.699 MB / 394.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.001356/0.5991, allocations: 408.5 kB / 480.5 MB, free: 8.391 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001737/0.6008, allocations: 0.6947 MB / 481.1 MB, free: 7.695 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.37e-06/0.6009, allocations: 5 kB / 481.2 MB, free: 7.691 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009737/0.6018, allocations: 392.3 kB / 481.5 MB, free: 7.309 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.6031, allocations: 177.2 kB / 481.7 MB, free: 7.137 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003834/0.607, allocations: 1.562 MB / 483.3 MB, free: 5.406 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009716/0.608, allocations: 1.057 MB / 484.3 MB, free: 4.324 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008886/0.6089, allocations: 131.2 kB / 484.5 MB, free: 4.191 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003639/0.6093, allocations: 75.41 kB / 484.5 MB, free: 4.117 MB / 394.7 MB Notification: Performance of SimCode: time 4.291e-06/0.6093, allocations: 0 / 484.5 MB, free: 4.117 MB / 394.7 MB Notification: Performance of Templates: time 0.02973/0.639, allocations: 10.57 MB / 495.1 MB, free: 9.648 MB / 410.7 MB