Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.7/1.7, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.972e-05/3.981e-05, allocations: 8 kB / 225.1 MB, free: 2.23 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2912, allocations: 38.76 MB / 263.9 MB, free: 9.809 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1578/0.449, allocations: 88.41 MB / 352.3 MB, free: 1.266 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.4494, allocations: 87.89 kB / 352.4 MB, free: 1.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7523/1.202, allocations: 126.2 MB / 478.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.795e-06/1.202, allocations: 0 / 478.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005248/1.202, allocations: 119.9 kB / 478.7 MB, free: 10.76 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2237 * Number of variables: 2237 Notification: Performance of Generate backend data structure: time 0.02985/1.232, allocations: 6.329 MB / 485 MB, free: 4.363 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/1.232, allocations: 8.031 kB / 485 MB, free: 4.355 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006308/1.239, allocations: 1.308 MB / 486.3 MB, free: 3.035 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06361/1.302, allocations: 8.31 MB / 494.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02973/1.332, allocations: 7.272 MB / 0.4901 GB, free: 3.371 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007261/1.333, allocations: 455.7 kB / 0.4906 GB, free: 2.926 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003859/1.337, allocations: 0.5934 MB / 0.4911 GB, free: 2.332 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3096/1.646, allocations: 15.51 MB / 0.5063 GB, free: 50.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000472/1.647, allocations: 66.33 kB / 0.5064 GB, free: 50.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003376/1.65, allocations: 284.4 kB / 0.5066 GB, free: 50.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003567/1.654, allocations: 1.618 MB / 0.5082 GB, free: 50.33 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04005/1.694, allocations: 13.53 MB / 0.5214 GB, free: 50.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1043/1.798, allocations: 63.98 MB / 0.5839 GB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02282/1.821, allocations: 6.354 MB / 0.5901 GB, free: 5.797 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006901/1.828, allocations: 3.472 MB / 0.5935 GB, free: 2.707 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03838/1.867, allocations: 14.33 MB / 0.6075 GB, free: 6.102 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.641e-05/1.867, allocations: 68.28 kB / 0.6076 GB, free: 6.031 MB / 362.7 MB Notification: Performance of pre-optimization done (n=286): time 7.514e-06/1.867, allocations: 0 / 0.6076 GB, free: 6.031 MB / 362.7 MB Notification: Performance of matching and sorting (n=336): time 0.434/2.301, allocations: 29.71 MB / 0.6366 GB, free: 80.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/2.301, allocations: 210.5 kB / 0.6368 GB, free: 80.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01536/2.316, allocations: 4.766 MB / 0.6414 GB, free: 80.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001251/2.318, allocations: 73.11 kB / 0.6415 GB, free: 80.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005317/2.323, allocations: 4.421 MB / 0.6458 GB, free: 78.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002603/2.326, allocations: 1.249 MB / 0.647 GB, free: 78.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001492/2.327, allocations: 170.5 kB / 0.6472 GB, free: 78.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0008179/2.328, allocations: 0.6848 MB / 0.6479 GB, free: 77.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03481/2.363, allocations: 4.455 MB / 0.6522 GB, free: 77.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01868/2.382, allocations: 9.357 MB / 0.6614 GB, free: 71.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01519/2.397, allocations: 6.386 MB / 0.6676 GB, free: 71.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002028/2.397, allocations: 49.16 kB / 0.6676 GB, free: 71.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.07022/2.467, allocations: 18.01 MB / 0.6852 GB, free: 68.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001468/2.468, allocations: 78.69 kB / 0.6853 GB, free: 68.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002541/2.468, allocations: 178.8 kB / 0.6855 GB, free: 68.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04008/2.508, allocations: 5.628 MB / 0.691 GB, free: 67.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01337/2.521, allocations: 2.045 MB / 0.693 GB, free: 67.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04791/2.569, allocations: 23.61 MB / 0.716 GB, free: 55.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01148/2.581, allocations: 0.5376 MB / 0.7165 GB, free: 55.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002138/2.583, allocations: 0.5042 MB / 0.717 GB, free: 54.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 792 * Number of states: 0 () * Number of discrete variables: 42 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1057): * Single equations (assignments): 1049 * 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.002948/2.586, allocations: 0.7409 MB / 0.7178 GB, free: 53.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001455/2.587, allocations: 0.4936 MB / 0.7182 GB, free: 53.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05253/2.64, allocations: 12.27 MB / 0.7302 GB, free: 44.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001192/2.64, allocations: 55.52 kB / 0.7303 GB, free: 44.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-05/2.64, allocations: 8 kB / 0.7303 GB, free: 44.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.856e-05/2.64, allocations: 15.56 kB / 0.7303 GB, free: 44.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08144/2.722, allocations: 23.85 MB / 0.7536 GB, free: 23.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.348e-05/2.722, allocations: 6.078 kB / 0.7536 GB, free: 23.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005667/2.728, allocations: 0.5661 MB / 0.7542 GB, free: 22.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03478/2.762, allocations: 4.642 MB / 0.7587 GB, free: 18.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009431/2.763, allocations: 55.52 kB / 0.7587 GB, free: 18.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3247/3.088, allocations: 18.92 MB / 0.7772 GB, free: 71.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/3.088, allocations: 14.31 kB / 0.7772 GB, free: 71.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05916/3.147, allocations: 17.25 MB / 0.7941 GB, free: 69.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00478/3.152, allocations: 1.214 MB / 0.7953 GB, free: 69.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002247/3.154, allocations: 54.05 kB / 0.7953 GB, free: 69.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006719/3.161, allocations: 247.9 kB / 0.7955 GB, free: 69.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001605/3.163, allocations: 200.5 kB / 0.7957 GB, free: 69.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007765/3.164, allocations: 82.69 kB / 0.7958 GB, free: 69.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.009744/3.173, allocations: 3.302 MB / 0.799 GB, free: 69.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.173e-06/3.174, allocations: 0 / 0.799 GB, free: 69.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01149/3.185, allocations: 1.706 MB / 0.8007 GB, free: 69.34 MB / 378.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 (251): * Single equations (assignments): 243 * 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.06056/3.246, allocations: 18.97 MB / 0.8192 GB, free: 62.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02413/3.27, allocations: 10.02 MB / 0.829 GB, free: 58.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/3.27, allocations: 1.844 kB / 0.829 GB, free: 58.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009186/3.279, allocations: 3.857 MB / 0.8328 GB, free: 57.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0057/3.285, allocations: 0.5736 MB / 0.8334 GB, free: 57.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05357/3.338, allocations: 15.5 MB / 0.8485 GB, free: 46.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01131/3.35, allocations: 4.757 MB / 0.8531 GB, free: 42.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.01421/3.364, allocations: 2.98 MB / 0.856 GB, free: 41.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008507/3.373, allocations: 2.923 MB / 0.8589 GB, free: 38.32 MB / 378.7 MB Notification: Performance of SimCode: time 1.893e-06/3.373, allocations: 0 / 0.8589 GB, free: 38.32 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5832/3.956, allocations: 133.6 MB / 0.9894 GB, free: 50.44 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/3.956, allocations: 181.1 kB / 0.9896 GB, free: 50.21 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.992/10.95, allocations: 3.938 kB / 0.9896 GB, free: 50.21 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2_res.mat does not exist to compare? outputFormat=mat