Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.501/2.501, allocations: 270.1 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.119e-05/4.132e-05, allocations: 3.984 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1773, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.54/0.7174, allocations: 111.2 MB / 0.5093 GB, free: 8.715 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.7177, allocations: 77.45 kB / 0.5094 GB, free: 8.641 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9842/1.702, allocations: 128.6 MB / 0.635 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.904e-06/1.702, allocations: 0 / 0.635 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004344/1.702, allocations: 111.4 kB / 0.6351 GB, free: 111.2 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.02821/1.731, allocations: 6.339 MB / 0.6413 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.731, allocations: 7.781 kB / 0.6413 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006728/1.738, allocations: 1.312 MB / 0.6426 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06362/1.801, allocations: 8.326 MB / 0.6507 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02858/1.83, allocations: 7.057 MB / 0.6576 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006449/1.831, allocations: 452.9 kB / 0.658 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004375/1.835, allocations: 0.5873 MB / 0.6586 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05102/1.886, allocations: 15.55 MB / 0.6738 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005777/1.887, allocations: 74.62 kB / 0.6739 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004355/1.891, allocations: 285.4 kB / 0.6741 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003885/1.895, allocations: 1.617 MB / 0.6757 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04151/1.937, allocations: 13.58 MB / 0.689 GB, free: 98.81 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1123/2.049, allocations: 64.07 MB / 0.7516 GB, free: 43.63 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02206/2.071, allocations: 6.382 MB / 0.7578 GB, free: 37.88 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007143/2.078, allocations: 3.519 MB / 0.7612 GB, free: 34.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03542/2.114, allocations: 14.41 MB / 0.7753 GB, free: 19.74 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.788e-05/2.114, allocations: 64.25 kB / 0.7753 GB, free: 19.67 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=289): time 8.236e-06/2.114, allocations: 0 / 0.7753 GB, free: 19.67 MB / 0.5105 GB Notification: Performance of matching and sorting (n=339): time 0.178/2.292, allocations: 29.67 MB / 0.8043 GB, free: 6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/2.292, allocations: 217.9 kB / 0.8045 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01314/2.305, allocations: 4.765 MB / 0.8092 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009372/2.306, allocations: 73.7 kB / 0.8093 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.3963/2.702, allocations: 4.426 MB / 0.8136 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002713/2.705, allocations: 1.255 MB / 0.8148 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001965/2.707, allocations: 177.5 kB / 0.815 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001161/2.708, allocations: 0.6802 MB / 0.8156 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01279/2.721, allocations: 4.487 MB / 0.82 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01681/2.738, allocations: 9.4 MB / 0.8292 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01844/2.757, allocations: 6.418 MB / 0.8355 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004478/2.757, allocations: 50.66 kB / 0.8355 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.09049/2.848, allocations: 18.08 MB / 0.8532 GB, free: 108 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001838/2.848, allocations: 82.97 kB / 0.8532 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002729/2.848, allocations: 174.4 kB / 0.8534 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03994/2.888, allocations: 5.632 MB / 0.8589 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01414/2.902, allocations: 2.066 MB / 0.8609 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04844/2.951, allocations: 23.62 MB / 0.884 GB, free: 95.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01192/2.963, allocations: 0.5399 MB / 0.8845 GB, free: 95.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002427/2.965, allocations: 0.5047 MB / 0.885 GB, free: 95.68 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 793 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[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.groundColor[3],world.groundColor[2],world.groundColor[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 (1061): * Single equations (assignments): 1053 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003805/2.969, allocations: 0.7577 MB / 0.8858 GB, free: 95.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001481/2.971, allocations: 0.4974 MB / 0.8862 GB, free: 94.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05525/3.026, allocations: 12.35 MB / 0.8983 GB, free: 90.97 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001883/3.026, allocations: 58.55 kB / 0.8984 GB, free: 90.97 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.753e-05/3.026, allocations: 7.938 kB / 0.8984 GB, free: 90.97 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001062/3.026, allocations: 18.16 kB / 0.8984 GB, free: 90.97 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1154/3.142, allocations: 23.95 MB / 0.9218 GB, free: 77.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.563e-05/3.142, allocations: 4 kB / 0.9218 GB, free: 77.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005861/3.148, allocations: 0.5744 MB / 0.9223 GB, free: 77.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03464/3.182, allocations: 4.646 MB / 0.9269 GB, free: 74.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009441/3.183, allocations: 60.45 kB / 0.9269 GB, free: 74.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03842/3.222, allocations: 18.93 MB / 0.9454 GB, free: 56.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/3.222, allocations: 7.938 kB / 0.9454 GB, free: 56.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05738/3.279, allocations: 17.38 MB / 0.9624 GB, free: 38.72 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001841/3.281, allocations: 0.5296 MB / 0.9629 GB, free: 38.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002188/3.283, allocations: 53.17 kB / 0.963 GB, free: 38.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006375/3.29, allocations: 248.9 kB / 0.9632 GB, free: 37.88 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00134/3.291, allocations: 193.7 kB / 0.9634 GB, free: 37.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005021/3.292, allocations: 85.33 kB / 0.9635 GB, free: 37.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008464/3.3, allocations: 3.302 MB / 0.9667 GB, free: 34.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.92e-07/3.3, allocations: 0 / 0.9667 GB, free: 34.32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01181/3.312, allocations: 1.718 MB / 0.9684 GB, free: 32.61 MB / 0.5261 GB 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 (254): * Single equations (assignments): 246 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05999/3.372, allocations: 19.1 MB / 0.987 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02298/3.395, allocations: 10.12 MB / 0.9969 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/3.395, allocations: 0 / 0.9969 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.009369/3.405, allocations: 3.903 MB / 1.001 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005525/3.41, allocations: 0.5797 MB / 1.001 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4387/3.849, allocations: 15.56 MB / 1.016 GB, free: 123.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0145/3.864, allocations: 4.753 MB / 1.021 GB, free: 122.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01547/3.879, allocations: 3.001 MB / 1.024 GB, free: 122.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008124/3.887, allocations: 2.916 MB / 1.027 GB, free: 122.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.543e-06/3.887, allocations: 0 / 1.027 GB, free: 122.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3192/4.206, allocations: 134.3 MB / 1.158 GB, free: 44.36 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/4.207, allocations: 190.3 kB / 1.158 GB, free: 44.12 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.454/11.66, allocations: 0 / 1.158 GB, free: 44.12 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat