Running command: "" <> buildModelFMU(ModelicaTest.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Blocks_KinematicPTP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.582/2.582, allocations: 270 MB / 282.7 MB, free: 1.82 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.207e-05/4.217e-05, allocations: 4 kB / 347 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.3989, allocations: 61.88 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1749/0.5739, allocations: 89.12 MB / 498 MB, free: 1.402 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.5742, allocations: 63.97 kB / 498.1 MB, free: 1.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07286/0.6471, allocations: 11.81 MB / 0.498 GB, free: 5.488 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6471, allocations: 0 / 0.498 GB, free: 5.488 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.568e-05/0.6472, allocations: 11.98 kB / 0.498 GB, free: 5.477 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.003585/0.6508, allocations: 0.8959 MB / 0.4989 GB, free: 4.535 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.6508, allocations: 8.031 kB / 0.4989 GB, free: 4.527 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002029/0.6511, allocations: 94.64 kB / 0.499 GB, free: 4.426 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.6513, allocations: 67.44 kB / 0.499 GB, free: 4.359 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000766/0.652, allocations: 362.7 kB / 0.4994 GB, free: 3.969 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005589/0.6526, allocations: 279.1 kB / 0.4996 GB, free: 3.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.6528, allocations: 40 kB / 0.4997 GB, free: 3.621 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.6544, allocations: 0.6156 MB / 0.5003 GB, free: 2.965 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/0.6544, allocations: 11.84 kB / 0.5003 GB, free: 2.953 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-05/0.6545, allocations: 16 kB / 0.5003 GB, free: 2.938 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.6546, allocations: 12 kB / 0.5003 GB, free: 2.926 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/0.6569, allocations: 0.8214 MB / 0.5011 GB, free: 2.105 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004732/0.6617, allocations: 2.095 MB / 0.5032 GB, free: 15.92 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/0.6642, allocations: 0.5824 MB / 0.5037 GB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008812/0.6651, allocations: 318.8 kB / 0.504 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.6652, allocations: 4.562 kB / 0.504 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.6653, allocations: 43.12 kB / 0.5041 GB, free: 14.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=66): time 3.337e-06/0.6653, allocations: 0 / 0.5041 GB, free: 14.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=122): time 0.03936/0.7047, allocations: 7.399 MB / 0.5113 GB, free: 7.387 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.358e-05/0.7048, allocations: 90.23 kB / 0.5114 GB, free: 7.277 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007612/0.7056, allocations: 371.3 kB / 0.5117 GB, free: 6.906 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002879/0.7059, allocations: 45.7 kB / 0.5118 GB, free: 6.855 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.7061, allocations: 267.5 kB / 0.512 GB, free: 6.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006016/0.7067, allocations: 398.2 kB / 0.5124 GB, free: 6.195 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.7069, allocations: 24 kB / 0.5124 GB, free: 6.172 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.7071, allocations: 362.7 kB / 0.5128 GB, free: 5.809 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002835/0.71, allocations: 0.9713 MB / 0.5137 GB, free: 4.836 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003031/0.713, allocations: 1.109 MB / 0.5148 GB, free: 3.684 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002547/0.7156, allocations: 0.8264 MB / 0.5156 GB, free: 2.859 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.7156, allocations: 0 / 0.5156 GB, free: 2.859 MB / 442.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.006362/0.722, allocations: 2.07 MB / 0.5176 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.7221, allocations: 8 kB / 0.5177 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.7221, allocations: 4.312 kB / 0.5177 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.456e-05/0.7221, allocations: 12 kB / 0.5177 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005615/0.7278, allocations: 459.4 kB / 0.5181 GB, free: 316 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.653e-05/0.7278, allocations: 15.94 kB / 0.5181 GB, free: 300 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004204/0.7321, allocations: 283.7 kB / 0.5184 GB, free: 16 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003432/0.7324, allocations: 44.06 kB / 0.5184 GB, free: 15.97 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 (kinematicPTP2a.noWphase,kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP1a.noWphase,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP1b.noWphase,integrator3.local_reset,integrator2.local_reset,integrator1.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0005839/0.733, allocations: 172.7 kB / 0.5186 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003641/0.7334, allocations: 71.16 kB / 0.5187 GB, free: 15.72 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003737/0.7338, allocations: 108.7 kB / 0.5188 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.7338, allocations: 15.94 kB / 0.5188 GB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/0.7338, allocations: 0 / 0.5188 GB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.898e-05/0.7339, allocations: 11.92 kB / 0.5188 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01608/0.75, allocations: 4.718 MB / 0.5234 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-05/0.75, allocations: 23.94 kB / 0.5234 GB, free: 10.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003251/0.7533, allocations: 415.8 kB / 0.5238 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.096e-05/0.7534, allocations: 28 kB / 0.5238 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002308/0.7536, allocations: 51.95 kB / 0.5239 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.053e-05/0.7537, allocations: 39.86 kB / 0.5239 GB, free: 9.984 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.253e-05/0.7537, allocations: 31.88 kB / 0.524 GB, free: 9.953 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006328/0.7601, allocations: 3.314 MB / 0.5272 GB, free: 5.77 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008089/0.761, allocations: 248.2 kB / 0.5274 GB, free: 5.508 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/0.7612, allocations: 51.98 kB / 0.5275 GB, free: 5.457 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002803/0.7641, allocations: 251.8 kB / 0.5277 GB, free: 5.211 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000885/0.765, allocations: 243.1 kB / 0.528 GB, free: 4.973 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/0.7652, allocations: 56 kB / 0.528 GB, free: 4.918 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005853/0.7658, allocations: 274.1 kB / 0.5283 GB, free: 4.652 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7658, allocations: 0 / 0.5283 GB, free: 4.652 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001613/0.7674, allocations: 240 kB / 0.5285 GB, free: 4.418 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 4 (integrator2.y,integrator3.y,integrator.y,integrator1.y) * Number of discrete variables: 8 (kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP2a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1a.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 122 * 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.3465/1.114, allocations: 10.31 MB / 0.5386 GB, free: 120.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004736/1.119, allocations: 1.656 MB / 0.5402 GB, free: 120.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.461e-05/1.119, allocations: 3.031 kB / 0.5402 GB, free: 120.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003137/1.122, allocations: 0.7541 MB / 0.5409 GB, free: 120.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/1.123, allocations: 132.9 kB / 0.5411 GB, free: 120.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005914/1.129, allocations: 1.878 MB / 0.5429 GB, free: 119.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000581/1.13, allocations: 0.935 MB / 0.5438 GB, free: 118.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001378/1.131, allocations: 224.1 kB / 0.544 GB, free: 118.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.323e-06/1.131, allocations: 0 / 0.544 GB, free: 118.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.838/3.969, allocations: 15.83 MB / 0.5595 GB, free: 108.9 MB / 458.7 MB