Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.377/2.377, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.825e-05/2.827e-05, allocations: 2.75 kB / 249.8 MB, free: 5.227 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.106, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5616/0.6677, allocations: 71.01 MB / 365.3 MB, free: 7.195 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003734/0.6682, allocations: 67.95 kB / 365.4 MB, free: 7.195 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02979/0.698, allocations: 4.413 MB / 369.8 MB, free: 22.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.477e-06/0.698, allocations: 0 / 369.8 MB, free: 22.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.08e-05/0.6981, allocations: 3.781 kB / 369.8 MB, free: 22.56 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001089/0.6992, allocations: 0.494 MB / 370.3 MB, free: 22.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.6993, allocations: 9.875 kB / 370.3 MB, free: 22.15 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.6994, allocations: 27.25 kB / 370.3 MB, free: 22.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.6998, allocations: 240.9 kB / 370.6 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.6998, allocations: 8.875 kB / 370.6 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.709e-05/0.6999, allocations: 15.5 kB / 370.6 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005223/0.7004, allocations: 161.6 kB / 370.7 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005557/0.701, allocations: 210.7 kB / 370.9 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.701, allocations: 2.312 kB / 370.9 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.7011, allocations: 0 / 370.9 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.7011, allocations: 6.375 kB / 370.9 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.7027, allocations: 0.7013 MB / 371.7 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005873/0.7034, allocations: 243.5 kB / 371.9 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002766/0.7037, allocations: 108.2 kB / 372 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.295e-05/0.7037, allocations: 4.156 kB / 372 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.7038, allocations: 42.94 kB / 372 MB, free: 21.37 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.838e-06/0.7038, allocations: 0 / 372 MB, free: 21.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.003453/0.7072, allocations: 1.496 MB / 373.5 MB, free: 20.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.7074, allocations: 80.95 kB / 373.6 MB, free: 20.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.7076, allocations: 145.9 kB / 373.8 MB, free: 20.22 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.7076, allocations: 25.7 kB / 373.8 MB, free: 20.19 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.7077, allocations: 141.7 kB / 373.9 MB, free: 20.08 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.7079, allocations: 170.3 kB / 374.1 MB, free: 19.97 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.7079, allocations: 0 / 374.1 MB, free: 19.97 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.7081, allocations: 339.2 kB / 374.4 MB, free: 19.65 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.7083, allocations: 97.44 kB / 374.5 MB, free: 19.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.7086, allocations: 133.8 kB / 374.6 MB, free: 19.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.709, allocations: 111.3 kB / 374.8 MB, free: 19.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.709, allocations: 4 kB / 374.8 MB, free: 19.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007812/0.7098, allocations: 321 kB / 375.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.7098, allocations: 7.75 kB / 375.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.7098, allocations: 0 / 375.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.7099, allocations: 3.875 kB / 375.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008648/0.7107, allocations: 106.1 kB / 375.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.7108, allocations: 7.828 kB / 375.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.711, allocations: 0 / 375.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/0.7111, allocations: 14.62 kB / 375.2 MB, free: 19.52 MB / 314.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.0001552/0.7112, allocations: 122.1 kB / 375.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007218/0.712, allocations: 284.1 kB / 375.6 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.954e-05/0.7121, allocations: 27.22 kB / 375.6 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.7122, allocations: 30.73 kB / 375.7 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.7123, allocations: 3.875 kB / 375.7 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.7123, allocations: 0 / 375.7 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.7123, allocations: 5.75 kB / 375.7 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.7143, allocations: 0.8555 MB / 376.5 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.7144, allocations: 4 kB / 376.5 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009981/0.7154, allocations: 100.7 kB / 376.6 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/0.7154, allocations: 3.812 kB / 376.6 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.7154, allocations: 3.875 kB / 376.6 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/0.7155, allocations: 3.875 kB / 376.6 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.7155, allocations: 3.938 kB / 376.6 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.7166, allocations: 0.6246 MB / 377.3 MB, free: 18.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.7168, allocations: 96.58 kB / 377.4 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.276e-05/0.7168, allocations: 6.812 kB / 377.4 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.7172, allocations: 0 / 377.4 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.7173, allocations: 31.67 kB / 377.4 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.7173, allocations: 14.88 kB / 377.4 MB, free: 18.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001402/0.7175, allocations: 113 kB / 377.5 MB, free: 18.42 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.7175, allocations: 3.938 kB / 377.5 MB, free: 18.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006947/0.7182, allocations: 72.55 kB / 377.6 MB, free: 18.41 MB / 314.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.001632/0.7198, allocations: 1.386 MB / 379 MB, free: 17.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006889/0.7206, allocations: 256.8 kB / 379.2 MB, free: 17.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.7206, allocations: 0 / 379.2 MB, free: 17.35 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003013/0.7209, allocations: 142.6 kB / 379.4 MB, free: 17.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008357/0.7217, allocations: 48.78 kB / 379.4 MB, free: 17.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/0.7248, allocations: 0.9314 MB / 380.4 MB, free: 16.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006252/0.7254, allocations: 0.7852 MB / 381.1 MB, free: 16.03 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003764/0.7258, allocations: 31.27 kB / 381.2 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/0.7262, allocations: 89.48 kB / 381.3 MB, free: 16.02 MB / 314.7 MB Notification: Performance of SimCode: time 1.593e-06/0.7262, allocations: 0 / 381.3 MB, free: 16.02 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1177/0.8439, allocations: 5.03 MB / 386.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002875/0.8443, allocations: 157.2 kB / 386.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.094/3.938, allocations: 3.938 kB / 386.4 MB, free: 14.6 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat