Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.295/2.295, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.8e-05/2.811e-05, allocations: 2.609 kB / 249.8 MB, free: 5.23 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1039, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5219/0.6259, allocations: 106.6 MB / 400.9 MB, free: 15.18 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003601/0.6263, allocations: 82.77 kB / 401 MB, free: 15.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.043/1.669, allocations: 136.6 MB / 0.525 GB, free: 66.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.545e-06/1.669, allocations: 2.734 kB / 0.525 GB, free: 66.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000564/1.67, allocations: 163 kB / 0.5252 GB, free: 66.33 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: 2641 * Number of variables: 2641 Notification: Performance of Generate backend data structure: time 0.04427/1.714, allocations: 7.869 MB / 0.5329 GB, free: 63.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/1.714, allocations: 7.406 kB / 0.5329 GB, free: 63.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02764/1.742, allocations: 2.901 MB / 0.5357 GB, free: 63.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03459/1.776, allocations: 8.012 MB / 0.5435 GB, free: 62.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006025/1.777, allocations: 256.6 kB / 0.5438 GB, free: 62.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004765/1.782, allocations: 467.2 kB / 0.5442 GB, free: 62.06 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03361/1.816, allocations: 11.39 MB / 0.5553 GB, free: 62.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05067/1.866, allocations: 16.33 MB / 0.5713 GB, free: 54.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006395/1.867, allocations: 81.91 kB / 0.5714 GB, free: 54.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004074/1.871, allocations: 50.17 kB / 0.5714 GB, free: 54.01 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004834/1.876, allocations: 1.69 MB / 0.5731 GB, free: 53.56 MB / 394.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.5755/2.452, allocations: 79.8 MB / 0.651 GB, free: 38.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01498/2.467, allocations: 6.002 MB / 0.6569 GB, free: 37.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01014/2.477, allocations: 4.48 MB / 0.6612 GB, free: 37.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002672/2.48, allocations: 1.133 MB / 0.6623 GB, free: 36.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.13e-05/2.48, allocations: 68.66 kB / 0.6624 GB, free: 36.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=318): time 9.087e-06/2.48, allocations: 0 / 0.6624 GB, free: 36.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=388): time 0.24/2.72, allocations: 40.43 MB / 0.7019 GB, free: 30.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/2.72, allocations: 170.1 kB / 0.702 GB, free: 30.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02044/2.74, allocations: 4.667 MB / 0.7066 GB, free: 28.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001443/2.742, allocations: 25.7 kB / 0.7066 GB, free: 28.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005501/2.747, allocations: 5.173 MB / 0.7117 GB, free: 24.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003019/2.751, allocations: 1.395 MB / 0.713 GB, free: 23.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002078/2.753, allocations: 0 / 0.713 GB, free: 23.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.001091/2.754, allocations: 0.7251 MB / 0.7137 GB, free: 23.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01223/2.766, allocations: 4.317 MB / 0.718 GB, free: 21.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01652/2.783, allocations: 9.81 MB / 0.7275 GB, free: 12.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01752/2.8, allocations: 6.437 MB / 0.7338 GB, free: 10.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00025/2.801, allocations: 55.41 kB / 0.7339 GB, free: 10.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=1292) (initialization): time 0.06896/2.869, allocations: 16.75 MB / 0.7502 GB, free: 14.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002058/2.87, allocations: 88 kB / 0.7503 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004347/2.87, allocations: 196 kB / 0.7505 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02635/2.897, allocations: 3.777 MB / 0.7542 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02044/2.917, allocations: 2.337 MB / 0.7565 GB, free: 9.805 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08162/2.999, allocations: 25.83 MB / 0.7817 GB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02187/3.021, allocations: 474.7 kB / 0.7822 GB, free: 2.531 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004153/3.025, allocations: 0.6034 MB / 0.7827 GB, free: 1.969 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 890 * Number of states: 0 () * Number of discrete variables: 63 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslationOfConstraint.color[3],fixedTranslationOfConstraint.color[2],fixedTranslationOfConstraint.color[1],fixedTranslationOfJoint.color[3],fixedTranslationOfJoint.color[2],fixedTranslationOfJoint.color[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.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1198): * Single equations (assignments): 1183 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 19,(1,100.0%) 6,(4,75.0%) 22,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.006434/3.031, allocations: 0.6106 MB / 0.7833 GB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.08009/3.111, allocations: 11.42 MB / 0.7945 GB, free: 8.574 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003006/3.115, allocations: 0.5322 MB / 0.795 GB, free: 8.035 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0521/3.167, allocations: 10.32 MB / 0.8051 GB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04241/3.209, allocations: 9.02 MB / 0.8139 GB, free: 4.477 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0413/3.25, allocations: 8.903 MB / 0.8226 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001503/3.251, allocations: 19.94 kB / 0.8226 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5154/3.766, allocations: 23.75 MB / 0.8458 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.233e-05/3.766, allocations: 3.812 kB / 0.8458 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008957/3.775, allocations: 0.6553 MB / 0.8464 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02181/3.797, allocations: 2.976 MB / 0.8494 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001448/3.799, allocations: 25.12 kB / 0.8494 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06008/3.859, allocations: 19.77 MB / 0.8687 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02002/3.879, allocations: 5.51 MB / 0.8741 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06072/3.94, allocations: 15.95 MB / 0.8896 GB, free: 124.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00624/3.946, allocations: 1.245 MB / 0.8909 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003184/3.949, allocations: 15.14 kB / 0.8909 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01014/3.959, allocations: 223.9 kB / 0.8911 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002093/3.961, allocations: 258.3 kB / 0.8913 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009252/3.962, allocations: 106.3 kB / 0.8914 GB, free: 124.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01005/3.972, allocations: 3.138 MB / 0.8945 GB, free: 123.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.253e-06/3.973, allocations: 0 / 0.8945 GB, free: 123.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01717/3.99, allocations: 1.891 MB / 0.8963 GB, free: 123.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 8 ($STATESET140328842502537.x[2],$STATESET140328842502537.x[1],$STATESET140328842502536.x[2],$STATESET140328842502536.x[1],joint.phi_a,joint.phi_b,joint.w_a,joint.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (302): * Single equations (assignments): 294 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 19,(3,100.0%) 16,(3,100.0%) 7} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.05838/4.048, allocations: 17.91 MB / 0.9138 GB, free: 114.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03422/4.082, allocations: 11.27 MB / 0.9248 GB, free: 110.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-05/4.082, allocations: 0 / 0.9248 GB, free: 110.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0166/4.099, allocations: 4.725 MB / 0.9295 GB, free: 108.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009054/4.108, allocations: 0.6685 MB / 0.9301 GB, free: 108.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07129/4.18, allocations: 17.14 MB / 0.9469 GB, free: 93.99 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01755/4.197, allocations: 5.582 MB / 0.9523 GB, free: 89.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.02768/4.225, allocations: 3.214 MB / 0.9554 GB, free: 88.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01477/4.24, allocations: 3.564 MB / 0.9589 GB, free: 84.77 MB / 490.7 MB Notification: Performance of SimCode: time 1.923e-06/4.24, allocations: 0 / 0.9589 GB, free: 84.77 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8964/5.136, allocations: 145.4 MB / 1.101 GB, free: 112.7 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000337/5.137, allocations: 165.9 kB / 1.101 GB, free: 112.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 10.05/15.19, allocations: 3.906 kB / 1.101 GB, free: 112.5 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat does not exist to compare? outputFormat=mat