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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadModel(Modelica): time 1.923/1.923, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.023e-05/3.031e-05, allocations: 7.984 kB / 292.2 MB, free: 8.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08755/0.0876, allocations: 50.41 MB / 342.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3677/0.4553, allocations: 92.02 MB / 434.6 MB, free: 2.266 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.4556, allocations: 89.92 kB / 434.7 MB, free: 2.223 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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.08762/0.5432, allocations: 22.7 MB / 457.4 MB, free: 15.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.956e-06/0.5433, allocations: 0 / 457.4 MB, free: 15.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.053e-05/0.5434, allocations: 24 kB / 457.4 MB, free: 15.12 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.00282/0.5462, allocations: 1.225 MB / 458.6 MB, free: 13.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.5463, allocations: 12.03 kB / 458.6 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002867/0.5466, allocations: 126.5 kB / 458.8 MB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.5479, allocations: 0.656 MB / 459.4 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000171/0.5481, allocations: 82.48 kB / 459.5 MB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002078/0.5483, allocations: 94.72 kB / 459.6 MB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.5505, allocations: 0.9189 MB / 460.5 MB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.571e-05/0.5506, allocations: 7.984 kB / 460.5 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.5507, allocations: 38.94 kB / 460.6 MB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.5508, allocations: 24 kB / 460.6 MB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.5528, allocations: 0.7624 MB / 461.3 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008035/0.5609, allocations: 3.852 MB / 465.2 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002572/0.5635, allocations: 0.8395 MB / 466 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008691/0.5644, allocations: 370.7 kB / 466.4 MB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.086e-05/0.5645, allocations: 16.53 kB / 466.4 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.5645, allocations: 43.12 kB / 466.5 MB, free: 6.473 MB / 378.7 MB Notification: Performance of pre-optimization done (n=68): time 3.813e-06/0.5645, allocations: 0 / 466.5 MB, free: 6.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=86): time 0.004829/0.5694, allocations: 1.645 MB / 468.1 MB, free: 4.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.564e-05/0.5694, allocations: 89.53 kB / 468.2 MB, free: 4.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.571, allocations: 0.8051 MB / 469 MB, free: 3.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.54e-05/0.5711, allocations: 41.7 kB / 469 MB, free: 3.863 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004932/0.5716, allocations: 0.5108 MB / 469.5 MB, free: 3.344 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003009/0.5719, allocations: 283.8 kB / 469.8 MB, free: 3.062 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.532e-05/0.572, allocations: 19.94 kB / 469.8 MB, free: 3.043 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.5722, allocations: 345.9 kB / 470.2 MB, free: 2.699 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008106/0.573, allocations: 309.9 kB / 470.5 MB, free: 2.398 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009471/0.574, allocations: 452.1 kB / 470.9 MB, free: 1.902 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008759/0.5749, allocations: 339.1 kB / 471.3 MB, free: 1.574 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.5749, allocations: 3.938 kB / 471.3 MB, free: 1.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002256/0.5772, allocations: 0.9126 MB / 472.2 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.5772, allocations: 8 kB / 472.2 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.5772, allocations: 4 kB / 472.2 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.5773, allocations: 8 kB / 472.2 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.5791, allocations: 348.1 kB / 472.5 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.419e-05/0.5792, allocations: 15.92 kB / 472.5 MB, free: 284 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.5803, allocations: 115.9 kB / 472.7 MB, free: 168 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.5805, allocations: 39.98 kB / 472.7 MB, free: 128 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.0002601/0.5807, allocations: 160.8 kB / 472.9 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.581, allocations: 98.78 kB / 473 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009263/0.5819, allocations: 362.2 kB / 473.3 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.582, allocations: 12 kB / 473.3 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.582, allocations: 4 kB / 473.3 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.582, allocations: 3.984 kB / 473.3 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006215/0.5882, allocations: 2.869 MB / 476.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/0.5883, allocations: 8 kB / 476.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/0.5896, allocations: 271.8 kB / 476.5 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.542e-05/0.5897, allocations: 16 kB / 476.5 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.252e-05/0.5898, allocations: 31.98 kB / 476.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-05/0.5898, allocations: 19.94 kB / 476.5 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.888e-05/0.5898, allocations: 15.94 kB / 476.5 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/0.5921, allocations: 1.681 MB / 478.2 MB, free: 9.938 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/0.5925, allocations: 207.8 kB / 478.4 MB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/0.5927, allocations: 27.98 kB / 478.5 MB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.5938, allocations: 83.94 kB / 478.5 MB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.594, allocations: 87.7 kB / 478.6 MB, free: 9.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.409e-05/0.5941, allocations: 43.98 kB / 478.7 MB, free: 9.477 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001202/0.5953, allocations: 0.628 MB / 479.3 MB, free: 8.852 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.69e-07/0.5953, allocations: 0 / 479.3 MB, free: 8.852 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001205/0.5965, allocations: 235.9 kB / 479.5 MB, free: 8.621 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.001395/0.5979, allocations: 412.7 kB / 479.9 MB, free: 8.309 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001724/0.5997, allocations: 0.6947 MB / 480.6 MB, free: 7.617 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.439e-06/0.5997, allocations: 0 / 480.6 MB, free: 7.617 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009674/0.6007, allocations: 387.5 kB / 481 MB, free: 7.242 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.602, allocations: 195.1 kB / 481.2 MB, free: 7.051 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003797/0.6058, allocations: 1.558 MB / 482.8 MB, free: 5.328 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009379/0.6068, allocations: 1.053 MB / 483.8 MB, free: 4.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008531/0.6076, allocations: 127.2 kB / 483.9 MB, free: 4.121 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003593/0.608, allocations: 79.41 kB / 484 MB, free: 4.043 MB / 394.7 MB Notification: Performance of SimCode: time 1.548e-06/0.608, allocations: 0 / 484 MB, free: 4.043 MB / 394.7 MB Notification: Performance of Templates: time 0.02969/0.6377, allocations: 10.57 MB / 494.6 MB, free: 9.574 MB / 410.7 MB