Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.931/1.931, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.437e-05/3.446e-05, allocations: 0 / 255.4 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09333/0.09341, allocations: 44.5 MB / 300 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4814/0.5748, allocations: 71.19 MB / 371.1 MB, free: 21.18 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/0.5752, allocations: 65.92 kB / 371.2 MB, free: 21.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01593/0.5912, allocations: 2.849 MB / 374.1 MB, free: 20.67 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5912, allocations: 3.938 kB / 374.1 MB, free: 20.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.5912, allocations: 4.531 kB / 374.1 MB, free: 20.66 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006435/0.5919, allocations: 424.1 kB / 374.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.592, allocations: 8.781 kB / 374.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.351e-05/0.592, allocations: 55 kB / 374.5 MB, free: 20.24 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.204e-05/0.5921, allocations: 22.34 kB / 374.6 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.5924, allocations: 210.3 kB / 374.8 MB, free: 20.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.5924, allocations: 15.08 kB / 374.8 MB, free: 20.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/0.5925, allocations: 22.5 kB / 374.8 MB, free: 20.01 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/0.5929, allocations: 167 kB / 375 MB, free: 19.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.5929, allocations: 4.594 kB / 375 MB, free: 19.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.593, allocations: 5.531 kB / 375 MB, free: 19.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.593, allocations: 9.312 kB / 375 MB, free: 19.95 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/0.5933, allocations: 91.56 kB / 375.1 MB, free: 19.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.5949, allocations: 0.7776 MB / 375.9 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.5952, allocations: 110 kB / 376 MB, free: 19.33 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.971e-05/0.5953, allocations: 49.12 kB / 376 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.5953, allocations: 1.688 kB / 376 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.5953, allocations: 37.19 kB / 376.1 MB, free: 19.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.544e-06/0.5954, allocations: 0 / 376.1 MB, free: 19.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003538/0.5957, allocations: 110.4 kB / 376.2 MB, free: 19.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.5958, allocations: 112.6 kB / 376.3 MB, free: 19.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.596, allocations: 193.1 kB / 376.5 MB, free: 18.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.5961, allocations: 32.31 kB / 376.5 MB, free: 18.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.5962, allocations: 196.8 kB / 376.7 MB, free: 18.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.289e-05/0.5962, allocations: 55.45 kB / 376.7 MB, free: 18.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.104e-05/0.5962, allocations: 4.781 kB / 376.7 MB, free: 18.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.548e-05/0.5963, allocations: 318.4 kB / 377.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.5964, allocations: 37.62 kB / 377.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.5966, allocations: 125.6 kB / 377.2 MB, free: 18.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.5968, allocations: 61.02 kB / 377.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.5968, allocations: 0.9688 kB / 377.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004314/0.5973, allocations: 190.9 kB / 377.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.5973, allocations: 6.781 kB / 377.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.5973, allocations: 3.438 kB / 377.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.5974, allocations: 4.406 kB / 377.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.5977, allocations: 47.38 kB / 377.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.5977, allocations: 8.953 kB / 377.5 MB, free: 18.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.5979, allocations: 23.47 kB / 377.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.598, allocations: 12.09 kB / 377.6 MB, free: 18.23 MB / 314.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0001125/0.5981, allocations: 128.9 kB / 377.7 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.5982, allocations: 19.19 kB / 377.7 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.392e-05/0.5983, allocations: 18.02 kB / 377.7 MB, free: 18.1 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.5983, allocations: 2.219 kB / 377.7 MB, free: 18.1 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.5983, allocations: 5.281 kB / 377.7 MB, free: 18.1 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.5983, allocations: 4.953 kB / 377.7 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006399/0.599, allocations: 247 kB / 378 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.599, allocations: 1.562 kB / 378 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003264/0.5993, allocations: 32.39 kB / 378 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/0.5994, allocations: 5.375 kB / 378 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.5994, allocations: 10.38 kB / 378 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.5994, allocations: 2.891 kB / 378 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5994, allocations: 0.9688 kB / 378 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004133/0.5998, allocations: 414.6 kB / 378.4 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-05/0.5999, allocations: 98.72 kB / 378.5 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.6, allocations: 10.52 kB / 378.5 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.6002, allocations: 1.312 kB / 378.5 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.6003, allocations: 11.03 kB / 378.6 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.6003, allocations: 7.844 kB / 378.6 MB, free: 17.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001749/0.6005, allocations: 150.7 kB / 378.7 MB, free: 17.37 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6005, allocations: 0 / 378.7 MB, free: 17.37 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005776/0.6011, allocations: 37.81 kB / 378.7 MB, free: 17.37 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.001046/0.6021, allocations: 1.089 MB / 379.8 MB, free: 32.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003274/0.6025, allocations: 101.9 kB / 379.9 MB, free: 32.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6025, allocations: 0 / 379.9 MB, free: 32.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.78e-05/0.6026, allocations: 37.67 kB / 380 MB, free: 32.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005367/0.6031, allocations: 29.97 kB / 380 MB, free: 32.35 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.6047, allocations: 0.6492 MB / 380.6 MB, free: 31.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.6051, allocations: 0.7331 MB / 381.4 MB, free: 31.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.6053, allocations: 56.84 kB / 381.4 MB, free: 31.16 MB / 330.7 MB Notification: Performance of SimCode: time 1.492e-06/0.6053, allocations: 0 / 381.4 MB, free: 31.16 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.509/3.114, allocations: 2.705 MB / 384.1 MB, free: 30.95 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat does not exist to compare? outputFormat=mat