Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.745/1.745, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.803e-05/3.821e-05, allocations: 4 kB / 225.1 MB, free: 2.711 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2646, allocations: 38.77 MB / 263.8 MB, free: 9.852 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.4054, allocations: 65.88 MB / 329.7 MB, free: 7.875 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.4057, allocations: 67.97 kB / 329.8 MB, free: 7.809 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01186/0.4176, allocations: 2.854 MB / 332.6 MB, free: 4.938 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4176, allocations: 0 / 332.6 MB, free: 4.938 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.4177, allocations: 4 kB / 332.6 MB, free: 4.934 MB / 282.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.0006766/0.4184, allocations: 418.1 kB / 333 MB, free: 4.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.4184, allocations: 12.03 kB / 333 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.401e-05/0.4185, allocations: 58.42 kB / 333.1 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.016e-05/0.4186, allocations: 27.78 kB / 333.1 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.4189, allocations: 209.3 kB / 333.3 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.4189, allocations: 16 kB / 333.4 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/0.419, allocations: 19.94 kB / 333.4 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004283/0.4194, allocations: 180.1 kB / 333.5 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.4195, allocations: 7.906 kB / 333.6 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.4195, allocations: 8 kB / 333.6 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.4195, allocations: 4 kB / 333.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002946/0.4198, allocations: 99.91 kB / 333.7 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.4215, allocations: 0.7717 MB / 334.4 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.4218, allocations: 115.9 kB / 334.5 MB, free: 2.809 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.4219, allocations: 42.7 kB / 334.6 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.4219, allocations: 4 kB / 334.6 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.422, allocations: 34.56 kB / 334.6 MB, free: 2.711 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.645e-06/0.422, allocations: 0 / 334.6 MB, free: 2.711 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003729/0.4224, allocations: 117.3 kB / 334.7 MB, free: 2.59 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.4225, allocations: 106.8 kB / 334.8 MB, free: 2.461 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.4227, allocations: 193.8 kB / 335 MB, free: 2.266 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.4228, allocations: 29.7 kB / 335.1 MB, free: 2.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.4229, allocations: 198.4 kB / 335.3 MB, free: 2.031 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.656e-05/0.423, allocations: 59.19 kB / 335.3 MB, free: 1.973 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/0.423, allocations: 4 kB / 335.3 MB, free: 1.969 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4232, allocations: 322.8 kB / 335.6 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.4233, allocations: 36.47 kB / 335.7 MB, free: 1.605 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.4235, allocations: 121 kB / 335.8 MB, free: 1.445 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.4237, allocations: 67.98 kB / 335.9 MB, free: 1.379 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.4237, allocations: 0 / 335.9 MB, free: 1.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004563/0.4242, allocations: 197.2 kB / 336 MB, free: 1.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.4242, allocations: 8 kB / 336.1 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.4242, allocations: 0 / 336.1 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.4242, allocations: 8 kB / 336.1 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/0.4246, allocations: 47.92 kB / 336.1 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.4246, allocations: 4 kB / 336.1 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.4248, allocations: 20.09 kB / 336.1 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.4248, allocations: 19.94 kB / 336.2 MB, free: 1.074 MB / 282.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.0001043/0.4249, allocations: 120.8 kB / 336.3 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.863e-05/0.425, allocations: 19.8 kB / 336.3 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.688e-05/0.4251, allocations: 25 kB / 336.3 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4251, allocations: 0 / 336.3 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.4251, allocations: 4 kB / 336.3 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.4252, allocations: 3.984 kB / 336.3 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006484/0.4258, allocations: 249.4 kB / 336.6 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4258, allocations: 0 / 336.6 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.4262, allocations: 39.92 kB / 336.6 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.4262, allocations: 4 kB / 336.6 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.4262, allocations: 0 / 336.6 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.4262, allocations: 4 kB / 336.6 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4263, allocations: 0 / 336.6 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004799/0.4267, allocations: 417.5 kB / 337 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-05/0.4268, allocations: 96.84 kB / 337.1 MB, free: 0 / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.344e-05/0.4269, allocations: 8.109 kB / 337.1 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.4271, allocations: 0 / 337.1 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.4272, allocations: 15.88 kB / 337.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.4272, allocations: 7.953 kB / 337.1 MB, free: 15.97 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001917/0.4274, allocations: 152.2 kB / 337.3 MB, free: 15.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4274, allocations: 0 / 337.3 MB, free: 15.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004857/0.4279, allocations: 47.91 kB / 337.3 MB, free: 15.77 MB / 298.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.0008369/0.4288, allocations: 1.092 MB / 338.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.4291, allocations: 100.4 kB / 338.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4291, allocations: 0 / 338.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.4292, allocations: 48.02 kB / 338.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.4297, allocations: 27.78 kB / 338.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.4314, allocations: 0.6567 MB / 339.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.4318, allocations: 0.7324 MB / 340 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.4319, allocations: 51.42 kB / 340 MB, free: 12.95 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.4319, allocations: 0 / 340 MB, free: 12.95 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.762/3.194, allocations: 2.725 MB / 342.8 MB, free: 10.23 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat does not exist to compare? outputFormat=mat