Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.234/2.234, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.332e-05/4.347e-05, allocations: 5.547 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1097, allocations: 48.69 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.429/0.5388, allocations: 75.83 MB / 397.7 MB, free: 13.71 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/0.5392, allocations: 63.97 kB / 397.8 MB, free: 13.65 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05377/0.5929, allocations: 8.348 MB / 406.1 MB, free: 5.277 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.593, allocations: 0 / 406.1 MB, free: 5.277 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.93e-05/0.5931, allocations: 16 kB / 406.1 MB, free: 5.262 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002077/0.5952, allocations: 0.6309 MB / 406.8 MB, free: 4.586 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/0.5953, allocations: 8.031 kB / 406.8 MB, free: 4.578 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002/0.5955, allocations: 94.47 kB / 406.9 MB, free: 4.477 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/0.5957, allocations: 55.34 kB / 406.9 MB, free: 4.422 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007102/0.5964, allocations: 295.2 kB / 407.2 MB, free: 4.094 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.564e-05/0.5965, allocations: 37 kB / 407.2 MB, free: 4.059 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/0.5967, allocations: 55.89 kB / 407.3 MB, free: 4.004 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.5983, allocations: 408.3 kB / 407.7 MB, free: 3.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.919e-05/0.5984, allocations: 15.89 kB / 407.7 MB, free: 3.574 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.538e-05/0.5985, allocations: 20 kB / 407.7 MB, free: 3.555 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-05/0.5986, allocations: 23.95 kB / 407.7 MB, free: 3.531 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.5999, allocations: 293.9 kB / 408 MB, free: 3.242 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004002/0.6039, allocations: 1.156 MB / 409.2 MB, free: 2.031 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.6056, allocations: 468 kB / 409.6 MB, free: 1.531 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007494/0.6063, allocations: 199 kB / 409.8 MB, free: 1.332 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.543e-05/0.6064, allocations: 8.438 kB / 409.8 MB, free: 1.324 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.035e-05/0.6065, allocations: 46.94 kB / 409.9 MB, free: 1.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=62): time 5.891e-06/0.6065, allocations: 0 / 409.9 MB, free: 1.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=74): time 0.006637/0.6132, allocations: 1.984 MB / 411.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.615e-05/0.6133, allocations: 85.67 kB / 412 MB, free: 15.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004966/0.6138, allocations: 219.4 kB / 412.2 MB, free: 14.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.366e-05/0.6139, allocations: 41.7 kB / 412.2 MB, free: 14.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.6142, allocations: 208.9 kB / 412.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003782/0.6146, allocations: 264.1 kB / 412.7 MB, free: 14.28 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/0.6147, allocations: 16 kB / 412.7 MB, free: 14.26 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002512/0.615, allocations: 358.8 kB / 413 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006668/0.6157, allocations: 145.6 kB / 413.2 MB, free: 13.76 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008469/0.6165, allocations: 257.3 kB / 413.4 MB, free: 13.47 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008077/0.6174, allocations: 198 kB / 413.6 MB, free: 13.28 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.6174, allocations: 0 / 413.6 MB, free: 13.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002101/0.6195, allocations: 0.5466 MB / 414.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.946e-05/0.6196, allocations: 8 kB / 414.2 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.6196, allocations: 48 / 414.2 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.469e-05/0.6197, allocations: 15.94 kB / 414.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/0.6215, allocations: 183.7 kB / 414.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.201e-05/0.6216, allocations: 8 kB / 414.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007979/0.6224, allocations: 20 kB / 414.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.407e-05/0.6225, allocations: 24 kB / 414.4 MB, free: 12.47 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * 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.0002537/0.6228, allocations: 152.8 kB / 414.6 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/0.623, allocations: 47.44 kB / 414.6 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.6232, allocations: 55.64 kB / 414.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/0.6233, allocations: 8 kB / 414.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.659e-05/0.6233, allocations: 3.953 kB / 414.7 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/0.6234, allocations: 7.984 kB / 414.7 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004442/0.6278, allocations: 1.431 MB / 416.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.6279, allocations: 352 / 416.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001889/0.6298, allocations: 163.8 kB / 416.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.399e-05/0.6298, allocations: 4 kB / 416.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-05/0.63, allocations: 23.94 kB / 416.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-05/0.63, allocations: 11.94 kB / 416.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.919e-06/0.63, allocations: 4.062 kB / 416.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003329/0.6334, allocations: 1.04 MB / 417.4 MB, free: 9.285 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.6336, allocations: 112.6 kB / 417.5 MB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.67e-05/0.6337, allocations: 23.95 kB / 417.5 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005046/0.6342, allocations: 19.98 kB / 417.5 MB, free: 9.113 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.058e-05/0.6343, allocations: 52.25 kB / 417.6 MB, free: 9.062 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/0.6344, allocations: 24 kB / 417.6 MB, free: 9.039 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002672/0.6346, allocations: 175.1 kB / 417.8 MB, free: 8.871 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6346, allocations: 3.938 kB / 417.8 MB, free: 8.867 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008304/0.6355, allocations: 144 kB / 417.9 MB, free: 8.727 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.002601/0.6381, allocations: 2.418 MB / 420.3 MB, free: 6.207 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.6393, allocations: 426.9 kB / 420.8 MB, free: 5.789 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.6393, allocations: 0 / 420.8 MB, free: 5.789 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005324/0.6399, allocations: 227.6 kB / 421 MB, free: 5.566 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.641, allocations: 100.9 kB / 421.1 MB, free: 5.465 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004614/0.6456, allocations: 1.664 MB / 422.7 MB, free: 3.719 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005825/0.6463, allocations: 0.8565 MB / 423.6 MB, free: 2.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003694/0.6467, allocations: 68.62 kB / 423.7 MB, free: 2.773 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003637/0.647, allocations: 167.4 kB / 423.8 MB, free: 2.609 MB / 346.7 MB Notification: Performance of SimCode: time 1.233e-06/0.647, allocations: 0 / 423.8 MB, free: 2.609 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04495/0.692, allocations: 9.025 MB / 432.9 MB, free: 9.66 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003632/0.6924, allocations: 175.1 kB / 433 MB, free: 9.43 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.937/3.629, allocations: 0 / 433 MB, free: 9.43 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat