Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadModel(ModelicaTest): time 2.26/2.26, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.009e-05/3.026e-05, allocations: 4 kB / 308 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3767, allocations: 54.85 MB / 362.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.0721/0.4489, allocations: 46.09 MB / 409 MB, free: 15.57 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03085/0.4798, allocations: 10.73 MB / 419.7 MB, free: 4.801 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01207/0.4919, allocations: 243.4 kB / 419.9 MB, free: 4.562 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008452/0.5004, allocations: 2.419 MB / 422.4 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02539/0.5259, allocations: 6.634 MB / 429 MB, free: 11.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005497/0.5314, allocations: 1.006 MB / 430 MB, free: 10.47 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.03053/0.562, allocations: 10.53 MB / 440.5 MB, free: 15.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01356/0.5756, allocations: 6.278 MB / 446.8 MB, free: 9.598 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003444/0.5791, allocations: 1.411 MB / 448.2 MB, free: 8.184 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005244/0.5844, allocations: 2.35 MB / 450.6 MB, free: 5.828 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004279/0.5887, allocations: 1.252 MB / 451.8 MB, free: 4.574 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00183/0.5906, allocations: 231.9 kB / 452 MB, free: 4.348 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004334/0.5949, allocations: 2.599 MB / 454.6 MB, free: 1.742 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002135/0.5971, allocations: 436 kB / 455.1 MB, free: 1.316 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01591/0.6131, allocations: 9.664 MB / 464.7 MB, free: 7.621 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6131, allocations: 0 / 464.7 MB, free: 7.621 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.6131, allocations: 0 / 464.7 MB, free: 7.621 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004707/0.6136, allocations: 0 / 464.7 MB, free: 7.621 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.02354/0.6372, allocations: 6.49 MB / 471.2 MB, free: 1.051 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.6372, allocations: 8.031 kB / 471.2 MB, free: 1.043 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.081/0.7182, allocations: 9 MB / 480.2 MB, free: 8.016 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01556/0.7339, allocations: 4.887 MB / 485.1 MB, free: 3.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005381/0.7344, allocations: 394 kB / 485.5 MB, free: 2.684 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002964/0.7374, allocations: 0.5503 MB / 486.1 MB, free: 2.133 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3936/1.131, allocations: 19.03 MB / 0.4932 GB, free: 112 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000474/1.132, allocations: 71.34 kB / 0.4933 GB, free: 111.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002234/1.134, allocations: 251.5 kB / 0.4936 GB, free: 111.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009559/1.143, allocations: 3.428 MB / 0.4969 GB, free: 111.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05321/1.197, allocations: 16.74 MB / 0.5133 GB, free: 103.3 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.112/1.309, allocations: 66.9 MB / 0.5786 GB, free: 35.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02575/1.335, allocations: 6.301 MB / 0.5847 GB, free: 28.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03348/1.368, allocations: 14 MB / 0.5984 GB, free: 14.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.481e-05/1.368, allocations: 56.56 kB / 0.5985 GB, free: 13.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=284): time 6.943e-06/1.368, allocations: 4 kB / 0.5985 GB, free: 13.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=345): time 0.1587/1.527, allocations: 26.01 MB / 0.6239 GB, free: 3.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/1.527, allocations: 188.3 kB / 0.624 GB, free: 3.598 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01363/1.541, allocations: 5.594 MB / 0.6295 GB, free: 14.03 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007759/1.542, allocations: 79.73 kB / 0.6296 GB, free: 13.95 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005481/1.547, allocations: 4.973 MB / 0.6344 GB, free: 8.965 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002188/1.549, allocations: 1.28 MB / 0.6357 GB, free: 7.668 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009724/1.55, allocations: 184 kB / 0.6359 GB, free: 7.488 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007362/1.551, allocations: 0.7069 MB / 0.6366 GB, free: 6.773 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009531/1.561, allocations: 3.251 MB / 0.6397 GB, free: 3.516 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01547/1.576, allocations: 8.667 MB / 0.6482 GB, free: 8.16 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01487/1.591, allocations: 5.232 MB / 0.6533 GB, free: 2.906 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001687/1.591, allocations: 56 kB / 0.6534 GB, free: 2.852 MB / 474.7 MB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.04363/1.635, allocations: 12.71 MB / 0.6658 GB, free: 6.094 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001844/1.635, allocations: 89.09 kB / 0.6659 GB, free: 6.008 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003364/1.635, allocations: 188 kB / 0.666 GB, free: 5.824 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008181/1.644, allocations: 1.341 MB / 0.6673 GB, free: 4.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01405/1.658, allocations: 2.156 MB / 0.6695 GB, free: 2.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.386/2.044, allocations: 7.522 MB / 0.6768 GB, free: 153.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01001/2.054, allocations: 0.503 MB / 0.6773 GB, free: 153.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001876/2.056, allocations: 0.5464 MB / 0.6778 GB, free: 153 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 43 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1149): * Single equations (assignments): 1142 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008922/2.065, allocations: 3.39 MB / 0.6811 GB, free: 151.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001482/2.066, allocations: 0.53 MB / 0.6816 GB, free: 151.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01919/2.085, allocations: 5.392 MB / 0.6869 GB, free: 149.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.158e-05/2.086, allocations: 43.05 kB / 0.687 GB, free: 149.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.916e-05/2.086, allocations: 11.45 kB / 0.687 GB, free: 149.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-05/2.086, allocations: 15.52 kB / 0.687 GB, free: 149.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04366/2.129, allocations: 14.02 MB / 0.7007 GB, free: 144.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-05/2.129, allocations: 15.8 kB / 0.7007 GB, free: 144.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004401/2.134, allocations: 0.4925 MB / 0.7012 GB, free: 144.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006168/2.14, allocations: 0.8125 MB / 0.702 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006172/2.141, allocations: 74 kB / 0.702 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01474/2.155, allocations: 5.559 MB / 0.7075 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.398e-05/2.155, allocations: 19.38 kB / 0.7075 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02315/2.179, allocations: 9.997 MB / 0.7172 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00312/2.182, allocations: 0.9514 MB / 0.7182 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001361/2.183, allocations: 68.62 kB / 0.7182 GB, free: 132.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00399/2.187, allocations: 140.5 kB / 0.7184 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005632/2.188, allocations: 220.2 kB / 0.7186 GB, free: 131.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003035/2.188, allocations: 106.1 kB / 0.7187 GB, free: 131.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008101/2.196, allocations: 3.919 MB / 0.7225 GB, free: 127.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.92e-07/2.196, allocations: 4 kB / 0.7225 GB, free: 127.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009396/2.206, allocations: 1.642 MB / 0.7241 GB, free: 126.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 262 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001083/2.207, allocations: 267.6 kB / 0.7244 GB, free: 125.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01893/2.226, allocations: 7.723 MB / 0.7319 GB, free: 118.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.92e-05/2.226, allocations: 6.844 kB / 0.7319 GB, free: 118.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006176/2.232, allocations: 2.371 MB / 0.7342 GB, free: 115.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004918/2.237, allocations: 0.6385 MB / 0.7349 GB, free: 115.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03646/2.273, allocations: 18.07 MB / 0.7525 GB, free: 97.06 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0103/2.284, allocations: 5.308 MB / 0.7577 GB, free: 91.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0126/2.296, allocations: 2.978 MB / 0.7606 GB, free: 88.72 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002099/2.299, allocations: 391.4 kB / 0.761 GB, free: 88.34 MB / 490.7 MB Notification: Performance of SimCode: time 1.262e-06/2.299, allocations: 0 / 0.761 GB, free: 88.34 MB / 490.7 MB Notification: Performance of Templates: time 0.1593/2.458, allocations: 57.6 MB / 0.8172 GB, free: 30.87 MB / 490.7 MB