Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.551/2.551, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.995e-05/4e-05, allocations: 4 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1312, allocations: 61.88 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5912/0.7225, allocations: 107.9 MB / 0.5061 GB, free: 12.04 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.7228, allocations: 75.97 kB / 0.5062 GB, free: 11.96 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2461/0.969, allocations: 52.55 MB / 0.5575 GB, free: 7.137 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.969, allocations: 0 / 0.5575 GB, free: 7.137 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001487/0.9692, allocations: 48 kB / 0.5575 GB, free: 7.09 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.008132/0.9773, allocations: 2.239 MB / 0.5597 GB, free: 4.793 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/0.9774, allocations: 12.03 kB / 0.5597 GB, free: 4.781 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001748/0.9792, allocations: 442.7 kB / 0.5602 GB, free: 4.336 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003728/0.9829, allocations: 440.1 kB / 0.5606 GB, free: 3.902 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005279/0.9883, allocations: 1.465 MB / 0.562 GB, free: 2.391 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002923/0.9886, allocations: 197.3 kB / 0.5622 GB, free: 2.195 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001116/0.9897, allocations: 256 kB / 0.5624 GB, free: 1.945 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01955/1.009, allocations: 5.532 MB / 0.5678 GB, free: 12.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000103/1.009, allocations: 19.78 kB / 0.5679 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004508/1.01, allocations: 123.9 kB / 0.568 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009163/1.011, allocations: 407.5 kB / 0.5684 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01747/1.028, allocations: 4.254 MB / 0.5725 GB, free: 7.305 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03496/1.063, allocations: 18.49 MB / 0.5906 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007043/1.07, allocations: 1.201 MB / 0.5917 GB, free: 3.098 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/1.072, allocations: 374.4 kB / 0.5921 GB, free: 2.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002647/1.074, allocations: 2.066 MB / 0.5941 GB, free: 340 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/1.074, allocations: 43.08 kB / 0.5942 GB, free: 288 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=65): time 4.028e-06/1.074, allocations: 0 / 0.5942 GB, free: 288 kB / 0.4948 GB Notification: Performance of matching and sorting (n=109): time 0.03359/1.108, allocations: 4.956 MB / 0.599 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/1.108, allocations: 60.41 kB / 0.5991 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00318/1.111, allocations: 1.517 MB / 0.6005 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001754/1.111, allocations: 41.7 kB / 0.6006 GB, free: 9.672 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001442/1.113, allocations: 1.509 MB / 0.6021 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004997/1.113, allocations: 402.6 kB / 0.6024 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/1.114, allocations: 52 kB / 0.6025 GB, free: 7.691 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002597/1.114, allocations: 419.4 kB / 0.6029 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/1.116, allocations: 0.7355 MB / 0.6036 GB, free: 6.539 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003079/1.119, allocations: 2.164 MB / 0.6057 GB, free: 3.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002993/1.122, allocations: 1.261 MB / 0.6069 GB, free: 2.398 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.438e-05/1.122, allocations: 16 kB / 0.607 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.3557/1.478, allocations: 2.792 MB / 0.6097 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.32e-05/1.478, allocations: 31.3 kB / 0.6097 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/1.478, allocations: 51.16 kB / 0.6098 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001688/1.478, allocations: 76.5 kB / 0.6098 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004183/1.482, allocations: 0.6033 MB / 0.6104 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000179/1.483, allocations: 101.7 kB / 0.6105 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002644/1.485, allocations: 116.4 kB / 0.6106 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005133/1.486, allocations: 150.9 kB / 0.6108 GB, free: 141.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 38 (jointSSP.prismatic.positiveBranch,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (341): * Single equations (assignments): 341 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000625/1.486, allocations: 326.9 kB / 0.6111 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003827/1.487, allocations: 162.4 kB / 0.6112 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003276/1.49, allocations: 1.217 MB / 0.6124 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/1.49, allocations: 11.08 kB / 0.6124 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.49, allocations: 0 / 0.6124 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.918e-05/1.49, allocations: 6.875 kB / 0.6125 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01519/1.505, allocations: 6.137 MB / 0.6184 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.633e-05/1.506, allocations: 20.31 kB / 0.6185 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/1.507, allocations: 206.4 kB / 0.6187 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.205e-05/1.507, allocations: 29.88 kB / 0.6187 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.891e-05/1.507, allocations: 45.22 kB / 0.6187 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.504e-05/1.507, allocations: 40.3 kB / 0.6188 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.892e-05/1.507, allocations: 29.91 kB / 0.6188 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003411/1.511, allocations: 3.115 MB / 0.6218 GB, free: 137 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007343/1.512, allocations: 265.1 kB / 0.6221 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003356/1.512, allocations: 46.66 kB / 0.6221 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/1.513, allocations: 41.91 kB / 0.6222 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/1.513, allocations: 138 kB / 0.6223 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/1.513, allocations: 51.48 kB / 0.6224 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002844/1.516, allocations: 1.112 MB / 0.6234 GB, free: 136.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.12e-07/1.516, allocations: 0 / 0.6234 GB, free: 136.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003864/1.52, allocations: 474 kB / 0.6239 GB, free: 136.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004833/1.525, allocations: 9.431 MB / 0.6331 GB, free: 128 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005725/1.531, allocations: 1.629 MB / 0.6347 GB, free: 128 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.998e-05/1.531, allocations: 2.25 kB / 0.6347 GB, free: 128 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001296/1.532, allocations: 459.1 kB / 0.6351 GB, free: 128 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/1.535, allocations: 260.6 kB / 0.6354 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/1.551, allocations: 4.729 MB / 0.64 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004128/1.555, allocations: 2.132 MB / 0.6421 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003735/1.559, allocations: 0.6706 MB / 0.6427 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002254/1.561, allocations: 0.9596 MB / 0.6437 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.663e-06/1.561, allocations: 0 / 0.6437 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1116/1.673, allocations: 35.26 MB / 0.6781 GB, free: 121 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003056/1.673, allocations: 147 kB / 0.6783 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.454/5.127, allocations: 0 / 0.6783 GB, free: 120.8 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat