Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.015/2.015, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.234e-05/3.244e-05, allocations: 0 / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2968, allocations: 38.77 MB / 263.9 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.118/0.4149, allocations: 65.89 MB / 329.8 MB, free: 7.84 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.4152, allocations: 67.95 kB / 329.8 MB, free: 7.773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01237/0.4276, allocations: 2.856 MB / 332.7 MB, free: 4.902 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4276, allocations: 0 / 332.7 MB, free: 4.902 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.4277, allocations: 7.938 kB / 332.7 MB, free: 4.895 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.000653/0.4283, allocations: 422.1 kB / 333.1 MB, free: 4.438 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.4284, allocations: 12.03 kB / 333.1 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.982e-05/0.4285, allocations: 50.48 kB / 333.2 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.056e-05/0.4285, allocations: 23.81 kB / 333.2 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.4289, allocations: 218.9 kB / 333.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.4289, allocations: 12 kB / 333.4 MB, free: 4.078 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.197e-05/0.429, allocations: 20 kB / 333.4 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004094/0.4294, allocations: 172.1 kB / 333.6 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.4294, allocations: 3.906 kB / 333.6 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.4294, allocations: 8 kB / 333.6 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.4295, allocations: 4 kB / 333.6 MB, free: 3.859 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.4298, allocations: 95.91 kB / 333.7 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.4314, allocations: 0.7757 MB / 334.5 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.4317, allocations: 111.8 kB / 334.6 MB, free: 2.781 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.4318, allocations: 42.73 kB / 334.6 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.4319, allocations: 7.938 kB / 334.6 MB, free: 2.723 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.4319, allocations: 38.56 kB / 334.7 MB, free: 2.676 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.876e-06/0.4319, allocations: 0 / 334.7 MB, free: 2.676 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003798/0.4323, allocations: 117.4 kB / 334.8 MB, free: 2.555 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.4324, allocations: 102.8 kB / 334.9 MB, free: 2.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.4327, allocations: 189.9 kB / 335.1 MB, free: 2.238 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.4327, allocations: 33.7 kB / 335.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.4328, allocations: 136 kB / 335.2 MB, free: 2.059 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.574e-05/0.4329, allocations: 59.17 kB / 335.3 MB, free: 2 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.414e-05/0.433, allocations: 8 kB / 335.3 MB, free: 1.992 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4331, allocations: 330.8 kB / 335.6 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.4332, allocations: 36.47 kB / 335.7 MB, free: 1.621 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.4334, allocations: 124.7 kB / 335.8 MB, free: 1.457 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.4336, allocations: 51.98 kB / 335.8 MB, free: 1.406 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.4336, allocations: 4 kB / 335.8 MB, free: 1.402 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004784/0.4341, allocations: 197.5 kB / 336 MB, free: 1.203 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.4341, allocations: 8 kB / 336 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.4341, allocations: 4 kB / 336.1 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.4342, allocations: 4 kB / 336.1 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.4345, allocations: 47.91 kB / 336.1 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.4345, allocations: 4 kB / 336.1 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.4347, allocations: 23.75 kB / 336.1 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.4348, allocations: 15.94 kB / 336.1 MB, free: 1.098 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.0001072/0.4349, allocations: 125.5 kB / 336.3 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.239e-05/0.435, allocations: 23.78 kB / 336.3 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.282e-05/0.4351, allocations: 20.98 kB / 336.3 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.4351, allocations: 7.938 kB / 336.3 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4351, allocations: 0 / 336.3 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4351, allocations: 0 / 336.3 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006759/0.4358, allocations: 249.4 kB / 336.6 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4358, allocations: 0 / 336.6 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003326/0.4362, allocations: 35.97 kB / 336.6 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.4362, allocations: 0 / 336.6 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.4362, allocations: 8 kB / 336.6 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.4362, allocations: 0 / 336.6 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.4363, allocations: 8.062 kB / 336.6 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004865/0.4368, allocations: 409.5 kB / 337 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.871e-05/0.4369, allocations: 104.8 kB / 337.1 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.4369, allocations: 3.984 kB / 337.1 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.4372, allocations: 12.19 kB / 337.1 MB, free: 0 / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.4372, allocations: 4.047 kB / 337.1 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.4372, allocations: 11.94 kB / 337.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001943/0.4374, allocations: 156.1 kB / 337.3 MB, free: 15.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.4375, allocations: 0 / 337.3 MB, free: 15.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005438/0.438, allocations: 40 kB / 337.3 MB, free: 15.79 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.0008129/0.4388, allocations: 1.087 MB / 338.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003167/0.4392, allocations: 96.56 kB / 338.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4392, allocations: 0 / 338.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.548e-05/0.4393, allocations: 43.98 kB / 338.6 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.4398, allocations: 27.8 kB / 338.6 MB, free: 14.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.4415, allocations: 0.6315 MB / 339.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.4419, allocations: 0.7285 MB / 340 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.442, allocations: 17.55 kB / 340 MB, free: 13.06 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.4422, allocations: 51.42 kB / 340 MB, free: 13.01 MB / 298.7 MB Notification: Performance of SimCode: time 1.333e-06/0.4422, allocations: 0 / 340 MB, free: 13.01 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.471, allocations: 3.127 MB / 343.1 MB, free: 9.941 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003388/0.4714, allocations: 157.6 kB / 343.3 MB, free: 9.719 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.536/3.008, allocations: 7.938 kB / 343.3 MB, free: 9.711 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat does not exist to compare? outputFormat=mat