Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.323/2.323, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.457e-05/3.451e-05, allocations: 2.375 kB / 249.8 MB, free: 5.266 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1116, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4822/0.5939, allocations: 70.53 MB / 364.8 MB, free: 7.203 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.5943, allocations: 65.69 kB / 364.9 MB, free: 7.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01387/0.6081, allocations: 2.828 MB / 367.7 MB, free: 22.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6082, allocations: 0 / 367.7 MB, free: 22.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.921e-05/0.6082, allocations: 3.562 kB / 367.7 MB, free: 22.7 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.0006521/0.6089, allocations: 426 kB / 368.1 MB, free: 22.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.609, allocations: 7.688 kB / 368.1 MB, free: 22.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.898e-05/0.609, allocations: 20.81 kB / 368.2 MB, free: 22.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.6093, allocations: 210.4 kB / 368.4 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.6094, allocations: 5.5 kB / 368.4 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.408e-05/0.6094, allocations: 14.62 kB / 368.4 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003298/0.6098, allocations: 87.03 kB / 368.5 MB, free: 22.08 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.6102, allocations: 157.2 kB / 368.6 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.6102, allocations: 1.281 kB / 368.6 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.6103, allocations: 0 / 368.6 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.6103, allocations: 14.44 kB / 368.6 MB, free: 22.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.6119, allocations: 0.718 MB / 369.4 MB, free: 21.51 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.6122, allocations: 110.6 kB / 369.5 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.6123, allocations: 39.8 kB / 369.5 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.6123, allocations: 3.844 kB / 369.5 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.6124, allocations: 33.7 kB / 369.5 MB, free: 21.37 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.886e-06/0.6124, allocations: 0 / 369.5 MB, free: 21.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.000373/0.6128, allocations: 96.92 kB / 369.6 MB, free: 21.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.6128, allocations: 110.7 kB / 369.7 MB, free: 21.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.613, allocations: 139.2 kB / 369.9 MB, free: 21.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.613, allocations: 28.56 kB / 369.9 MB, free: 21.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.858e-05/0.6131, allocations: 141.4 kB / 370 MB, free: 20.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.6132, allocations: 52.36 kB / 370.1 MB, free: 20.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/0.6132, allocations: 0 / 370.1 MB, free: 20.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.6133, allocations: 330.3 kB / 370.4 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.6135, allocations: 41.12 kB / 370.5 MB, free: 20.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.6136, allocations: 119 kB / 370.6 MB, free: 20.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.6138, allocations: 53.67 kB / 370.6 MB, free: 20.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.6138, allocations: 0 / 370.6 MB, free: 20.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004531/0.6143, allocations: 174.9 kB / 370.8 MB, free: 20.42 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.6143, allocations: 7.469 kB / 370.8 MB, free: 20.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.6143, allocations: 64 / 370.8 MB, free: 20.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.6144, allocations: 11.89 kB / 370.8 MB, free: 20.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.6147, allocations: 47.34 kB / 370.9 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.6148, allocations: 10.62 kB / 370.9 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.615, allocations: 11.72 kB / 370.9 MB, free: 20.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.615, allocations: 11.47 kB / 370.9 MB, free: 20.4 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.0001171/0.6151, allocations: 124.5 kB / 371 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003051/0.6155, allocations: 102.5 kB / 371.1 MB, free: 20.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.94e-05/0.6156, allocations: 18.73 kB / 371.1 MB, free: 20.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.456e-05/0.6156, allocations: 17.41 kB / 371.1 MB, free: 20.22 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.6157, allocations: 0 / 371.1 MB, free: 20.22 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.6157, allocations: 0 / 371.1 MB, free: 20.22 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.6157, allocations: 7.828 kB / 371.2 MB, free: 20.22 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006951/0.6164, allocations: 203.8 kB / 371.4 MB, free: 20.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.6164, allocations: 3.875 kB / 371.4 MB, free: 20.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/0.6168, allocations: 33.36 kB / 371.4 MB, free: 20.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.6169, allocations: 3.844 kB / 371.4 MB, free: 20.06 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.6169, allocations: 0 / 371.4 MB, free: 20.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.6169, allocations: 6.891 kB / 371.4 MB, free: 20.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.6169, allocations: 3.875 kB / 371.4 MB, free: 20.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004591/0.6174, allocations: 402.1 kB / 371.8 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.283e-05/0.6175, allocations: 99.42 kB / 371.9 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.393e-05/0.6176, allocations: 0 / 371.9 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.6179, allocations: 3.953 kB / 371.9 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.6179, allocations: 10.3 kB / 371.9 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.618, allocations: 0 / 371.9 MB, free: 19.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.6181, allocations: 112.1 kB / 372 MB, free: 19.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6181, allocations: 3.938 kB / 372 MB, free: 19.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007168/0.6188, allocations: 49.56 kB / 372.1 MB, free: 19.52 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.0008644/0.6197, allocations: 1.066 MB / 373.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002924/0.62, allocations: 89.34 kB / 373.2 MB, free: 18.53 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.62, allocations: 0 / 373.2 MB, free: 18.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.426e-05/0.6201, allocations: 40.77 kB / 373.3 MB, free: 18.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005993/0.6207, allocations: 20.61 kB / 373.3 MB, free: 18.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.6226, allocations: 0.6217 MB / 373.9 MB, free: 18.06 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.623, allocations: 0.733 MB / 374.6 MB, free: 17.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001484/0.6232, allocations: 10.69 kB / 374.7 MB, free: 17.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.6233, allocations: 49.84 kB / 374.7 MB, free: 17.35 MB / 314.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6233, allocations: 9.281 kB / 374.7 MB, free: 17.34 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05011/0.6735, allocations: 2.37 MB / 377.1 MB, free: 17.18 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002888/0.6738, allocations: 149.6 kB / 377.2 MB, free: 16.99 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.06/3.734, allocations: 0 / 377.2 MB, free: 16.99 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat does not exist to compare? outputFormat=mat