Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.196/2.196, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.456e-05/3.465e-05, allocations: 7.797 kB / 292.8 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1234, allocations: 50.41 MB / 343.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.49/0.6135, allocations: 77.41 MB / 420.6 MB, free: 440 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.6138, allocations: 62.91 kB / 420.6 MB, free: 408 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02047/0.6343, allocations: 4.722 MB / 425.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6343, allocations: 0 / 425.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.982e-05/0.6344, allocations: 4 kB / 425.4 MB, free: 12.43 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009907/0.6354, allocations: 0.4998 MB / 425.9 MB, free: 11.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.6354, allocations: 8.031 kB / 425.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.6356, allocations: 60.66 kB / 425.9 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.19e-05/0.6357, allocations: 27.72 kB / 426 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000426/0.6361, allocations: 242.6 kB / 426.2 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.915e-05/0.6361, allocations: 22.38 kB / 426.2 MB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-05/0.6362, allocations: 25.56 kB / 426.2 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005891/0.6368, allocations: 237.7 kB / 426.5 MB, free: 11.35 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.6369, allocations: 11.94 kB / 426.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.6369, allocations: 10.69 kB / 426.5 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.6369, allocations: 4 kB / 426.5 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004708/0.6374, allocations: 163.6 kB / 426.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.639, allocations: 0.7674 MB / 427.4 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006171/0.6396, allocations: 255.2 kB / 427.7 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.64, allocations: 117.1 kB / 427.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.64, allocations: 4 kB / 427.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.6401, allocations: 42.31 kB / 427.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 3.858e-06/0.6401, allocations: 0 / 427.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.004111/0.6442, allocations: 1.625 MB / 429.5 MB, free: 8.648 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.6443, allocations: 81.11 kB / 429.5 MB, free: 8.551 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.6446, allocations: 161.9 kB / 429.7 MB, free: 8.402 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.6446, allocations: 32.39 kB / 429.7 MB, free: 8.371 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.6447, allocations: 149.6 kB / 429.9 MB, free: 8.238 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.645, allocations: 165 kB / 430 MB, free: 8.098 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/0.645, allocations: 8.938 kB / 430 MB, free: 8.098 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.6452, allocations: 343.2 kB / 430.4 MB, free: 7.766 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.6455, allocations: 98.5 kB / 430.5 MB, free: 7.703 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/0.6458, allocations: 142.2 kB / 430.6 MB, free: 7.594 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.6462, allocations: 133 kB / 430.7 MB, free: 7.512 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.6462, allocations: 0 / 430.7 MB, free: 7.512 MB / 346.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00085/0.647, allocations: 357 kB / 431.1 MB, free: 7.246 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.6471, allocations: 4 kB / 431.1 MB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.6471, allocations: 0 / 431.1 MB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.6471, allocations: 7.953 kB / 431.1 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007707/0.6479, allocations: 99.45 kB / 431.2 MB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.648, allocations: 4 kB / 431.2 MB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.6482, allocations: 11.25 kB / 431.2 MB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.6483, allocations: 15.62 kB / 431.2 MB, free: 7.121 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.000154/0.6484, allocations: 130.8 kB / 431.4 MB, free: 7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.856e-05/0.6485, allocations: 23.72 kB / 431.4 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.6487, allocations: 40.39 kB / 431.4 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.29e-05/0.6487, allocations: 11.95 kB / 431.4 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.6487, allocations: 0 / 431.4 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.6487, allocations: 0 / 431.4 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/0.651, allocations: 0.944 MB / 432.4 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.651, allocations: 0 / 432.4 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009003/0.6519, allocations: 103.3 kB / 432.5 MB, free: 6.031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/0.6519, allocations: 0 / 432.5 MB, free: 6.031 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.084e-05/0.652, allocations: 11.06 kB / 432.5 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.629e-06/0.652, allocations: 4 kB / 432.5 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.652, allocations: 0 / 432.5 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.6534, allocations: 0.6629 MB / 433.2 MB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.6535, allocations: 100.8 kB / 433.3 MB, free: 5.332 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.366e-05/0.6536, allocations: 10.62 kB / 433.3 MB, free: 5.328 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.6539, allocations: 9.5 kB / 433.3 MB, free: 5.324 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/0.654, allocations: 26.34 kB / 433.3 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/0.654, allocations: 23.42 kB / 433.3 MB, free: 5.285 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001614/0.6542, allocations: 128.7 kB / 433.4 MB, free: 5.172 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6542, allocations: 0 / 433.4 MB, free: 5.172 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005719/0.6548, allocations: 82.81 kB / 433.5 MB, free: 5.105 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * 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.001703/0.6565, allocations: 1.422 MB / 434.9 MB, free: 3.777 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007559/0.6573, allocations: 281.1 kB / 435.2 MB, free: 3.578 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6573, allocations: 0 / 435.2 MB, free: 3.578 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003379/0.6577, allocations: 146.2 kB / 435.4 MB, free: 3.473 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00069/0.6584, allocations: 61.28 kB / 435.4 MB, free: 3.426 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.6609, allocations: 0.9782 MB / 436.4 MB, free: 2.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/0.6614, allocations: 0.7806 MB / 437.2 MB, free: 1.672 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000244/0.6617, allocations: 26.97 kB / 437.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.6619, allocations: 95.22 kB / 437.3 MB, free: 1.605 MB / 346.7 MB Notification: Performance of SimCode: time 1.352e-06/0.6619, allocations: 0 / 437.3 MB, free: 1.605 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03298/0.6949, allocations: 5.5 MB / 442.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002842/0.6952, allocations: 162 kB / 443 MB, free: 11.98 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.72/3.415, allocations: 3.938 kB / 443 MB, free: 11.97 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat