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_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadModel(Modelica): time 1.747/1.747, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.719e-05/2.713e-05, allocations: 0 / 228.1 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08526/0.08532, allocations: 38.77 MB / 266.9 MB, free: 488 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008833/0.09422, allocations: 4.958 MB / 271.9 MB, free: 11.49 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005217/0.0995, allocations: 1.817 MB / 273.7 MB, free: 9.668 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009903/0.1006, allocations: 27.94 kB / 273.7 MB, free: 9.641 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007735/0.1013, allocations: 274.7 kB / 274 MB, free: 9.371 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.1029, allocations: 446.6 kB / 274.4 MB, free: 8.934 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009775/0.1039, allocations: 223.6 kB / 274.6 MB, free: 8.715 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00234/0.1063, allocations: 0.7177 MB / 275.4 MB, free: 7.992 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006145/0.107, allocations: 263.3 kB / 275.6 MB, free: 7.734 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008/0.1078, allocations: 394.9 kB / 276 MB, free: 7.348 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008922/0.1087, allocations: 486.4 kB / 276.5 MB, free: 6.871 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/0.109, allocations: 59.94 kB / 276.5 MB, free: 6.812 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.1092, allocations: 52 kB / 276.6 MB, free: 6.762 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002724/0.1095, allocations: 191.2 kB / 276.8 MB, free: 6.574 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002989/0.1098, allocations: 100 kB / 276.9 MB, free: 6.477 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002148/0.1119, allocations: 1.5 MB / 278.4 MB, free: 4.973 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.112, allocations: 3.938 kB / 278.4 MB, free: 4.969 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.112, allocations: 0 / 278.4 MB, free: 4.969 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.923e-05/0.112, allocations: 0 / 278.4 MB, free: 4.969 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.004306/0.1163, allocations: 1.285 MB / 279.7 MB, free: 3.625 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.1164, allocations: 8.031 kB / 279.7 MB, free: 3.617 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003194/0.1167, allocations: 126.5 kB / 279.8 MB, free: 3.492 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/0.1185, allocations: 0.6795 MB / 280.5 MB, free: 2.77 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002013/0.1187, allocations: 77.98 kB / 280.6 MB, free: 2.691 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/0.1189, allocations: 96 kB / 280.6 MB, free: 2.598 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003387/0.1223, allocations: 1.021 MB / 281.7 MB, free: 1.566 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.277e-05/0.1224, allocations: 7.938 kB / 281.7 MB, free: 1.559 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/0.1226, allocations: 36 kB / 281.7 MB, free: 1.523 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.155e-05/0.1226, allocations: 24 kB / 281.7 MB, free: 1.5 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003829/0.1265, allocations: 0.9421 MB / 282.7 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009274/0.1358, allocations: 3.668 MB / 286.3 MB, free: 12.71 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006158/0.142, allocations: 1.106 MB / 287.4 MB, free: 11.59 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.1422, allocations: 8.188 kB / 287.5 MB, free: 11.58 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.1422, allocations: 39.34 kB / 287.5 MB, free: 11.54 MB / 250.7 MB Notification: Performance of pre-optimization done (n=58): time 3.567e-06/0.1422, allocations: 4 kB / 287.5 MB, free: 11.53 MB / 250.7 MB Notification: Performance of matching and sorting (n=67): time 0.00913/0.1514, allocations: 1.965 MB / 289.5 MB, free: 9.559 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.219e-05/0.1515, allocations: 89.09 kB / 289.6 MB, free: 9.453 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/0.1534, allocations: 0.8678 MB / 290.4 MB, free: 8.578 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.1535, allocations: 37.7 kB / 290.5 MB, free: 8.535 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005809/0.1541, allocations: 0.5182 MB / 291 MB, free: 8.008 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/0.1544, allocations: 232.6 kB / 291.2 MB, free: 7.777 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.151e-05/0.1545, allocations: 16 kB / 291.2 MB, free: 7.762 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1547, allocations: 353.8 kB / 291.6 MB, free: 7.41 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.1565, allocations: 381.8 kB / 291.9 MB, free: 7.039 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/0.1584, allocations: 0.55 MB / 292.5 MB, free: 6.414 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001869/0.1603, allocations: 448.9 kB / 292.9 MB, free: 5.973 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.1604, allocations: 4 kB / 292.9 MB, free: 5.969 MB / 250.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004456/0.1648, allocations: 1.114 MB / 294 MB, free: 4.84 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.97e-05/0.1649, allocations: 37.69 kB / 294.1 MB, free: 4.797 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.165, allocations: 7.938 kB / 294.1 MB, free: 4.789 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.51e-05/0.165, allocations: 12 kB / 294.1 MB, free: 4.777 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002551/0.1676, allocations: 319.6 kB / 294.4 MB, free: 4.465 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-05/0.1676, allocations: 8 kB / 294.4 MB, free: 4.457 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.1693, allocations: 95.92 kB / 294.5 MB, free: 4.363 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.1694, allocations: 39.98 kB / 294.5 MB, free: 4.324 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.0006898/0.1701, allocations: 285.7 kB / 294.8 MB, free: 4.035 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002622/0.1704, allocations: 98.78 kB / 294.9 MB, free: 3.938 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/0.1722, allocations: 430 kB / 295.3 MB, free: 3.512 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.1722, allocations: 4 kB / 295.3 MB, free: 3.508 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.1722, allocations: 4 kB / 295.4 MB, free: 3.504 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.1723, allocations: 3.984 kB / 295.4 MB, free: 3.5 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00692/0.1792, allocations: 2.326 MB / 297.7 MB, free: 1.031 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.1793, allocations: 8 kB / 297.7 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001809/0.1811, allocations: 243.7 kB / 297.9 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.101e-05/0.1811, allocations: 8 kB / 297.9 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.655e-05/0.1812, allocations: 23.95 kB / 298 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.263e-05/0.1813, allocations: 15.98 kB / 298 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.319e-05/0.1813, allocations: 11.94 kB / 298 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2677/0.449, allocations: 1.393 MB / 299.4 MB, free: 28.29 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003723/0.4494, allocations: 193.2 kB / 299.6 MB, free: 28.2 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/0.4497, allocations: 21.5 kB / 299.6 MB, free: 28.2 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.4508, allocations: 63.78 kB / 299.7 MB, free: 28.2 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.451, allocations: 62.91 kB / 299.7 MB, free: 28.2 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.385e-05/0.4511, allocations: 31.41 kB / 299.7 MB, free: 28.2 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001457/0.4526, allocations: 0.6731 MB / 300.4 MB, free: 28.11 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4526, allocations: 0 / 300.4 MB, free: 28.11 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001226/0.4538, allocations: 205.3 kB / 300.6 MB, free: 28.11 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.000607/0.4545, allocations: 218.4 kB / 300.8 MB, free: 28 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003628/0.4581, allocations: 0.8598 MB / 301.7 MB, free: 27.9 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/0.4582, allocations: 2.094 kB / 301.7 MB, free: 27.9 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001603/0.4598, allocations: 392.8 kB / 302.1 MB, free: 27.81 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.4614, allocations: 173.2 kB / 302.2 MB, free: 27.76 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005107/0.4666, allocations: 2.24 MB / 304.5 MB, free: 26.39 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008312/0.4675, allocations: 1.041 MB / 305.5 MB, free: 25.67 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.001133/0.4686, allocations: 121.6 kB / 305.6 MB, free: 25.64 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003833/0.469, allocations: 69 kB / 305.7 MB, free: 25.63 MB / 250.7 MB Notification: Performance of SimCode: time 1.092e-06/0.469, allocations: 0 / 305.7 MB, free: 25.63 MB / 250.7 MB Notification: Performance of Templates: time 0.02984/0.4989, allocations: 9.326 MB / 315 MB, free: 22.3 MB / 250.7 MB