Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.44/2.44, allocations: 235 MB / 247.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.18e-05/4.195e-05, allocations: 4 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5257/0.5258, allocations: 54.86 MB / 359.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1737/0.6996, allocations: 82.2 MB / 442.1 MB, free: 14.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.7, allocations: 71.95 kB / 442.1 MB, free: 14.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03671/0.7367, allocations: 8.347 MB / 450.5 MB, free: 6.309 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.7367, allocations: 3.5 kB / 450.5 MB, free: 6.309 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.848e-05/0.7368, allocations: 8 kB / 450.5 MB, free: 6.301 MB / 378.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.001392/0.7382, allocations: 0.6387 MB / 451.1 MB, free: 5.613 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.7382, allocations: 8.031 kB / 451.1 MB, free: 5.605 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/0.7384, allocations: 94.45 kB / 451.2 MB, free: 5.504 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.7385, allocations: 55.34 kB / 451.3 MB, free: 5.449 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.739, allocations: 289.3 kB / 451.6 MB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.012e-05/0.7391, allocations: 40.95 kB / 451.6 MB, free: 5.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.7392, allocations: 55.91 kB / 451.7 MB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.7403, allocations: 418.3 kB / 452.1 MB, free: 4.605 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.616e-05/0.7403, allocations: 7.906 kB / 452.1 MB, free: 4.598 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.77e-05/0.7404, allocations: 20 kB / 452.1 MB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.7404, allocations: 12 kB / 452.1 MB, free: 4.566 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008583/0.7413, allocations: 303.7 kB / 452.4 MB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002661/0.744, allocations: 1.156 MB / 453.6 MB, free: 3.059 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.7451, allocations: 474.6 kB / 454 MB, free: 2.551 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004782/0.7456, allocations: 199 kB / 454.2 MB, free: 2.352 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.119e-05/0.7457, allocations: 7.719 kB / 454.2 MB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.7457, allocations: 50.95 kB / 454.3 MB, free: 2.289 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 3.456e-06/0.7457, allocations: 0 / 454.3 MB, free: 2.289 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.004335/0.7501, allocations: 1.989 MB / 456.3 MB, free: 128 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.7502, allocations: 89.61 kB / 456.4 MB, free: 20 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003561/0.7505, allocations: 219.4 kB / 456.6 MB, free: 15.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.7506, allocations: 41.7 kB / 456.6 MB, free: 15.76 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.7508, allocations: 205 kB / 456.8 MB, free: 15.55 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/0.7511, allocations: 264.1 kB / 457.1 MB, free: 15.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.7511, allocations: 20 kB / 457.1 MB, free: 15.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.7513, allocations: 354.8 kB / 457.4 MB, free: 14.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004187/0.7518, allocations: 149.6 kB / 457.6 MB, free: 14.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005311/0.7523, allocations: 258.9 kB / 457.8 MB, free: 14.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/0.7528, allocations: 194.9 kB / 458 MB, free: 14.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.7529, allocations: 11.95 kB / 458 MB, free: 14.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001318/0.7542, allocations: 0.5541 MB / 458.6 MB, free: 13.72 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.7542, allocations: 8 kB / 458.6 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.7543, allocations: 0 / 458.6 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.7543, allocations: 8 kB / 458.6 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.7555, allocations: 179.7 kB / 458.8 MB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.07e-05/0.7555, allocations: 8.281 kB / 458.8 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004886/0.756, allocations: 24 kB / 458.8 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.947e-05/0.7561, allocations: 31.98 kB / 458.8 MB, free: 13.46 MB / 394.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.000176/0.7563, allocations: 144.7 kB / 459 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.7564, allocations: 55.39 kB / 459 MB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.7566, allocations: 51.64 kB / 459.1 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.7566, allocations: 8 kB / 459.1 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.7566, allocations: 8.062 kB / 459.1 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.7566, allocations: 7.984 kB / 459.1 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003073/0.7597, allocations: 1.439 MB / 460.5 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.7598, allocations: 4 kB / 460.6 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/0.7611, allocations: 159.8 kB / 460.7 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.991e-05/0.7611, allocations: 8 kB / 460.7 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.266e-05/0.7612, allocations: 16 kB / 460.7 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-05/0.7612, allocations: 4 kB / 460.7 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.7612, allocations: 7.938 kB / 460.7 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.7632, allocations: 1.044 MB / 461.8 MB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.7634, allocations: 116.6 kB / 461.9 MB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.769e-05/0.7635, allocations: 16 kB / 461.9 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004784/0.764, allocations: 16 kB / 461.9 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.778e-05/0.7641, allocations: 56.33 kB / 462 MB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-05/0.7641, allocations: 20 kB / 462 MB, free: 10.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002486/0.7644, allocations: 179.1 kB / 462.2 MB, free: 9.863 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.7644, allocations: 0 / 462.2 MB, free: 9.863 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007236/0.7651, allocations: 144 kB / 462.3 MB, free: 9.723 MB / 394.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.002455/0.7676, allocations: 2.426 MB / 464.7 MB, free: 7.184 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.7687, allocations: 437.4 kB / 465.2 MB, free: 6.758 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.7687, allocations: 0 / 465.2 MB, free: 6.758 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005082/0.7692, allocations: 234.2 kB / 465.4 MB, free: 6.527 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.7703, allocations: 111.1 kB / 465.5 MB, free: 6.426 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/0.7746, allocations: 1.668 MB / 467.2 MB, free: 4.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005555/0.7752, allocations: 0.8566 MB / 468 MB, free: 3.801 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003257/0.7755, allocations: 60.66 kB / 468.1 MB, free: 3.742 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003545/0.7759, allocations: 167.4 kB / 468.3 MB, free: 3.578 MB / 394.7 MB Notification: Performance of SimCode: time 1.583e-06/0.7759, allocations: 0 / 468.3 MB, free: 3.578 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04092/0.8168, allocations: 9.079 MB / 477.3 MB, free: 10.57 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002438/0.8172, allocations: 168.4 kB / 477.5 MB, free: 10.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.867/3.684, allocations: 4.062 kB / 477.5 MB, free: 10.35 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat