Running command: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadModel(Modelica): time 2.189/2.189, allocations: 224.7 MB / 241.1 MB, free: 1.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.538e-05/2.537e-05, allocations: 4 kB / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1117, allocations: 50.41 MB / 345 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003186/0.1149, allocations: 1.934 MB / 346.9 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007492/0.1157, allocations: 251.2 kB / 347.2 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.1159, allocations: 11.94 kB / 347.2 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.079e-05/0.116, allocations: 31.77 kB / 347.2 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003038/0.1163, allocations: 99.64 kB / 347.3 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.1165, allocations: 43.95 kB / 347.3 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.1169, allocations: 171.6 kB / 347.5 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.1171, allocations: 44.97 kB / 347.5 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.1172, allocations: 87.77 kB / 347.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.1175, allocations: 99.66 kB / 347.7 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.233e-05/0.1175, allocations: 12 kB / 347.7 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.1176, allocations: 8 kB / 347.8 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.406e-05/0.1177, allocations: 43.78 kB / 347.8 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.319e-05/0.1178, allocations: 31.94 kB / 347.8 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.1181, allocations: 227.6 kB / 348 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1181, allocations: 0 / 348 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1181, allocations: 0 / 348 MB, free: 5.871 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.1182, allocations: 0 / 348 MB, free: 5.871 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001016/0.1192, allocations: 0.5031 MB / 348.6 MB, free: 5.316 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.234e-05/0.1193, allocations: 12.03 kB / 348.6 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.1194, allocations: 39.58 kB / 348.6 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.1197, allocations: 238.6 kB / 348.8 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.1198, allocations: 20.56 kB / 348.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.102e-05/0.1199, allocations: 24 kB / 348.9 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006045/0.1205, allocations: 242.6 kB / 349.1 MB, free: 4.703 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.1205, allocations: 15.83 kB / 349.1 MB, free: 4.688 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.1206, allocations: 8 kB / 349.1 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.1206, allocations: 8 kB / 349.1 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000481/0.1211, allocations: 179.8 kB / 349.3 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.1226, allocations: 0.7459 MB / 350.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006322/0.1233, allocations: 272 kB / 350.3 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.1233, allocations: 8 kB / 350.3 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.1234, allocations: 43.14 kB / 350.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.976e-06/0.1234, allocations: 0 / 350.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=48): time 0.004093/0.1275, allocations: 1.712 MB / 352.1 MB, free: 1.469 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.1276, allocations: 93.06 kB / 352.2 MB, free: 1.359 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.1278, allocations: 161.3 kB / 352.3 MB, free: 1.191 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.1279, allocations: 37.7 kB / 352.4 MB, free: 1.148 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.128, allocations: 203.1 kB / 352.6 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.1282, allocations: 169.5 kB / 352.7 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.1282, allocations: 8 kB / 352.8 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1284, allocations: 330.8 kB / 353.1 MB, free: 452 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.1287, allocations: 105 kB / 353.2 MB, free: 348 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003385/0.129, allocations: 157.5 kB / 353.3 MB, free: 176 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.1294, allocations: 122.3 kB / 353.5 MB, free: 60 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.1294, allocations: 4 kB / 353.5 MB, free: 56 kB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008588/0.1303, allocations: 350.1 kB / 353.8 MB, free: 15.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.1303, allocations: 4 kB / 353.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1303, allocations: 4 kB / 353.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.1304, allocations: 4.062 kB / 353.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007455/0.1311, allocations: 107.8 kB / 353.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.1311, allocations: 4 kB / 353.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.1314, allocations: 11.95 kB / 353.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.1314, allocations: 19.94 kB / 353.9 MB, free: 15.55 MB / 298.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 (58): * Single equations (assignments): 58 * 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.0002054/0.1316, allocations: 153.7 kB / 354.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1318, allocations: 31.62 kB / 354.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.1319, allocations: 37.86 kB / 354.2 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.1319, allocations: 4 kB / 354.2 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.1319, allocations: 4 kB / 354.2 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.1319, allocations: 7.984 kB / 354.2 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.1339, allocations: 0.9538 MB / 355.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.1339, allocations: 4 kB / 355.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008288/0.1348, allocations: 95.89 kB / 355.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/0.1348, allocations: 0 / 355.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/0.1348, allocations: 8 kB / 355.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.408e-06/0.1348, allocations: 4 kB / 355.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1349, allocations: 0 / 355.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.1361, allocations: 0.6719 MB / 355.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.1362, allocations: 104.8 kB / 356 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.671e-05/0.1363, allocations: 12 kB / 356 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.1366, allocations: 19.89 kB / 356.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.818e-05/0.1367, allocations: 23.97 kB / 356.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.1367, allocations: 12 kB / 356.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001523/0.1369, allocations: 136.3 kB / 356.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1369, allocations: 0 / 356.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000513/0.1374, allocations: 80 kB / 356.3 MB, free: 13.07 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * 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.0001725/0.1376, allocations: 115.1 kB / 356.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007714/0.1384, allocations: 293.3 kB / 356.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1384, allocations: 0 / 356.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003554/0.1388, allocations: 155.8 kB / 356.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007631/0.1396, allocations: 47.95 kB / 356.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.1421, allocations: 1.228 MB / 358.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.1425, allocations: 0.7845 MB / 358.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.1427, allocations: 31.44 kB / 358.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1427, allocations: 0 / 358.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of Templates: time 0.008547/0.1513, allocations: 3.576 MB / 362.5 MB, free: 6.781 MB / 298.7 MB