Running command: translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadModel(Modelica): time 2.234/2.234, allocations: 224.8 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.87e-05/2.858e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1085, allocations: 50.4 MB / 345 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002449/0.111, allocations: 1.396 MB / 346.4 MB, free: 7.555 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.1122, allocations: 0.515 MB / 346.9 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.458e-05/0.1123, allocations: 4 kB / 346.9 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.064e-05/0.1124, allocations: 7.922 kB / 346.9 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.1125, allocations: 39.84 kB / 346.9 MB, free: 6.984 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.1127, allocations: 31.95 kB / 347 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.1129, allocations: 71.83 kB / 347 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.113, allocations: 15.98 kB / 347 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.613e-05/0.1131, allocations: 27.92 kB / 347.1 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.1132, allocations: 39.84 kB / 347.1 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.1133, allocations: 23.98 kB / 347.1 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.1134, allocations: 4 kB / 347.1 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.121e-05/0.1134, allocations: 15.92 kB / 347.2 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.649e-05/0.1135, allocations: 15.94 kB / 347.2 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.1137, allocations: 84.06 kB / 347.3 MB, free: 6.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1137, allocations: 0 / 347.3 MB, free: 6.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1137, allocations: 0 / 347.3 MB, free: 6.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1137, allocations: 4 kB / 347.3 MB, free: 6.656 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006205/0.1144, allocations: 387.3 kB / 347.6 MB, free: 6.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1144, allocations: 8.031 kB / 347.6 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002495/0.1147, allocations: 31.84 kB / 347.7 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.1149, allocations: 190.9 kB / 347.9 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.115, allocations: 8.188 kB / 347.9 MB, free: 5.957 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.238e-05/0.115, allocations: 11.91 kB / 347.9 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.1153, allocations: 93.97 kB / 348 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.1153, allocations: 4 kB / 348 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.1153, allocations: 4 kB / 348 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1154, allocations: 0 / 348 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.1156, allocations: 60.48 kB / 348 MB, free: 5.785 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.1166, allocations: 490 kB / 348.5 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/0.1169, allocations: 78.53 kB / 348.6 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.117, allocations: 4.047 kB / 348.6 MB, free: 5.152 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.117, allocations: 34.55 kB / 348.6 MB, free: 5.109 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 2.354e-06/0.117, allocations: 0 / 348.6 MB, free: 5.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003201/0.1174, allocations: 105.7 kB / 348.7 MB, free: 5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.1174, allocations: 51.41 kB / 348.8 MB, free: 4.938 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.1175, allocations: 116.9 kB / 348.9 MB, free: 4.816 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.1176, allocations: 25.7 kB / 348.9 MB, free: 4.785 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.1177, allocations: 182.2 kB / 349.1 MB, free: 4.605 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.1177, allocations: 31.55 kB / 349.1 MB, free: 4.574 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.1177, allocations: 0 / 349.1 MB, free: 4.574 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1179, allocations: 322.8 kB / 349.4 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.957e-05/0.118, allocations: 23.98 kB / 349.5 MB, free: 4.227 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.1181, allocations: 47.42 kB / 349.5 MB, free: 4.168 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.266e-05/0.1182, allocations: 28 kB / 349.5 MB, free: 4.141 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1182, allocations: 3.938 kB / 349.6 MB, free: 4.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002573/0.1185, allocations: 105.6 kB / 349.7 MB, free: 4.027 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1185, allocations: 8.031 kB / 349.7 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1185, allocations: 0 / 349.7 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1185, allocations: 4 kB / 349.7 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.1188, allocations: 27.92 kB / 349.7 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1188, allocations: 0 / 349.7 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.1189, allocations: 7.906 kB / 349.7 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.119, allocations: 11.92 kB / 349.7 MB, free: 3.969 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001267/0.1191, allocations: 121.8 kB / 349.8 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.1191, allocations: 8 kB / 349.8 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.255e-05/0.1192, allocations: 16.38 kB / 349.9 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.1192, allocations: 0 / 349.9 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1192, allocations: 0 / 349.9 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1192, allocations: 0 / 349.9 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.1196, allocations: 209.4 kB / 350.1 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1196, allocations: 0 / 350.1 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.1198, allocations: 27.92 kB / 350.1 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1198, allocations: 0 / 350.1 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.1199, allocations: 0 / 350.1 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.1199, allocations: 0 / 350.1 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1199, allocations: 4 kB / 350.1 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.1202, allocations: 203.4 kB / 350.3 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/0.1203, allocations: 84.97 kB / 350.4 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.1204, allocations: 8 kB / 350.4 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.1205, allocations: 0 / 350.4 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.1205, allocations: 12.03 kB / 350.4 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.1205, allocations: 0 / 350.4 MB, free: 3.195 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.953e-05/0.1206, allocations: 99.64 kB / 350.5 MB, free: 3.098 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1206, allocations: 0 / 350.5 MB, free: 3.098 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003197/0.121, allocations: 24 kB / 350.5 MB, free: 3.074 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001405/0.1211, allocations: 99.25 kB / 350.6 MB, free: 2.965 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002107/0.1213, allocations: 59.92 kB / 350.7 MB, free: 2.906 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1214, allocations: 288 / 350.7 MB, free: 2.906 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.187e-05/0.1214, allocations: 23.98 kB / 350.7 MB, free: 2.883 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.1218, allocations: 23.83 kB / 350.7 MB, free: 2.863 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.1229, allocations: 0.5492 MB / 351.3 MB, free: 2.277 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.1233, allocations: 0.7043 MB / 352 MB, free: 1.547 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.347e-05/0.1233, allocations: 11.44 kB / 352 MB, free: 1.535 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1233, allocations: 0 / 352 MB, free: 1.535 MB / 282.7 MB Notification: Performance of Templates: time 0.003778/0.1271, allocations: 1.253 MB / 353.2 MB, free: 292 kB / 282.7 MB