Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadModel(Modelica): time 1.089/1.089, allocations: 111.1 MB / 126.3 MB, free: 6.414 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.707e-05/2.703e-05, allocations: 4 kB / 154.5 MB, free: 2.828 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05688/0.05693, allocations: 25.18 MB / 179.7 MB, free: 9.609 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007958/0.06495, allocations: 4.619 MB / 184.3 MB, free: 4.973 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.004036/0.06904, allocations: 1.497 MB / 185.8 MB, free: 3.473 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000869/0.06996, allocations: 24 kB / 185.8 MB, free: 3.449 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005104/0.07049, allocations: 146.9 kB / 186 MB, free: 3.305 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.07196, allocations: 370.8 kB / 186.3 MB, free: 2.941 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009056/0.07289, allocations: 203.6 kB / 186.5 MB, free: 2.742 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.001919/0.07483, allocations: 0.6904 MB / 187.2 MB, free: 2.051 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006182/0.07549, allocations: 250.9 kB / 187.5 MB, free: 1.801 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008037/0.07631, allocations: 363 kB / 187.8 MB, free: 1.445 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008439/0.07717, allocations: 430.5 kB / 188.2 MB, free: 1.023 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000247/0.07744, allocations: 44 kB / 188.3 MB, free: 0.9805 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002071/0.07766, allocations: 47.94 kB / 188.3 MB, free: 0.9336 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002439/0.07791, allocations: 175.2 kB / 188.5 MB, free: 0.7617 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002963/0.07822, allocations: 96 kB / 188.6 MB, free: 0.668 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002222/0.08046, allocations: 1.418 MB / 190 MB, free: 15.25 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.0805, allocations: 0 / 190 MB, free: 15.25 MB / 170.7 MB Notification: Performance of FrontEnd: time 4.147e-06/0.08052, allocations: 0 / 190 MB, free: 15.25 MB / 170.7 MB Notification: Performance of Transformations before backend: time 5.676e-05/0.08059, allocations: 0 / 190 MB, free: 15.25 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.004422/0.08502, allocations: 1.185 MB / 191.2 MB, free: 14.01 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.08509, allocations: 8.031 kB / 191.2 MB, free: 14 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000447/0.08555, allocations: 118.7 kB / 191.3 MB, free: 13.88 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/0.08745, allocations: 0.6191 MB / 192 MB, free: 13.22 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002166/0.08771, allocations: 81.95 kB / 192 MB, free: 13.14 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002838/0.08801, allocations: 95.98 kB / 192.1 MB, free: 13.05 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003383/0.0914, allocations: 0.9935 MB / 193.1 MB, free: 12.05 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.275e-05/0.0915, allocations: 7.906 kB / 193.1 MB, free: 12.04 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.09165, allocations: 39.94 kB / 193.2 MB, free: 12 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/0.0917, allocations: 24 kB / 193.2 MB, free: 11.98 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00352/0.09523, allocations: 0.8913 MB / 194.1 MB, free: 11.08 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008885/0.1042, allocations: 3.278 MB / 197.4 MB, free: 7.68 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002518/0.1067, allocations: 0.773 MB / 198.1 MB, free: 6.891 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.1069, allocations: 16.72 kB / 198.1 MB, free: 6.875 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/0.1069, allocations: 39.28 kB / 198.2 MB, free: 6.828 MB / 170.7 MB Notification: Performance of pre-optimization done (n=87): time 3.396e-06/0.1069, allocations: 0 / 198.2 MB, free: 6.828 MB / 170.7 MB Notification: Performance of matching and sorting (n=111): time 0.01672/0.1237, allocations: 4.341 MB / 202.5 MB, free: 2.281 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.972e-05/0.1238, allocations: 89.61 kB / 202.6 MB, free: 2.176 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.1251, allocations: 0.5256 MB / 203.1 MB, free: 1.641 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001832/0.1253, allocations: 41.7 kB / 203.2 MB, free: 1.594 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/0.1257, allocations: 446.6 kB / 203.6 MB, free: 1.148 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005141/0.1263, allocations: 386.4 kB / 204 MB, free: 0.7656 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.215e-05/0.1264, allocations: 20 kB / 204 MB, free: 0.7461 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.1266, allocations: 354.8 kB / 204.4 MB, free: 400 kB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/0.1282, allocations: 390.4 kB / 204.7 MB, free: 12 kB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1435/0.2717, allocations: 0.5044 MB / 205.2 MB, free: 22.61 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.2734, allocations: 439.5 kB / 205.7 MB, free: 22.6 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.2735, allocations: 1.375 kB / 205.7 MB, free: 22.6 MB / 170.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003896/0.2774, allocations: 1.155 MB / 206.8 MB, free: 22.3 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.2774, allocations: 5.344 kB / 206.8 MB, free: 22.3 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.2775, allocations: 4.5 kB / 206.8 MB, free: 22.3 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005919/0.2781, allocations: 128.4 kB / 207 MB, free: 22.25 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/0.2801, allocations: 259.6 kB / 207.2 MB, free: 22.22 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004244/0.2843, allocations: 4.55 MB / 211.8 MB, free: 17.88 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.2857, allocations: 65.44 kB / 211.8 MB, free: 17.86 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.2859, allocations: 41.36 kB / 211.9 MB, free: 17.85 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (124): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005972/0.2865, allocations: 268 kB / 212.1 MB, free: 17.64 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.2867, allocations: 85.25 kB / 212.2 MB, free: 17.64 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/0.2892, allocations: 0.7729 MB / 213 MB, free: 17.29 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.2893, allocations: 11.09 kB / 213 MB, free: 17.29 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/0.2893, allocations: 3.734 kB / 213 MB, free: 17.29 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.007e-05/0.2893, allocations: 5.156 kB / 213 MB, free: 17.29 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006667/0.296, allocations: 2.637 MB / 215.6 MB, free: 15.89 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.2961, allocations: 6.562 kB / 215.7 MB, free: 15.89 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/0.2978, allocations: 211.1 kB / 215.9 MB, free: 15.87 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007043/0.2985, allocations: 162.2 kB / 216 MB, free: 15.8 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.195e-05/0.2986, allocations: 26.69 kB / 216 MB, free: 15.79 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004573/0.3032, allocations: 5.608 MB / 221.7 MB, free: 10.31 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3033, allocations: 1.188 kB / 221.7 MB, free: 10.31 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00511/0.3084, allocations: 1.786 MB / 223.4 MB, free: 9.43 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003158/0.3088, allocations: 155.9 kB / 223.6 MB, free: 9.281 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/0.309, allocations: 23.78 kB / 223.6 MB, free: 9.266 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.31, allocations: 65.44 kB / 223.7 MB, free: 9.246 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.3103, allocations: 72.98 kB / 223.8 MB, free: 9.234 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.124e-05/0.3104, allocations: 32.66 kB / 223.8 MB, free: 9.227 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0007751/0.3111, allocations: 426.9 kB / 224.2 MB, free: 9.023 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3112, allocations: 0 / 224.2 MB, free: 9.023 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.001217/0.3124, allocations: 246.5 kB / 224.4 MB, free: 8.992 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * 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 simulation (100): * Single equations (assignments): 96 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002165/0.3126, allocations: 136.2 kB / 224.6 MB, free: 8.875 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.00381/0.3164, allocations: 1.349 MB / 225.9 MB, free: 8.074 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.3165, allocations: 0 / 225.9 MB, free: 8.074 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002226/0.3187, allocations: 1.005 MB / 226.9 MB, free: 7.355 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.3202, allocations: 177.1 kB / 227.1 MB, free: 7.262 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005284/0.3255, allocations: 2.641 MB / 229.7 MB, free: 4.926 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005297/0.3261, allocations: 1.043 MB / 230.8 MB, free: 3.859 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005612/0.3267, allocations: 83.34 kB / 230.9 MB, free: 3.777 MB / 170.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3267, allocations: 0 / 230.9 MB, free: 3.777 MB / 170.7 MB Notification: Performance of Templates: time 0.04905/0.3758, allocations: 26.86 MB / 257.7 MB, free: 8.887 MB / 202.7 MB