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_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadModel(Modelica): time 1.8/1.8, allocations: 171.1 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.862e-05/2.853e-05, allocations: 0 / 228.1 MB, free: 8.004 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.103, allocations: 38.77 MB / 266.9 MB, free: 1.152 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004169/0.1072, allocations: 1.898 MB / 268.8 MB, free: 15.24 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009656/0.1082, allocations: 243.4 kB / 269 MB, free: 15 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.1085, allocations: 11.94 kB / 269 MB, free: 14.99 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.1086, allocations: 27.77 kB / 269.1 MB, free: 14.96 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000387/0.109, allocations: 99.75 kB / 269.2 MB, free: 14.86 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.1093, allocations: 43.91 kB / 269.2 MB, free: 14.82 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004522/0.1097, allocations: 175.5 kB / 269.4 MB, free: 14.65 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.11, allocations: 56.84 kB / 269.4 MB, free: 14.59 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.1102, allocations: 87.78 kB / 269.5 MB, free: 14.5 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.1105, allocations: 99.66 kB / 269.6 MB, free: 14.4 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.074e-05/0.1106, allocations: 12 kB / 269.6 MB, free: 14.39 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.023e-05/0.1107, allocations: 8 kB / 269.6 MB, free: 14.38 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.93e-05/0.1108, allocations: 43.83 kB / 269.7 MB, free: 14.34 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.1109, allocations: 28 kB / 269.7 MB, free: 14.31 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000448/0.1114, allocations: 227.5 kB / 269.9 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1114, allocations: 0 / 269.9 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.436e-06/0.1114, allocations: 0 / 269.9 MB, free: 14.09 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.1115, allocations: 0 / 269.9 MB, free: 14.09 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001292/0.1128, allocations: 0.507 MB / 270.4 MB, free: 13.54 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.1128, allocations: 8.031 kB / 270.4 MB, free: 13.53 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.113, allocations: 35.62 kB / 270.5 MB, free: 13.49 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004833/0.1135, allocations: 242.6 kB / 270.7 MB, free: 13.21 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.305e-05/0.1135, allocations: 20.52 kB / 270.7 MB, free: 13.2 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.1137, allocations: 27.91 kB / 270.7 MB, free: 13.17 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008603/0.1145, allocations: 250.6 kB / 271 MB, free: 12.91 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.008e-05/0.1146, allocations: 7.938 kB / 271 MB, free: 12.91 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.512e-05/0.1147, allocations: 8 kB / 271 MB, free: 12.9 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.1147, allocations: 8 kB / 271 MB, free: 12.89 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006685/0.1154, allocations: 179.8 kB / 271.2 MB, free: 12.71 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002175/0.1176, allocations: 0.7578 MB / 272 MB, free: 11.9 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000881/0.1185, allocations: 274.6 kB / 272.2 MB, free: 11.62 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/0.1186, allocations: 8.625 kB / 272.2 MB, free: 11.61 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.221e-05/0.1187, allocations: 38.55 kB / 272.3 MB, free: 11.56 MB / 234.7 MB Notification: Performance of pre-optimization done (n=36): time 5.52e-06/0.1187, allocations: 0 / 272.3 MB, free: 11.56 MB / 234.7 MB Notification: Performance of matching and sorting (n=48): time 0.005634/0.1243, allocations: 1.703 MB / 274 MB, free: 9.688 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.627e-05/0.1245, allocations: 85.11 kB / 274.1 MB, free: 9.586 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.1248, allocations: 161.6 kB / 274.2 MB, free: 9.422 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/0.1249, allocations: 33.7 kB / 274.2 MB, free: 9.383 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.1251, allocations: 199.1 kB / 274.4 MB, free: 9.188 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/0.1253, allocations: 173.5 kB / 274.6 MB, free: 9.016 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.1254, allocations: 4 kB / 274.6 MB, free: 9.012 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.1256, allocations: 326.8 kB / 274.9 MB, free: 8.684 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003939/0.126, allocations: 105.1 kB / 275 MB, free: 8.582 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004918/0.1265, allocations: 165.3 kB / 275.2 MB, free: 8.402 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/0.127, allocations: 122.3 kB / 275.3 MB, free: 8.285 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.127, allocations: 0 / 275.3 MB, free: 8.285 MB / 234.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001183/0.1282, allocations: 358.4 kB / 275.7 MB, free: 7.93 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.1283, allocations: 8 kB / 275.7 MB, free: 7.922 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.1283, allocations: 0 / 275.7 MB, free: 7.922 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.989e-05/0.1283, allocations: 4 kB / 275.7 MB, free: 7.918 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009551/0.1293, allocations: 107.9 kB / 275.8 MB, free: 7.812 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.256e-05/0.1294, allocations: 4 kB / 275.8 MB, free: 7.809 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.1297, allocations: 4 kB / 275.8 MB, free: 7.805 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/0.1297, allocations: 16 kB / 275.8 MB, free: 7.789 MB / 234.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.0003101/0.1301, allocations: 149.7 kB / 275.9 MB, free: 7.633 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.1303, allocations: 35.67 kB / 276 MB, free: 7.598 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.1304, allocations: 37.86 kB / 276 MB, free: 7.559 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.1305, allocations: 4 kB / 276 MB, free: 7.555 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.1305, allocations: 4 kB / 276 MB, free: 7.551 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.1305, allocations: 7.984 kB / 276 MB, free: 7.543 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002747/0.1333, allocations: 0.9582 MB / 277 MB, free: 6.523 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.1333, allocations: 4 kB / 277 MB, free: 6.52 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.1345, allocations: 95.89 kB / 277.1 MB, free: 6.426 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.692e-05/0.1345, allocations: 4 kB / 277.1 MB, free: 6.422 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.426e-05/0.1346, allocations: 12 kB / 277.1 MB, free: 6.41 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/0.1346, allocations: 7.891 kB / 277.1 MB, free: 6.402 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.1346, allocations: 4 kB / 277.1 MB, free: 6.398 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.1363, allocations: 0.6719 MB / 277.8 MB, free: 5.684 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.1365, allocations: 96.83 kB / 277.9 MB, free: 5.57 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.493e-05/0.1366, allocations: 8 kB / 277.9 MB, free: 5.562 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000426/0.1371, allocations: 16 kB / 277.9 MB, free: 5.547 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.663e-05/0.1372, allocations: 23.97 kB / 277.9 MB, free: 5.523 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.988e-05/0.1372, allocations: 19.98 kB / 278 MB, free: 5.504 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0002106/0.1375, allocations: 128.3 kB / 278.1 MB, free: 5.379 MB / 234.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.1375, allocations: 0 / 278.1 MB, free: 5.379 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0008791/0.1384, allocations: 80 kB / 278.2 MB, free: 5.301 MB / 234.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.0002103/0.1386, allocations: 107.2 kB / 278.3 MB, free: 5.188 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.1397, allocations: 303.5 kB / 278.6 MB, free: 4.891 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.1397, allocations: 0 / 278.6 MB, free: 4.891 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004767/0.1402, allocations: 162 kB / 278.7 MB, free: 4.734 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009423/0.1411, allocations: 47.86 kB / 278.8 MB, free: 4.688 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.1445, allocations: 1.224 MB / 280 MB, free: 3.422 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/0.1451, allocations: 0.7806 MB / 280.8 MB, free: 2.609 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.1454, allocations: 31.44 kB / 280.8 MB, free: 2.582 MB / 234.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1454, allocations: 0 / 280.8 MB, free: 2.582 MB / 234.7 MB Notification: Performance of Templates: time 0.01227/0.1577, allocations: 3.591 MB / 284.4 MB, free: 14.99 MB / 250.7 MB