Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.762/1.762, allocations: 171.2 MB / 183.8 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.578e-05, allocations: 8 kB / 225.1 MB, free: 2.75 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2675, allocations: 38.77 MB / 263.8 MB, free: 9.785 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1844/0.452, allocations: 100.6 MB / 364.4 MB, free: 5.004 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/0.4524, allocations: 83.95 kB / 364.5 MB, free: 4.922 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7233/1.176, allocations: 127.4 MB / 491.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.774e-06/1.176, allocations: 0 / 491.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005557/1.176, allocations: 140 kB / 492 MB, free: 14.15 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2366 * Number of variables: 2366 Notification: Performance of Generate backend data structure: time 0.03834/1.215, allocations: 7.059 MB / 499.1 MB, free: 7.012 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/1.215, allocations: 12.03 kB / 499.1 MB, free: 7 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006256/1.221, allocations: 1.198 MB / 0.4886 GB, free: 5.789 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02433/1.245, allocations: 2.896 MB / 0.4914 GB, free: 2.879 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.361/1.606, allocations: 8.12 MB / 0.4993 GB, free: 41.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006712/1.607, allocations: 0.5202 MB / 0.4998 GB, free: 41.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003903/1.611, allocations: 0.6995 MB / 0.5005 GB, free: 41.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05509/1.666, allocations: 17.22 MB / 0.5173 GB, free: 37.37 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004972/1.667, allocations: 87.34 kB / 0.5174 GB, free: 37.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003309/1.67, allocations: 330.5 kB / 0.5177 GB, free: 37.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003692/1.674, allocations: 1.488 MB / 0.5192 GB, free: 37.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04652/1.72, allocations: 14.37 MB / 0.5332 GB, free: 37.29 MB / 346.7 MB Warning: The model contains alias variables with conflicting start and/or 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.1268/1.847, allocations: 74.71 MB / 0.6062 GB, free: 1.551 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06232/1.91, allocations: 8.758 MB / 0.6147 GB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008552/1.918, allocations: 3.654 MB / 0.6183 GB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3123/2.231, allocations: 15.77 MB / 0.6337 GB, free: 69.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.257e-05/2.231, allocations: 56.97 kB / 0.6337 GB, free: 69.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=248): time 6.221e-06/2.231, allocations: 3.312 kB / 0.6337 GB, free: 69.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=264): time 0.1108/2.342, allocations: 23.4 MB / 0.6566 GB, free: 65.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001392/2.343, allocations: 1.612 MB / 0.6582 GB, free: 64.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0137/2.357, allocations: 5.144 MB / 0.6632 GB, free: 63.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008254/2.358, allocations: 69.23 kB / 0.6633 GB, free: 63.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004421/2.362, allocations: 4.685 MB / 0.6678 GB, free: 61.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002057/2.364, allocations: 1.037 MB / 0.6688 GB, free: 60.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001316/2.366, allocations: 176.7 kB / 0.669 GB, free: 60.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0007849/2.366, allocations: 0.6843 MB / 0.6697 GB, free: 60.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008629/2.375, allocations: 3.204 MB / 0.6728 GB, free: 60.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01248/2.388, allocations: 8.601 MB / 0.6812 GB, free: 53.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/2.4, allocations: 5.191 MB / 0.6863 GB, free: 53.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000248/2.4, allocations: 53.19 kB / 0.6863 GB, free: 53.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.03905/2.439, allocations: 13.19 MB / 0.6992 GB, free: 50.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001638/2.44, allocations: 91.39 kB / 0.6993 GB, free: 50.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01802/2.458, allocations: 5.563 MB / 0.7047 GB, free: 48.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01027/2.468, allocations: 2.014 MB / 0.7067 GB, free: 48.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01371/2.482, allocations: 2.121 MB / 0.7088 GB, free: 48.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02074/2.503, allocations: 13.7 MB / 0.7221 GB, free: 36.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01122/2.514, allocations: 0.5712 MB / 0.7227 GB, free: 36.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002353/2.516, allocations: 0.5334 MB / 0.7232 GB, free: 35.74 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 875 * Number of states: 0 () * Number of discrete variables: 57 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.sphereColor[3],joint.sphereColor[2],joint.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1105): * Single equations (assignments): 1091 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,100.0%) 3,(3,100.0%) 3,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003736/2.52, allocations: 0.7978 MB / 0.724 GB, free: 34.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001522/2.522, allocations: 0.5166 MB / 0.7245 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02836/2.55, allocations: 6.374 MB / 0.7307 GB, free: 29.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02528/2.575, allocations: 5.48 MB / 0.7361 GB, free: 24.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02594/2.601, allocations: 5.851 MB / 0.7418 GB, free: 19.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.419e-05/2.601, allocations: 10.88 kB / 0.7418 GB, free: 19.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07855/2.68, allocations: 17.06 MB / 0.7585 GB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.324e-05/2.68, allocations: 9 kB / 0.7585 GB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007202/2.687, allocations: 0.4959 MB / 0.759 GB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.015/2.702, allocations: 1.796 MB / 0.7607 GB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001082/2.704, allocations: 64.17 kB / 0.7608 GB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4082/3.112, allocations: 9.783 MB / 0.7703 GB, free: 74.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001692/3.114, allocations: 1.464 MB / 0.7718 GB, free: 73.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03939/3.153, allocations: 10.74 MB / 0.7822 GB, free: 70.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003116/3.156, allocations: 0.5715 MB / 0.7828 GB, free: 70.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003055/3.159, allocations: 59.09 kB / 0.7829 GB, free: 70.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008367/3.168, allocations: 213.9 kB / 0.7831 GB, free: 70.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001585/3.169, allocations: 195.5 kB / 0.7832 GB, free: 70.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009596/3.17, allocations: 84.86 kB / 0.7833 GB, free: 70.42 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.01487/3.185, allocations: 3.581 MB / 0.7868 GB, free: 70.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.463e-06/3.185, allocations: 0 / 0.7868 GB, free: 70.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0179/3.203, allocations: 1.676 MB / 0.7885 GB, free: 70.17 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],joint.w_rel[1],joint.w_rel[2],joint.w_rel[3],bodyOfConstraint.body.w_a[1],bodyOfConstraint.body.w_a[2],bodyOfConstraint.body.w_a[3],freeMotionScalarInit.derd[1].u,freeMotionScalarInit.derd[2].u,freeMotionScalarInit.derd[3].u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (221): * Single equations (assignments): 211 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 3,(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04133/3.245, allocations: 13.41 MB / 0.8016 GB, free: 65.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.03082/3.276, allocations: 8.652 MB / 0.81 GB, free: 64.64 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-05/3.276, allocations: 0 / 0.81 GB, free: 64.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01457/3.29, allocations: 3.312 MB / 0.8132 GB, free: 63.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01002/3.3, allocations: 0.7758 MB / 0.814 GB, free: 63.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06436/3.365, allocations: 15.51 MB / 0.8291 GB, free: 59.77 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01233/3.377, allocations: 4.961 MB / 0.834 GB, free: 58.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008041/3.385, allocations: 3.175 MB / 0.8371 GB, free: 55.56 MB / 394.7 MB Notification: Performance of SimCode: time 1.893e-06/3.385, allocations: 0 / 0.8371 GB, free: 55.56 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.847/10.23, allocations: 316.8 MB / 1.146 GB, free: 69.13 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint_res.mat does not exist to compare? outputFormat=mat