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.553/2.553, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.96e-05/3.937e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4818/0.4819, allocations: 54.85 MB / 359.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.6427, allocations: 82.21 MB / 442.1 MB, free: 14.63 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/0.6431, allocations: 63.97 kB / 442.1 MB, free: 14.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04306/0.6862, allocations: 8.357 MB / 450.5 MB, free: 6.207 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.6862, allocations: 3.5 kB / 450.5 MB, free: 6.207 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.768e-05/0.6863, allocations: 12 kB / 450.5 MB, free: 6.195 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.001414/0.6877, allocations: 0.627 MB / 451.1 MB, free: 5.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.6878, allocations: 16.03 kB / 451.2 MB, free: 5.504 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001896/0.688, allocations: 86.52 kB / 451.2 MB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.6881, allocations: 55.34 kB / 451.3 MB, free: 5.355 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/0.6886, allocations: 293.3 kB / 451.6 MB, free: 5.031 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.715e-05/0.6887, allocations: 40.89 kB / 451.6 MB, free: 4.992 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.6888, allocations: 59.91 kB / 451.7 MB, free: 4.934 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.6899, allocations: 412.2 kB / 452.1 MB, free: 4.512 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.19e-05/0.6899, allocations: 11.89 kB / 452.1 MB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-05/0.69, allocations: 20 kB / 452.1 MB, free: 4.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.69, allocations: 16 kB / 452.1 MB, free: 4.465 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008128/0.6909, allocations: 286 kB / 452.4 MB, free: 4.188 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002879/0.6938, allocations: 1.16 MB / 453.6 MB, free: 2.973 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.695, allocations: 470.2 kB / 454 MB, free: 2.473 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004811/0.6955, allocations: 203.1 kB / 454.2 MB, free: 2.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.612e-05/0.6956, allocations: 8.422 kB / 454.2 MB, free: 2.258 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.6956, allocations: 42.28 kB / 454.3 MB, free: 2.211 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 4.288e-06/0.6956, allocations: 0 / 454.3 MB, free: 2.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.004637/0.7003, allocations: 1.977 MB / 456.3 MB, free: 68 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.797e-05/0.7004, allocations: 93.66 kB / 456.4 MB, free: 15.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003676/0.7008, allocations: 219.4 kB / 456.6 MB, free: 15.74 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.98e-05/0.7009, allocations: 41.64 kB / 456.6 MB, free: 15.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.7011, allocations: 213 kB / 456.8 MB, free: 15.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/0.7014, allocations: 264.1 kB / 457.1 MB, free: 15.22 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.7014, allocations: 16 kB / 457.1 MB, free: 15.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.7016, allocations: 358.8 kB / 457.4 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/0.7021, allocations: 145.6 kB / 457.6 MB, free: 14.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005284/0.7026, allocations: 253.3 kB / 457.8 MB, free: 14.42 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005318/0.7031, allocations: 206.9 kB / 458 MB, free: 14.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.7032, allocations: 3.953 kB / 458 MB, free: 14.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001399/0.7046, allocations: 0.5504 MB / 458.6 MB, free: 13.65 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.7046, allocations: 9.719 kB / 458.6 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.7046, allocations: 7.938 kB / 458.6 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.7047, allocations: 4 kB / 458.6 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.7059, allocations: 175.7 kB / 458.8 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/0.7059, allocations: 11.98 kB / 458.8 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005003/0.7064, allocations: 20 kB / 458.8 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.545e-05/0.7065, allocations: 28.16 kB / 458.8 MB, free: 13.4 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.0001796/0.7067, allocations: 144.8 kB / 459 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.7068, allocations: 55.33 kB / 459 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.707, allocations: 59.64 kB / 459.1 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.707, allocations: 4 kB / 459.1 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.707, allocations: 4 kB / 459.1 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.7071, allocations: 3.984 kB / 459.1 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003253/0.7103, allocations: 1.423 MB / 460.5 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.7104, allocations: 352 / 460.5 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/0.7117, allocations: 167.8 kB / 460.7 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-05/0.7118, allocations: 4 kB / 460.7 MB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.02e-05/0.7119, allocations: 16 kB / 460.7 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.22e-05/0.7119, allocations: 11.98 kB / 460.7 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/0.7119, allocations: 7.938 kB / 460.7 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.7139, allocations: 1.04 MB / 461.8 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.7141, allocations: 120.6 kB / 461.9 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-05/0.7142, allocations: 16 kB / 461.9 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005093/0.7147, allocations: 23.98 kB / 461.9 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.134e-05/0.7148, allocations: 44.33 kB / 462 MB, free: 10 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.884e-05/0.7149, allocations: 24 kB / 462 MB, free: 9.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000267/0.7151, allocations: 175.1 kB / 462.2 MB, free: 9.805 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7152, allocations: 0 / 462.2 MB, free: 9.805 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008368/0.716, allocations: 144 kB / 462.3 MB, free: 9.664 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.002642/0.7187, allocations: 2.426 MB / 464.7 MB, free: 7.133 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.7199, allocations: 422.9 kB / 465.1 MB, free: 6.719 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.7199, allocations: 4 kB / 465.1 MB, free: 6.715 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005176/0.7204, allocations: 222.7 kB / 465.4 MB, free: 6.496 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.7216, allocations: 110.7 kB / 465.5 MB, free: 6.391 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00454/0.7261, allocations: 1.668 MB / 467.1 MB, free: 4.645 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005923/0.7268, allocations: 0.8527 MB / 468 MB, free: 3.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003619/0.7272, allocations: 60.66 kB / 468 MB, free: 3.711 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003594/0.7275, allocations: 171.3 kB / 468.2 MB, free: 3.543 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.7276, allocations: 0 / 468.2 MB, free: 3.543 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04822/0.7758, allocations: 9.054 MB / 477.3 MB, free: 10.57 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003412/0.7762, allocations: 167.1 kB / 477.4 MB, free: 10.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.881/3.657, allocations: 3.938 kB / 477.4 MB, free: 10.34 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