Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.516/2.516, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.111e-05/4.109e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1336, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5438/0.6774, allocations: 114.6 MB / 0.5127 GB, free: 5.422 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.6777, allocations: 80.58 kB / 0.5127 GB, free: 5.344 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9584/1.636, allocations: 137.9 MB / 0.6474 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.304e-06/1.636, allocations: 0 / 0.6474 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004781/1.637, allocations: 128.3 kB / 0.6475 GB, free: 111.4 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: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.02944/1.666, allocations: 7.038 MB / 0.6544 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/1.666, allocations: 11.38 kB / 0.6544 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005497/1.672, allocations: 1.152 MB / 0.6555 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05762/1.729, allocations: 7.554 MB / 0.6629 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03483/1.764, allocations: 9.208 MB / 0.6719 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006642/1.765, allocations: 498.3 kB / 0.6724 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003767/1.769, allocations: 0.6494 MB / 0.673 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05148/1.82, allocations: 16.51 MB / 0.6891 GB, free: 99.64 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000518/1.821, allocations: 97.41 kB / 0.6892 GB, free: 99.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003217/1.824, allocations: 320.3 kB / 0.6895 GB, free: 99.41 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003726/1.828, allocations: 1.585 MB / 0.6911 GB, free: 99.13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05191/1.88, allocations: 13.24 MB / 0.704 GB, free: 92.42 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1331/2.013, allocations: 74.31 MB / 0.7766 GB, free: 19.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03858/2.052, allocations: 7.681 MB / 0.7841 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008161/2.06, allocations: 3.983 MB / 0.788 GB, free: 7.207 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04965/2.109, allocations: 18.63 MB / 0.8062 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.941e-05/2.11, allocations: 64.5 kB / 0.8062 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=287): time 7.013e-06/2.11, allocations: 0 / 0.8062 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of matching and sorting (n=370): time 0.6357/2.745, allocations: 38.74 MB / 0.8441 GB, free: 115 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/2.746, allocations: 271.5 kB / 0.8443 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01448/2.76, allocations: 5.263 MB / 0.8495 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001087/2.761, allocations: 81.77 kB / 0.8495 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004767/2.766, allocations: 4.76 MB / 0.8542 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002416/2.768, allocations: 1.362 MB / 0.8555 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001544/2.77, allocations: 189.1 kB / 0.8557 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007973/2.771, allocations: 0.6931 MB / 0.8564 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009643/2.78, allocations: 3.671 MB / 0.86 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01345/2.794, allocations: 8.815 MB / 0.8686 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01311/2.807, allocations: 5.589 MB / 0.874 GB, free: 99.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002373/2.807, allocations: 54.09 kB / 0.8741 GB, free: 99.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.05528/2.863, allocations: 15.36 MB / 0.8891 GB, free: 95.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001579/2.863, allocations: 85.72 kB / 0.8892 GB, free: 95.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003286/2.863, allocations: 187.4 kB / 0.8893 GB, free: 95.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0235/2.887, allocations: 4.013 MB / 0.8932 GB, free: 94.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01413/2.901, allocations: 2.039 MB / 0.8952 GB, free: 94.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05409/2.955, allocations: 20.8 MB / 0.9156 GB, free: 79.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01239/2.968, allocations: 0.5402 MB / 0.9161 GB, free: 78.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002426/2.97, allocations: 0.5256 MB / 0.9166 GB, free: 78.46 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (1088): * Single equations (assignments): 1083 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 44,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003266/2.973, allocations: 0.8098 MB / 0.9174 GB, free: 77.66 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001713/2.975, allocations: 0.5746 MB / 0.9179 GB, free: 77.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03588/3.011, allocations: 9.446 MB / 0.9272 GB, free: 69.79 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-05/3.011, allocations: 36 kB / 0.9272 GB, free: 69.76 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.262e-05/3.011, allocations: 23.19 kB / 0.9272 GB, free: 69.74 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001007/3.011, allocations: 18.09 kB / 0.9272 GB, free: 69.74 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06721/3.079, allocations: 18.94 MB / 0.9457 GB, free: 54.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.356e-05/3.079, allocations: 0 / 0.9457 GB, free: 54.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005619/3.084, allocations: 0.5054 MB / 0.9462 GB, free: 54.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02174/3.106, allocations: 3.559 MB / 0.9497 GB, free: 51.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009937/3.107, allocations: 63.98 kB / 0.9498 GB, free: 51.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05176/3.159, allocations: 18.73 MB / 0.9681 GB, free: 32.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/3.159, allocations: 3.938 kB / 0.9681 GB, free: 32.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04561/3.205, allocations: 13.95 MB / 0.9817 GB, free: 18.63 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002273/3.207, allocations: 0.5835 MB / 0.9823 GB, free: 18.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002666/3.21, allocations: 62.44 kB / 0.9823 GB, free: 17.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006801/3.217, allocations: 223.7 kB / 0.9825 GB, free: 17.74 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00178/3.218, allocations: 218.2 kB / 0.9827 GB, free: 17.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007072/3.219, allocations: 94.72 kB / 0.9828 GB, free: 17.44 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009978/3.229, allocations: 3.681 MB / 0.9864 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.143e-06/3.229, allocations: 0 / 0.9864 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01322/3.242, allocations: 1.843 MB / 0.9882 GB, free: 11.92 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 265 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04812/3.291, allocations: 14.82 MB / 1.003 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.412/3.703, allocations: 9.186 MB / 1.012 GB, free: 125.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/3.703, allocations: 0 / 1.012 GB, free: 125.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01115/3.714, allocations: 3.669 MB / 1.015 GB, free: 124.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007015/3.721, allocations: 0.7233 MB / 1.016 GB, free: 124.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.058/3.779, allocations: 15.31 MB / 1.031 GB, free: 122.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01224/3.791, allocations: 4.996 MB / 1.036 GB, free: 121.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01375/3.805, allocations: 2.811 MB / 1.039 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007855/3.813, allocations: 3.257 MB / 1.042 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of SimCode: time 1.803e-06/3.813, allocations: 0 / 1.042 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.305/4.118, allocations: 140.1 MB / 1.179 GB, free: 28.53 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002366/4.118, allocations: 181 kB / 1.179 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.761/12.88, allocations: 0 / 1.179 GB, free: 28.3 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat