Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadModel(Modelica): time 1.187/1.187, allocations: 111.1 MB / 126.3 MB, free: 6.402 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.628e-05/2.628e-05, allocations: 4 kB / 154.5 MB, free: 2.828 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05527/0.05532, allocations: 25.18 MB / 179.7 MB, free: 9.609 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007984/0.06338, allocations: 4.642 MB / 184.3 MB, free: 4.949 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.004207/0.06764, allocations: 1.555 MB / 185.9 MB, free: 3.391 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009275/0.06863, allocations: 31.94 kB / 185.9 MB, free: 3.359 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007929/0.06944, allocations: 270.6 kB / 186.2 MB, free: 3.094 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.07101, allocations: 422.8 kB / 186.6 MB, free: 2.68 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009291/0.07197, allocations: 215.6 kB / 186.8 MB, free: 2.469 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.002036/0.07402, allocations: 0.702 MB / 187.5 MB, free: 1.766 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006609/0.07474, allocations: 251.3 kB / 187.8 MB, free: 1.516 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009022/0.07566, allocations: 391 kB / 188.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009976/0.07669, allocations: 478.4 kB / 188.6 MB, free: 0.6641 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002906/0.077, allocations: 52 kB / 188.7 MB, free: 0.6133 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002287/0.07724, allocations: 44 kB / 188.7 MB, free: 0.5703 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.07752, allocations: 191.2 kB / 188.9 MB, free: 392 kB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002974/0.07783, allocations: 100 kB / 189 MB, free: 292 kB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002258/0.0801, allocations: 1.453 MB / 190.4 MB, free: 14.83 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.08014, allocations: 0 / 190.4 MB, free: 14.83 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.08016, allocations: 4 kB / 190.4 MB, free: 14.82 MB / 170.7 MB Notification: Performance of Transformations before backend: time 5.995e-05/0.08023, allocations: 0 / 190.4 MB, free: 14.82 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.004627/0.08486, allocations: 1.24 MB / 191.7 MB, free: 13.53 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.08493, allocations: 8.031 kB / 191.7 MB, free: 13.52 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004573/0.08539, allocations: 126.5 kB / 191.8 MB, free: 13.4 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/0.08733, allocations: 0.6407 MB / 192.5 MB, free: 12.71 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002232/0.08758, allocations: 81.95 kB / 192.5 MB, free: 12.63 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002848/0.08788, allocations: 91.91 kB / 192.6 MB, free: 12.54 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003739/0.09163, allocations: 1.036 MB / 193.7 MB, free: 11.5 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.377e-05/0.09172, allocations: 8 kB / 193.7 MB, free: 11.49 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.09188, allocations: 36 kB / 193.7 MB, free: 11.45 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/0.09192, allocations: 20 kB / 193.7 MB, free: 11.43 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004003/0.09594, allocations: 0.9499 MB / 194.7 MB, free: 10.48 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009782/0.1058, allocations: 3.625 MB / 198.3 MB, free: 6.684 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006155/0.112, allocations: 1.119 MB / 199.4 MB, free: 5.543 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.1121, allocations: 12.47 kB / 199.4 MB, free: 5.531 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.1122, allocations: 47.03 kB / 199.5 MB, free: 5.477 MB / 170.7 MB Notification: Performance of pre-optimization done (n=55): time 2.855e-06/0.1122, allocations: 0 / 199.5 MB, free: 5.477 MB / 170.7 MB Notification: Performance of matching and sorting (n=64): time 0.009582/0.1218, allocations: 2.084 MB / 201.6 MB, free: 3.387 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.1219, allocations: 85.11 kB / 201.6 MB, free: 3.285 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/0.1238, allocations: 0.7855 MB / 202.4 MB, free: 2.488 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001681/0.124, allocations: 41.7 kB / 202.5 MB, free: 2.441 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005355/0.1245, allocations: 0.5128 MB / 203 MB, free: 1.922 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003465/0.1249, allocations: 220.8 kB / 203.2 MB, free: 1.703 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-05/0.125, allocations: 16 kB / 203.2 MB, free: 1.688 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.1252, allocations: 342.8 kB / 203.5 MB, free: 1.344 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/0.127, allocations: 405.8 kB / 203.9 MB, free: 0.9492 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/0.1291, allocations: 0.5505 MB / 204.5 MB, free: 348 kB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1584/0.2875, allocations: 435.4 kB / 204.9 MB, free: 22.56 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.79e-05/0.2876, allocations: 6 kB / 204.9 MB, free: 22.56 MB / 170.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00664/0.2942, allocations: 1.058 MB / 206 MB, free: 22.5 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.747e-05/0.2944, allocations: 7.469 kB / 206 MB, free: 22.5 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-05/0.2944, allocations: 4.641 kB / 206 MB, free: 22.5 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.044e-05/0.2945, allocations: 10.38 kB / 206 MB, free: 22.5 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003675/0.2982, allocations: 315.5 kB / 206.3 MB, free: 22.49 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.214e-05/0.2983, allocations: 11.47 kB / 206.3 MB, free: 22.49 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/0.3007, allocations: 93.98 kB / 206.4 MB, free: 22.49 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002541/0.301, allocations: 35.78 kB / 206.5 MB, free: 22.49 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 5 (comparisonWithFEA.tableID,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 (105): * Single equations (assignments): 105 * 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.000976/0.302, allocations: 281.6 kB / 206.7 MB, free: 22.33 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004338/0.3025, allocations: 101.4 kB / 206.8 MB, free: 22.33 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00274/0.3053, allocations: 494 kB / 207.3 MB, free: 22.17 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/0.3053, allocations: 6.75 kB / 207.3 MB, free: 22.17 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.3054, allocations: 0 / 207.3 MB, free: 22.17 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.914e-05/0.3054, allocations: 7.312 kB / 207.3 MB, free: 22.17 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/0.3157, allocations: 2.313 MB / 209.6 MB, free: 20.93 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.403e-05/0.3158, allocations: 5.5 kB / 209.6 MB, free: 20.93 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002649/0.3184, allocations: 229.7 kB / 209.9 MB, free: 20.91 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.796e-05/0.3185, allocations: 10.12 kB / 209.9 MB, free: 20.91 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001849/0.3187, allocations: 19.5 kB / 209.9 MB, free: 20.9 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.772e-05/0.3188, allocations: 14.39 kB / 209.9 MB, free: 20.89 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-05/0.3188, allocations: 10.81 kB / 209.9 MB, free: 20.89 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004904/0.3237, allocations: 1.382 MB / 211.3 MB, free: 19.84 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006015/0.3244, allocations: 181.8 kB / 211.5 MB, free: 19.7 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004612/0.3249, allocations: 17.53 kB / 211.5 MB, free: 19.7 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/0.3268, allocations: 66.88 kB / 211.6 MB, free: 19.68 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003277/0.3272, allocations: 62.59 kB / 211.6 MB, free: 19.66 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/0.3274, allocations: 25.59 kB / 211.6 MB, free: 19.66 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.002303/0.3297, allocations: 0.6022 MB / 212.2 MB, free: 19.39 MB / 170.7 MB Notification: Performance of sort global known variables: time 9.42e-07/0.3298, allocations: 0 / 212.2 MB, free: 19.39 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.002423/0.3322, allocations: 203.8 kB / 212.4 MB, free: 19.37 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 1 (comparisonWithFEA.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009145/0.3332, allocations: 167.7 kB / 212.6 MB, free: 19.25 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.005157/0.3384, allocations: 0.8504 MB / 213.5 MB, free: 18.99 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 1.915e-05/0.3385, allocations: 1.375 kB / 213.5 MB, free: 18.99 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002382/0.3409, allocations: 396.9 kB / 213.9 MB, free: 18.87 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/0.3435, allocations: 190 kB / 214 MB, free: 18.8 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006982/0.3506, allocations: 2.216 MB / 216.3 MB, free: 17.42 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009541/0.3516, allocations: 1.022 MB / 217.3 MB, free: 16.64 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000811/0.3524, allocations: 77.41 kB / 217.3 MB, free: 16.62 MB / 170.7 MB Notification: Performance of SimCode: time 1.804e-06/0.3525, allocations: 0 / 217.3 MB, free: 16.62 MB / 170.7 MB Notification: Performance of Templates: time 0.03645/0.3889, allocations: 12.15 MB / 229.5 MB, free: 5.883 MB / 170.7 MB