Running command: "" <> buildModelFMU(ModelicaTest.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_KinematicPTP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.423/2.423, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.008e-05/4.025e-05, allocations: 7.234 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1335, allocations: 61.88 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5094/0.643, allocations: 89.13 MB / 499.5 MB, free: 14.92 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.6433, allocations: 56.66 kB / 499.5 MB, free: 14.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07236/0.7156, allocations: 11.82 MB / 0.4994 GB, free: 3.027 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.7157, allocations: 0 / 0.4994 GB, free: 3.027 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.817e-05/0.7158, allocations: 8 kB / 0.4994 GB, free: 3.02 MB / 410.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.005249/0.721, allocations: 0.9062 MB / 0.5003 GB, free: 2.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.063e-05/0.7212, allocations: 8.031 kB / 0.5003 GB, free: 2.062 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000374/0.7215, allocations: 90.7 kB / 0.5004 GB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003225/0.7219, allocations: 63.44 kB / 0.5004 GB, free: 1.902 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.7231, allocations: 362.7 kB / 0.5008 GB, free: 1.512 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008927/0.7241, allocations: 279.1 kB / 0.501 GB, free: 1.203 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002418/0.7243, allocations: 40 kB / 0.5011 GB, free: 1.164 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002701/0.7271, allocations: 0.6156 MB / 0.5017 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.157e-05/0.7272, allocations: 11.84 kB / 0.5017 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/0.7274, allocations: 16 kB / 0.5017 GB, free: 492 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.022e-05/0.7274, allocations: 8 kB / 0.5017 GB, free: 484 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003057/0.7305, allocations: 0.8331 MB / 0.5025 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007686/0.7382, allocations: 2.087 MB / 0.5046 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003571/0.7419, allocations: 0.5766 MB / 0.5051 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.7433, allocations: 318.8 kB / 0.5054 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.7435, allocations: 8.547 kB / 0.5054 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.968e-05/0.7435, allocations: 39.12 kB / 0.5055 GB, free: 12.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 5.3e-06/0.7435, allocations: 0 / 0.5055 GB, free: 12.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=122): time 0.08426/0.8278, allocations: 7.401 MB / 0.5127 GB, free: 4.938 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/0.828, allocations: 90.23 kB / 0.5128 GB, free: 4.828 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008032/0.8288, allocations: 375.3 kB / 0.5131 GB, free: 4.453 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003497/0.8291, allocations: 49.64 kB / 0.5132 GB, free: 4.398 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.8294, allocations: 217.1 kB / 0.5134 GB, free: 4.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007005/0.8301, allocations: 398.2 kB / 0.5138 GB, free: 3.785 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003149/0.8304, allocations: 28 kB / 0.5138 GB, free: 3.758 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.8307, allocations: 374.8 kB / 0.5142 GB, free: 3.383 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003001/0.8337, allocations: 0.9673 MB / 0.5151 GB, free: 2.414 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00319/0.8369, allocations: 1.113 MB / 0.5162 GB, free: 1.258 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002697/0.8396, allocations: 0.8308 MB / 0.517 GB, free: 440 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.8397, allocations: 0 / 0.517 GB, free: 440 kB / 426.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.008497/0.8482, allocations: 2.081 MB / 0.519 GB, free: 14.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.288e-05/0.8483, allocations: 11.94 kB / 0.519 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/0.8484, allocations: 0 / 0.519 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.687e-05/0.8485, allocations: 12.31 kB / 0.5191 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008945/0.8574, allocations: 459.4 kB / 0.5195 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.86e-05/0.8576, allocations: 19.88 kB / 0.5195 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006314/0.8639, allocations: 279.7 kB / 0.5198 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005722/0.8645, allocations: 43.98 kB / 0.5198 GB, free: 13.53 MB / 442.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.000952/0.8655, allocations: 176.7 kB / 0.52 GB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005908/0.8661, allocations: 59.25 kB / 0.52 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004985/0.8666, allocations: 112.7 kB / 0.5202 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.593e-05/0.8667, allocations: 15.94 kB / 0.5202 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/0.8667, allocations: 0 / 0.5202 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.947e-05/0.8668, allocations: 15.92 kB / 0.5202 GB, free: 13.15 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02232/0.8891, allocations: 4.709 MB / 0.5248 GB, free: 8.098 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-05/0.8892, allocations: 24 kB / 0.5248 GB, free: 8.074 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003245/0.8925, allocations: 415.7 kB / 0.5252 GB, free: 7.668 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.468e-05/0.8926, allocations: 36 kB / 0.5252 GB, free: 7.633 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000225/0.8928, allocations: 51.95 kB / 0.5253 GB, free: 7.582 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.476e-05/0.8929, allocations: 39.86 kB / 0.5253 GB, free: 7.543 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.38e-05/0.8929, allocations: 31.88 kB / 0.5254 GB, free: 7.512 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005881/0.8988, allocations: 3.311 MB / 0.5286 GB, free: 3.332 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007003/0.8995, allocations: 252.1 kB / 0.5288 GB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/0.8998, allocations: 47.98 kB / 0.5289 GB, free: 3.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002718/0.9025, allocations: 255.8 kB / 0.5291 GB, free: 2.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008071/0.9034, allocations: 239.1 kB / 0.5293 GB, free: 2.535 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/0.9035, allocations: 60 kB / 0.5294 GB, free: 2.477 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005203/0.9041, allocations: 274.1 kB / 0.5297 GB, free: 2.211 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.9041, allocations: 0 / 0.5297 GB, free: 2.211 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001696/0.9058, allocations: 236 kB / 0.5299 GB, free: 1.98 MB / 442.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.009449/0.9153, allocations: 10.31 MB / 0.54 GB, free: 7.004 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004884/0.9202, allocations: 1.652 MB / 0.5416 GB, free: 5.355 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.935e-05/0.9203, allocations: 12.12 kB / 0.5416 GB, free: 5.344 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003425/0.9237, allocations: 0.7548 MB / 0.5423 GB, free: 4.594 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.9252, allocations: 130.2 kB / 0.5424 GB, free: 4.469 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006897/0.9322, allocations: 1.843 MB / 0.5442 GB, free: 2.297 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008224/0.933, allocations: 0.9359 MB / 0.5452 GB, free: 1.332 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002376/0.9354, allocations: 194.2 kB / 0.5453 GB, free: 1.141 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/0.9367, allocations: 219.4 kB / 0.5456 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of SimCode: time 1.443e-06/0.9368, allocations: 0 / 0.5456 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07676/1.014, allocations: 19.98 MB / 0.5651 GB, free: 13.03 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003702/1.014, allocations: 141 kB / 0.5652 GB, free: 12.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.626/4.64, allocations: 0 / 0.5652 GB, free: 12.8 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP_res.mat does not exist to compare? outputFormat=mat