Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.542/2.542, allocations: 270 MB / 282.6 MB, free: 1.938 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.638e-05/5.673e-05, allocations: 0 / 347.1 MB, free: 3.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.4217, allocations: 61.87 MB / 408.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2301/0.6519, allocations: 111.2 MB / 0.5079 GB, free: 11.38 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.6522, allocations: 79.95 kB / 0.508 GB, free: 11.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8894/1.542, allocations: 128.6 MB / 0.6336 GB, free: 5.891 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.542, allocations: 0 / 0.6336 GB, free: 5.891 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003608/1.542, allocations: 115.9 kB / 0.6337 GB, free: 5.777 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.02554/1.568, allocations: 6.321 MB / 0.6399 GB, free: 15.38 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/1.568, allocations: 12.03 kB / 0.6399 GB, free: 15.37 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006387/1.574, allocations: 1.308 MB / 0.6412 GB, free: 14.05 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0648/1.639, allocations: 8.322 MB / 0.6493 GB, free: 5.703 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03009/1.669, allocations: 7.068 MB / 0.6562 GB, free: 14.57 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007787/1.67, allocations: 451.8 kB / 0.6566 GB, free: 14.13 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004145/1.674, allocations: 0.5895 MB / 0.6572 GB, free: 13.54 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05244/1.727, allocations: 15.55 MB / 0.6724 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000405/1.727, allocations: 79.3 kB / 0.6725 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003296/1.73, allocations: 283.8 kB / 0.6727 GB, free: 12.47 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004092/1.735, allocations: 1.62 MB / 0.6743 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04474/1.779, allocations: 13.58 MB / 0.6876 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5371/2.317, allocations: 64.06 MB / 0.7501 GB, free: 69.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02261/2.339, allocations: 6.38 MB / 0.7564 GB, free: 67.78 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007211/2.346, allocations: 3.515 MB / 0.7598 GB, free: 67.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03553/2.382, allocations: 14.43 MB / 0.7739 GB, free: 64.15 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.339e-05/2.382, allocations: 59.88 kB / 0.7739 GB, free: 64.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=289): time 8.295e-06/2.382, allocations: 3.5 kB / 0.7739 GB, free: 64.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=339): time 0.1805/2.563, allocations: 29.65 MB / 0.8029 GB, free: 58.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.362e-05/2.563, allocations: 210.9 kB / 0.8031 GB, free: 58.49 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01157/2.574, allocations: 4.768 MB / 0.8078 GB, free: 56.87 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000917/2.575, allocations: 74.59 kB / 0.8078 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003845/2.579, allocations: 4.3 MB / 0.812 GB, free: 53.64 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002102/2.581, allocations: 1.244 MB / 0.8132 GB, free: 52.72 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00138/2.583, allocations: 178.3 kB / 0.8134 GB, free: 52.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007115/2.584, allocations: 0.6876 MB / 0.8141 GB, free: 52.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01052/2.594, allocations: 4.494 MB / 0.8185 GB, free: 50.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01435/2.609, allocations: 9.389 MB / 0.8276 GB, free: 42.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0141/2.623, allocations: 6.422 MB / 0.8339 GB, free: 39.41 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001895/2.623, allocations: 55.69 kB / 0.834 GB, free: 39.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.0702/2.693, allocations: 17.91 MB / 0.8515 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/2.693, allocations: 80 kB / 0.8515 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002489/2.694, allocations: 175.9 kB / 0.8517 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03998/2.734, allocations: 5.633 MB / 0.8572 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01412/2.748, allocations: 2.064 MB / 0.8592 GB, free: 20.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04944/2.797, allocations: 23.69 MB / 0.8824 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0122/2.81, allocations: 0.5534 MB / 0.8829 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002345/2.812, allocations: 0.5 MB / 0.8834 GB, free: 14.82 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.003396/2.815, allocations: 0.7618 MB / 0.8841 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001746/2.817, allocations: 0.4936 MB / 0.8846 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05832/2.875, allocations: 12.35 MB / 0.8967 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001726/2.876, allocations: 67.83 kB / 0.8967 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.41e-05/2.876, allocations: 8 kB / 0.8967 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.7e-05/2.876, allocations: 11.95 kB / 0.8968 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0954/2.971, allocations: 23.95 MB / 0.9201 GB, free: 8.645 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-05/2.971, allocations: 8 kB / 0.9201 GB, free: 8.637 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006266/2.978, allocations: 0.5694 MB / 0.9207 GB, free: 8.066 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03738/3.015, allocations: 4.647 MB / 0.9252 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009971/3.016, allocations: 58.5 kB / 0.9253 GB, free: 3.355 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4721/3.488, allocations: 18.91 MB / 0.9438 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/3.488, allocations: 11.75 kB / 0.9438 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05842/3.547, allocations: 17.37 MB / 0.9607 GB, free: 143.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001733/3.549, allocations: 0.5248 MB / 0.9613 GB, free: 143 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002194/3.551, allocations: 59.98 kB / 0.9613 GB, free: 143 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006461/3.557, allocations: 247 kB / 0.9615 GB, free: 143 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001373/3.559, allocations: 197.7 kB / 0.9617 GB, free: 143 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005854/3.559, allocations: 91.91 kB / 0.9618 GB, free: 143 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.008667/3.568, allocations: 3.302 MB / 0.965 GB, free: 142.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.242e-06/3.568, allocations: 0 / 0.965 GB, free: 142.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01155/3.58, allocations: 1.712 MB / 0.9667 GB, free: 142.3 MB / 0.5573 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.06055/3.64, allocations: 19.11 MB / 0.9854 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02256/3.663, allocations: 10.13 MB / 0.9953 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/3.663, allocations: 3.969 kB / 0.9953 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008483/3.671, allocations: 3.922 MB / 0.9991 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005405/3.677, allocations: 0.5698 MB / 0.9997 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04772/3.725, allocations: 16.26 MB / 1.016 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01043/3.735, allocations: 4.763 MB / 1.02 GB, free: 115 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007717/3.743, allocations: 2.971 MB / 1.023 GB, free: 112.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.613e-06/3.743, allocations: 2.656 kB / 1.023 GB, free: 112.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.716/9.459, allocations: 179.3 MB / 1.198 GB, free: 129.4 MB / 0.5573 GB