Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.925/1.925, allocations: 209.3 MB / 221.9 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.962e-05/3.986e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1035, allocations: 48.71 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4443/0.5478, allocations: 94.23 MB / 416.1 MB, free: 11.56 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.5481, allocations: 79.94 kB / 416.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7649/1.313, allocations: 103.1 MB / 0.5071 GB, free: 90.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.313, allocations: 2.844 kB / 0.5071 GB, free: 90.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004289/1.314, allocations: 103.8 kB / 0.5072 GB, free: 90.72 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1723 * Number of variables: 1723 Notification: Performance of Generate backend data structure: time 0.02434/1.338, allocations: 5.197 MB / 0.5123 GB, free: 88.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.327e-05/1.338, allocations: 9.25 kB / 0.5123 GB, free: 88.68 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005385/1.343, allocations: 1.013 MB / 0.5133 GB, free: 88.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05228/1.396, allocations: 6.891 MB / 0.52 GB, free: 88.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02724/1.423, allocations: 7.479 MB / 0.5273 GB, free: 87.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005201/1.424, allocations: 374.5 kB / 0.5277 GB, free: 87.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002935/1.427, allocations: 0.4918 MB / 0.5281 GB, free: 87.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03816/1.465, allocations: 12.18 MB / 0.54 GB, free: 84.49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003612/1.465, allocations: 73.69 kB / 0.5401 GB, free: 84.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002246/1.467, allocations: 241.8 kB / 0.5403 GB, free: 84.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002515/1.47, allocations: 1.138 MB / 0.5414 GB, free: 84.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0312/1.501, allocations: 9.933 MB / 0.5511 GB, free: 82.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08247/1.584, allocations: 55.59 MB / 0.6054 GB, free: 40.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02446/1.608, allocations: 5.659 MB / 0.611 GB, free: 35.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005054/1.613, allocations: 2.818 MB / 0.6137 GB, free: 32.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01991/1.633, allocations: 8.803 MB / 0.6223 GB, free: 25.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.58e-05/1.633, allocations: 62.95 kB / 0.6224 GB, free: 25.19 MB / 426.7 MB Notification: Performance of pre-optimization done (n=206): time 5.751e-06/1.634, allocations: 0 / 0.6224 GB, free: 25.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.1733/1.807, allocations: 29.41 MB / 0.6511 GB, free: 13.49 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/1.807, allocations: 205.9 kB / 0.6513 GB, free: 13.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01452/1.822, allocations: 4.173 MB / 0.6554 GB, free: 9.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009835/1.823, allocations: 61.7 kB / 0.6554 GB, free: 9.004 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005634/1.828, allocations: 3.433 MB / 0.6588 GB, free: 5.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00238/1.831, allocations: 0.9771 MB / 0.6597 GB, free: 4.602 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001085/1.832, allocations: 135.9 kB / 0.6599 GB, free: 4.469 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007443/1.833, allocations: 0.5919 MB / 0.6604 GB, free: 3.867 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01129/1.844, allocations: 2.942 MB / 0.6633 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3223/2.166, allocations: 6.696 MB / 0.6698 GB, free: 94.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01189/2.178, allocations: 4.407 MB / 0.6741 GB, free: 94.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002976/2.179, allocations: 38.72 kB / 0.6742 GB, free: 94.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.0464/2.225, allocations: 12.39 MB / 0.6863 GB, free: 94.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001464/2.225, allocations: 60.78 kB / 0.6863 GB, free: 94.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002152/2.225, allocations: 134.5 kB / 0.6865 GB, free: 94.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02058/2.246, allocations: 4.072 MB / 0.6905 GB, free: 94.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008939/2.255, allocations: 1.413 MB / 0.6918 GB, free: 94.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05555/2.311, allocations: 25.83 MB / 0.7171 GB, free: 83.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008847/2.319, allocations: 392.3 kB / 0.7174 GB, free: 83.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001775/2.321, allocations: 406.5 kB / 0.7178 GB, free: 83.67 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * Number of states: 0 () * Number of discrete variables: 39 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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 (760): * Single equations (assignments): 754 * 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 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.001736/2.323, allocations: 0.5988 MB / 0.7184 GB, free: 83.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001192/2.324, allocations: 446.3 kB / 0.7188 GB, free: 83.26 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02747/2.352, allocations: 8.065 MB / 0.7267 GB, free: 80.53 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.199e-05/2.352, allocations: 28.69 kB / 0.7267 GB, free: 80.53 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-05/2.352, allocations: 11.44 kB / 0.7267 GB, free: 80.53 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.03e-05/2.352, allocations: 14.95 kB / 0.7268 GB, free: 80.53 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05024/2.402, allocations: 16.64 MB / 0.743 GB, free: 74.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.791e-05/2.402, allocations: 7.422 kB / 0.743 GB, free: 74.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002877/2.405, allocations: 298.9 kB / 0.7433 GB, free: 74.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01931/2.425, allocations: 3.765 MB / 0.747 GB, free: 73.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007221/2.425, allocations: 49.77 kB / 0.747 GB, free: 73.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05188/2.477, allocations: 24.56 MB / 0.771 GB, free: 52.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/2.477, allocations: 7.938 kB / 0.771 GB, free: 52.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03578/2.513, allocations: 12.55 MB / 0.7833 GB, free: 41.65 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003748/2.517, allocations: 0.9552 MB / 0.7842 GB, free: 40.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00193/2.519, allocations: 48.77 kB / 0.7842 GB, free: 40.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005248/2.524, allocations: 168.1 kB / 0.7844 GB, free: 40.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001317/2.526, allocations: 194.8 kB / 0.7846 GB, free: 40.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004844/2.526, allocations: 80.22 kB / 0.7847 GB, free: 40.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007607/2.534, allocations: 2.939 MB / 0.7875 GB, free: 37.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.112e-06/2.534, allocations: 0 / 0.7875 GB, free: 37.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01027/2.544, allocations: 1.425 MB / 0.7889 GB, free: 36.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * 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 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.03655/2.581, allocations: 14.33 MB / 0.8029 GB, free: 22.52 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02109/2.602, allocations: 7.776 MB / 0.8105 GB, free: 14.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.587e-05/2.602, allocations: 8 kB / 0.8105 GB, free: 14.74 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00979/2.612, allocations: 3.356 MB / 0.8138 GB, free: 11.36 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005438/2.617, allocations: 0.5438 MB / 0.8143 GB, free: 10.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3521/2.969, allocations: 12.59 MB / 0.8266 GB, free: 87.19 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01139/2.981, allocations: 4.043 MB / 0.8306 GB, free: 86.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006159/2.987, allocations: 2.429 MB / 0.833 GB, free: 86.37 MB / 442.7 MB Notification: Performance of SimCode: time 2.124e-06/2.987, allocations: 0 / 0.833 GB, free: 86.37 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.274/8.261, allocations: 165.6 MB / 0.9946 GB, free: 84.25 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat does not exist to compare? outputFormat=mat