Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.64/2.64, allocations: 270 MB / 282.6 MB, free: 1.875 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.169e-05/4.176e-05, allocations: 8 kB / 347.1 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3939, allocations: 61.86 MB / 408.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1844/0.5783, allocations: 103.3 MB / 0.5002 GB, free: 3.258 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/0.5787, allocations: 75.97 kB / 0.5003 GB, free: 3.184 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6577/1.236, allocations: 84.92 MB / 0.5832 GB, free: 56.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.236, allocations: 0 / 0.5832 GB, free: 56.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001559/1.237, allocations: 75.98 kB / 0.5833 GB, free: 56.79 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.01161/1.248, allocations: 3.451 MB / 0.5866 GB, free: 53.28 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/1.248, allocations: 12.03 kB / 0.5866 GB, free: 53.27 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003448/1.252, allocations: 0.7547 MB / 0.5874 GB, free: 52.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02593/1.278, allocations: 3.489 MB / 0.5908 GB, free: 49 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01465/1.292, allocations: 4.034 MB / 0.5947 GB, free: 44.91 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002422/1.293, allocations: 291.5 kB / 0.595 GB, free: 44.63 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001642/1.294, allocations: 379.8 kB / 0.5954 GB, free: 44.26 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02555/1.32, allocations: 9.643 MB / 0.6048 GB, free: 34.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002075/1.32, allocations: 23.81 kB / 0.6048 GB, free: 34.17 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002179/1.322, allocations: 171.9 kB / 0.605 GB, free: 34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00235/1.325, allocations: 1.129 MB / 0.6061 GB, free: 32.88 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02421/1.349, allocations: 9.099 MB / 0.615 GB, free: 23.77 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05935/1.409, allocations: 31.7 MB / 0.6459 GB, free: 7.223 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009209/1.418, allocations: 3.288 MB / 0.6491 GB, free: 3.711 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00245/1.42, allocations: 1.058 MB / 0.6502 GB, free: 2.652 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001872/1.422, allocations: 1.303 MB / 0.6514 GB, free: 1.125 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/1.422, allocations: 51.81 kB / 0.6515 GB, free: 1.066 MB / 458.7 MB Notification: Performance of pre-optimization done (n=185): time 5.12e-06/1.422, allocations: 0 / 0.6515 GB, free: 1.066 MB / 458.7 MB Notification: Performance of matching and sorting (n=191): time 0.0295/1.452, allocations: 7.996 MB / 0.6593 GB, free: 8.98 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/1.452, allocations: 68.72 kB / 0.6594 GB, free: 8.902 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004772/1.457, allocations: 2.301 MB / 0.6616 GB, free: 6.578 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002398/1.457, allocations: 49.7 kB / 0.6617 GB, free: 6.523 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002521/1.459, allocations: 2.668 MB / 0.6643 GB, free: 3.816 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009847/1.46, allocations: 0.6977 MB / 0.6649 GB, free: 3.109 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003152/1.461, allocations: 96 kB / 0.665 GB, free: 3.016 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000433/1.461, allocations: 0.5174 MB / 0.6655 GB, free: 2.488 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003664/1.465, allocations: 1.485 MB / 0.667 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006206/1.471, allocations: 4.285 MB / 0.6712 GB, free: 11.31 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005954/1.477, allocations: 2.585 MB / 0.6737 GB, free: 8.723 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.995e-05/1.477, allocations: 28 kB / 0.6737 GB, free: 8.695 MB / 490.7 MB Notification: Performance of matching and sorting (n=643) (initialization): time 0.01368/1.491, allocations: 5.389 MB / 0.679 GB, free: 3.297 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.888e-05/1.491, allocations: 48 kB / 0.679 GB, free: 3.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001459/1.491, allocations: 100 kB / 0.6791 GB, free: 3.152 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004827/1.492, allocations: 185.6 kB / 0.6793 GB, free: 2.969 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006246/1.498, allocations: 1.076 MB / 0.6804 GB, free: 1.891 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/1.5, allocations: 1.67 MB / 0.682 GB, free: 88 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003952/1.504, allocations: 216 kB / 0.6822 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005842/1.505, allocations: 288 kB / 0.6825 GB, free: 15.59 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.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 (591): * Single equations (assignments): 584 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008782/1.505, allocations: 466.7 kB / 0.6829 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004566/1.506, allocations: 244.8 kB / 0.6831 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005863/1.512, allocations: 2.51 MB / 0.6856 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.292e-05/1.512, allocations: 24 kB / 0.6856 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.512, allocations: 7.922 kB / 0.6856 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/1.512, allocations: 7.969 kB / 0.6856 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01937/1.531, allocations: 7.924 MB / 0.6934 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.056e-05/1.531, allocations: 8 kB / 0.6934 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002035/1.533, allocations: 255.6 kB / 0.6936 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000237/1.534, allocations: 60.77 kB / 0.6937 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/1.534, allocations: 43.98 kB / 0.6937 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/1.536, allocations: 1.488 MB / 0.6952 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.62e-05/1.536, allocations: 15.94 kB / 0.6952 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008563/1.544, allocations: 4.788 MB / 0.6999 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007436/1.545, allocations: 301.9 kB / 0.7002 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004148/1.545, allocations: 39.94 kB / 0.7002 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/1.547, allocations: 59.86 kB / 0.7002 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002838/1.547, allocations: 120.7 kB / 0.7004 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001807/1.547, allocations: 59.98 kB / 0.7004 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003464/1.551, allocations: 1.567 MB / 0.702 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.91e-07/1.551, allocations: 0 / 0.702 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00507/1.556, allocations: 0.8124 MB / 0.7027 GB, free: 10 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01003/1.566, allocations: 8.042 MB / 0.7106 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.3465/1.912, allocations: 3.601 MB / 0.7141 GB, free: 145.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/1.913, allocations: 2.219 kB / 0.7141 GB, free: 145.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002714/1.915, allocations: 1.198 MB / 0.7153 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/1.917, allocations: 313.7 kB / 0.7156 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0235/1.941, allocations: 8.724 MB / 0.7241 GB, free: 144 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005449/1.947, allocations: 3.228 MB / 0.7273 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003605/1.95, allocations: 1.737 MB / 0.729 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.282e-06/1.95, allocations: 0 / 0.729 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.51/5.46, allocations: 84.6 MB / 0.8116 GB, free: 84.81 MB / 0.5105 GB