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.1_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadModel(Modelica): time 1.835/1.835, allocations: 171.1 MB / 186.3 MB, free: 1.422 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.77e-05/2.769e-05, allocations: 2.188 kB / 228.1 MB, free: 8 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08474/0.08479, allocations: 38.78 MB / 266.9 MB, free: 1.133 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.01156/0.09642, allocations: 4.952 MB / 271.9 MB, free: 12.15 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004806/0.1013, allocations: 1.817 MB / 273.7 MB, free: 10.33 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008823/0.1022, allocations: 28 kB / 273.7 MB, free: 10.3 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008063/0.103, allocations: 274.6 kB / 274 MB, free: 10.03 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.1046, allocations: 446.7 kB / 274.4 MB, free: 9.594 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009606/0.1056, allocations: 223.6 kB / 274.6 MB, free: 9.375 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001814/0.1075, allocations: 0.7216 MB / 275.3 MB, free: 8.648 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005769/0.1081, allocations: 263.2 kB / 275.6 MB, free: 8.391 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008056/0.1089, allocations: 387 kB / 276 MB, free: 8.012 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009119/0.1098, allocations: 490.4 kB / 276.5 MB, free: 7.531 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.1101, allocations: 55.98 kB / 276.5 MB, free: 7.477 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.1103, allocations: 51.98 kB / 276.6 MB, free: 7.426 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002701/0.1106, allocations: 195.2 kB / 276.8 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.1109, allocations: 100 kB / 276.8 MB, free: 7.137 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.1132, allocations: 1.5 MB / 278.3 MB, free: 5.633 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1132, allocations: 0 / 278.3 MB, free: 5.633 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1132, allocations: 0 / 278.3 MB, free: 5.633 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.596e-05/0.1133, allocations: 0 / 278.3 MB, free: 5.633 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004333/0.1176, allocations: 1.292 MB / 279.6 MB, free: 4.281 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.1177, allocations: 12.03 kB / 279.7 MB, free: 4.27 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003771/0.1181, allocations: 130.5 kB / 279.8 MB, free: 4.141 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/0.1198, allocations: 0.6678 MB / 280.4 MB, free: 3.43 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.1201, allocations: 77.98 kB / 280.5 MB, free: 3.352 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002406/0.1203, allocations: 99.94 kB / 280.6 MB, free: 3.254 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003403/0.1237, allocations: 1.025 MB / 281.6 MB, free: 2.219 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-05/0.1238, allocations: 3.984 kB / 281.6 MB, free: 2.215 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.124, allocations: 36 kB / 281.7 MB, free: 2.18 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-05/0.124, allocations: 24 kB / 281.7 MB, free: 2.156 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003786/0.1278, allocations: 0.942 MB / 282.7 MB, free: 1.219 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009366/0.1372, allocations: 3.656 MB / 286.3 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006071/0.1433, allocations: 1.099 MB / 287.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.1435, allocations: 8.188 kB / 287.4 MB, free: 12.26 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.062e-05/0.1436, allocations: 47.28 kB / 287.5 MB, free: 12.2 MB / 250.7 MB Notification: Performance of pre-optimization done (n=58): time 3.487e-06/0.1436, allocations: 0 / 287.5 MB, free: 12.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=67): time 0.009329/0.1529, allocations: 1.968 MB / 289.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.153, allocations: 85.11 kB / 289.5 MB, free: 10.13 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001847/0.1549, allocations: 0.8716 MB / 290.4 MB, free: 9.25 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.155, allocations: 33.7 kB / 290.4 MB, free: 9.211 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004873/0.1555, allocations: 0.5285 MB / 290.9 MB, free: 8.676 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002867/0.1558, allocations: 232.6 kB / 291.2 MB, free: 8.445 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.524e-05/0.1559, allocations: 20 kB / 291.2 MB, free: 8.426 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1561, allocations: 346.8 kB / 291.5 MB, free: 8.078 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001822/0.1579, allocations: 381.8 kB / 291.9 MB, free: 7.707 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/0.1599, allocations: 0.5616 MB / 292.5 MB, free: 7.07 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.1618, allocations: 444.9 kB / 292.9 MB, free: 6.633 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.1618, allocations: 0 / 292.9 MB, free: 6.633 MB / 250.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004255/0.1661, allocations: 1.06 MB / 294 MB, free: 5.559 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.342e-05/0.1662, allocations: 37.69 kB / 294 MB, free: 5.516 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.1662, allocations: 8 kB / 294 MB, free: 5.508 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.023e-05/0.1663, allocations: 8 kB / 294 MB, free: 5.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/0.1687, allocations: 323.6 kB / 294.3 MB, free: 5.184 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.335e-05/0.1688, allocations: 15.94 kB / 294.3 MB, free: 5.168 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.1704, allocations: 87.92 kB / 294.4 MB, free: 5.082 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.1705, allocations: 39.98 kB / 294.5 MB, free: 5.043 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 108 * 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.0006741/0.1712, allocations: 293.7 kB / 294.8 MB, free: 4.746 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/0.1715, allocations: 98.78 kB / 294.9 MB, free: 4.648 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/0.1732, allocations: 426 kB / 295.3 MB, free: 4.227 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.1732, allocations: 12 kB / 295.3 MB, free: 4.215 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.1733, allocations: 0 / 295.3 MB, free: 4.215 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.1733, allocations: 7.922 kB / 295.3 MB, free: 4.207 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0066/0.1799, allocations: 2.326 MB / 297.6 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.18, allocations: 4 kB / 297.6 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001803/0.1818, allocations: 235.9 kB / 297.8 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.277e-05/0.1818, allocations: 12 kB / 297.9 MB, free: 1.492 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-05/0.1819, allocations: 23.95 kB / 297.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.828e-05/0.1819, allocations: 15.92 kB / 297.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-05/0.182, allocations: 15.94 kB / 297.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2217/0.4037, allocations: 1.392 MB / 299.3 MB, free: 28.61 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004767/0.4042, allocations: 190.3 kB / 299.5 MB, free: 28.52 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002694/0.4045, allocations: 19.83 kB / 299.5 MB, free: 28.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/0.4064, allocations: 62.28 kB / 299.6 MB, free: 28.52 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.4066, allocations: 67.69 kB / 299.6 MB, free: 28.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-05/0.4067, allocations: 28.36 kB / 299.7 MB, free: 28.52 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.00161/0.4084, allocations: 0.6689 MB / 300.3 MB, free: 28.43 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.4084, allocations: 3.281 kB / 300.3 MB, free: 28.43 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001478/0.4099, allocations: 205.1 kB / 300.5 MB, free: 28.43 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.0006415/0.4106, allocations: 220.3 kB / 300.8 MB, free: 28.32 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003514/0.4141, allocations: 0.8639 MB / 301.6 MB, free: 28.24 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/0.4141, allocations: 1 kB / 301.6 MB, free: 28.24 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001658/0.4158, allocations: 394 kB / 302 MB, free: 28.21 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.4177, allocations: 165.1 kB / 302.2 MB, free: 28.21 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005632/0.4233, allocations: 2.284 MB / 304.4 MB, free: 26.81 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000823/0.4242, allocations: 1.031 MB / 305.5 MB, free: 26.11 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000625/0.4249, allocations: 81.86 kB / 305.6 MB, free: 26.09 MB / 250.7 MB Notification: Performance of SimCode: time 1.262e-06/0.4249, allocations: 3.062 kB / 305.6 MB, free: 26.09 MB / 250.7 MB Notification: Performance of Templates: time 0.03073/0.4556, allocations: 12.34 MB / 317.9 MB, free: 20.89 MB / 250.7 MB