Notification: Performance of FrontEnd - loaded program: time 2.854e-05/2.873e-05, allocations: 4 kB / 348 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2228, allocations: 44.52 MB / 392.5 MB, free: 82.5 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1772/0.4, allocations: 90 MB / 482.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004099/0.4005, allocations: 83.95 kB / 482.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7255/1.126, allocations: 156.9 MB / 0.6245 GB, free: 14.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.281e-06/1.126, allocations: 0 / 0.6245 GB, free: 14.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005877/1.127, allocations: 156 kB / 0.6247 GB, free: 14.77 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2383 * Number of variables: 2383 Notification: Performance of Generate backend data structure: time 0.02691/1.154, allocations: 7.949 MB / 0.6325 GB, free: 6.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/1.154, allocations: 8.031 kB / 0.6325 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4774/1.631, allocations: 16.48 MB / 0.6486 GB, free: 46.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0591/1.69, allocations: 13.47 MB / 0.6617 GB, free: 45.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007304/1.691, allocations: 302.3 kB / 0.662 GB, free: 45.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00368/1.695, allocations: 450.7 kB / 0.6624 GB, free: 45.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03063/1.725, allocations: 9.461 MB / 0.6717 GB, free: 45.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02956/1.755, allocations: 14.26 MB / 0.6856 GB, free: 42.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003841/1.755, allocations: 111.3 kB / 0.6857 GB, free: 42.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001108/1.757, allocations: 45.56 kB / 0.6857 GB, free: 42.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002178/1.759, allocations: 1.479 MB / 0.6872 GB, free: 42.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09129/1.85, allocations: 71.23 MB / 0.7568 GB, free: 6.922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01586/1.866, allocations: 5.32 MB / 0.7619 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02787/1.894, allocations: 4.378 MB / 0.7662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002139/1.896, allocations: 0.8274 MB / 0.767 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/1.896, allocations: 66.17 kB / 0.7671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=287): time 1.565e-05/1.896, allocations: 2.375 kB / 0.7671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=347): time 0.2918/2.188, allocations: 40.47 MB / 0.8066 GB, free: 86.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/2.188, allocations: 404.8 kB / 0.807 GB, free: 86.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009544/2.198, allocations: 5.454 MB / 0.8123 GB, free: 86.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000621/2.198, allocations: 29.17 kB / 0.8124 GB, free: 86.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003601/2.202, allocations: 5.245 MB / 0.8175 GB, free: 84.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001426/2.204, allocations: 1.235 MB / 0.8187 GB, free: 84.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005886/2.204, allocations: 0 / 0.8187 GB, free: 84.22 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004887/2.205, allocations: 0.6697 MB / 0.8193 GB, free: 83.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006384/2.211, allocations: 3.625 MB / 0.8229 GB, free: 83.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009199/2.22, allocations: 8.377 MB / 0.8311 GB, free: 77.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009574/2.23, allocations: 5.396 MB / 0.8363 GB, free: 77.69 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001298/2.23, allocations: 47.91 kB / 0.8364 GB, free: 77.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=1112) (initialization): time 0.03948/2.27, allocations: 15.61 MB / 0.8516 GB, free: 77.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001384/2.27, allocations: 77.12 kB / 0.8517 GB, free: 77.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000193/2.27, allocations: 168.1 kB / 0.8519 GB, free: 77.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02095/2.291, allocations: 5.375 MB / 0.8571 GB, free: 76.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007522/2.298, allocations: 1.85 MB / 0.8589 GB, free: 76.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04329/2.342, allocations: 25.95 MB / 0.8843 GB, free: 65.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009414/2.351, allocations: 378.8 kB / 0.8846 GB, free: 64.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001866/2.353, allocations: 490.4 kB / 0.8851 GB, free: 64.91 MB / 430.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: B1.frame_b.r_0[2]:DUMMY_STATE(flow=false unit = "m" ) "Position vector from world frame to the connector frame origin, resolved in world frame" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 761 * Number of states: 0 () * Number of discrete variables: 63 (cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],Mid.color[3],Mid.color[2],Mid.color[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.body.sphereColor[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],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],Rod.color[3],Rod.color[2],Rod.color[1],Rod.body.sphereColor[3],Rod.body.sphereColor[2],Rod.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (976): * Single equations (assignments): 970 * Array equations: 3 * 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: 2 {(7,55.1%) 94,(2,100.0%) 6} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.001844/2.355, allocations: 0.5508 MB / 0.8856 GB, free: 64.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001435/2.356, allocations: 0.6182 MB / 0.8862 GB, free: 64.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03738/2.394, allocations: 10.58 MB / 0.8966 GB, free: 60.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.376e-05/2.394, allocations: 38.44 kB / 0.8966 GB, free: 60.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.354e-05/2.394, allocations: 19.06 kB / 0.8966 GB, free: 60.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.444e-05/2.394, allocations: 15.33 kB / 0.8966 GB, free: 60.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06505/2.459, allocations: 22.81 MB / 0.9189 GB, free: 42.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.444e-05/2.459, allocations: 11.95 kB / 0.9189 GB, free: 42.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002538/2.462, allocations: 441.1 kB / 0.9193 GB, free: 41.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02055/2.482, allocations: 5.019 MB / 0.9242 GB, free: 38.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000733/2.483, allocations: 12 kB / 0.9243 GB, free: 38.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04209/2.525, allocations: 24.68 MB / 0.9484 GB, free: 16.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.298e-05/2.525, allocations: 15.3 kB / 0.9484 GB, free: 16.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5428/3.068, allocations: 145.2 MB / 1.09 GB, free: 17.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003443/3.072, allocations: 1.219 MB / 1.091 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001279/3.073, allocations: 15.98 kB / 1.091 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004133/3.077, allocations: 203.7 kB / 1.092 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009326/3.078, allocations: 248.2 kB / 1.092 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000471/3.079, allocations: 96.23 kB / 1.092 GB, free: 15.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.007158/3.086, allocations: 3.805 MB / 1.096 GB, free: 11.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.08e-07/3.086, allocations: 0 / 1.096 GB, free: 11.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.02037/3.106, allocations: 2.459 MB / 1.098 GB, free: 9.055 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 2 (Inertia.phi,Inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (222): * Single equations (assignments): 216 * Array equations: 3 * 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: 2 {(7,55.1%) 87,(2,100.0%) 4} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001269/3.108, allocations: 168.5 kB / 1.098 GB, free: 8.914 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.02807/3.136, allocations: 9.603 MB / 1.108 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/3.136, allocations: 8 kB / 1.108 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1677/3.303, allocations: 4.328 MB / 1.112 GB, free: 92.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009532/3.313, allocations: 0.8503 MB / 1.113 GB, free: 92.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06505/3.378, allocations: 18.96 MB / 1.131 GB, free: 88.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01782/3.396, allocations: 5.857 MB / 1.137 GB, free: 87.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.01009/3.406, allocations: 2.739 MB / 1.14 GB, free: 87.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001789/3.408, allocations: 387.1 kB / 1.14 GB, free: 87.88 MB / 446.1 MB Notification: Performance of SimCode: time 1.404e-06/3.408, allocations: 0 / 1.14 GB, free: 87.88 MB / 446.1 MB Notification: Performance of Templates: time 0.2482/3.656, allocations: 103.9 MB / 1.241 GB, free: 29.32 MB / 446.1 MB