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.232/2.232, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.128e-05/3.126e-05, allocations: 0 / 267.6 MB, free: 4.949 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 48.7 MB / 316.3 MB, free: 4.152 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4296/0.5384, allocations: 75.37 MB / 391.7 MB, free: 1.023 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003546/0.5388, allocations: 75.23 kB / 391.8 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04819/0.587, allocations: 8.277 MB / 400 MB, free: 10.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.138e-06/0.5871, allocations: 0 / 400 MB, free: 10.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.033e-05/0.5872, allocations: 12 kB / 400.1 MB, free: 10.27 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.001994/0.5892, allocations: 0.6341 MB / 400.7 MB, free: 9.617 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.432e-05/0.5893, allocations: 8.031 kB / 400.7 MB, free: 9.609 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.5895, allocations: 59.3 kB / 400.8 MB, free: 9.551 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005164/0.59, allocations: 292.5 kB / 401 MB, free: 9.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.5901, allocations: 16 kB / 401.1 MB, free: 9.234 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.5902, allocations: 39.66 kB / 401.1 MB, free: 9.199 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007414/0.5909, allocations: 271.8 kB / 401.4 MB, free: 9.016 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000862/0.5918, allocations: 359.1 kB / 401.7 MB, free: 8.738 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.092e-05/0.5919, allocations: 7.906 kB / 401.7 MB, free: 8.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.284e-05/0.5919, allocations: 3.953 kB / 401.7 MB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.689e-05/0.5919, allocations: 12.98 kB / 401.7 MB, free: 8.715 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002481/0.5944, allocations: 1.079 MB / 402.8 MB, free: 7.812 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009084/0.5954, allocations: 436.1 kB / 403.2 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003947/0.5958, allocations: 190.6 kB / 403.4 MB, free: 7.324 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.966e-05/0.5958, allocations: 8.438 kB / 403.4 MB, free: 7.316 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.5959, allocations: 46 kB / 403.5 MB, free: 7.266 MB / 330.7 MB Notification: Performance of pre-optimization done (n=62): time 3.466e-06/0.5959, allocations: 0 / 403.5 MB, free: 7.266 MB / 330.7 MB Notification: Performance of matching and sorting (n=74): time 0.003853/0.5998, allocations: 1.82 MB / 405.3 MB, free: 5.531 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.5999, allocations: 81.67 kB / 405.4 MB, free: 5.434 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.6002, allocations: 192.2 kB / 405.6 MB, free: 5.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.6002, allocations: 29.7 kB / 405.6 MB, free: 5.234 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.6004, allocations: 213.5 kB / 405.8 MB, free: 5.059 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/0.6007, allocations: 262.4 kB / 406.1 MB, free: 4.832 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/0.6007, allocations: 0 / 406.1 MB, free: 4.832 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.6009, allocations: 354.8 kB / 406.4 MB, free: 4.492 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.6013, allocations: 131.6 kB / 406.5 MB, free: 4.418 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005152/0.6018, allocations: 244.9 kB / 406.8 MB, free: 4.207 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004413/0.6023, allocations: 178.1 kB / 407 MB, free: 4.098 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.6023, allocations: 4 kB / 407 MB, free: 4.094 MB / 330.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001141/0.6035, allocations: 498.3 kB / 407.4 MB, free: 3.703 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.6035, allocations: 11.44 kB / 407.5 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.6035, allocations: 4 kB / 407.5 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.6036, allocations: 4 kB / 407.5 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.6047, allocations: 177.4 kB / 407.6 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.6048, allocations: 12 kB / 407.6 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004542/0.6052, allocations: 15.94 kB / 407.7 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/0.6053, allocations: 22.06 kB / 407.7 MB, free: 3.477 MB / 330.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.0001822/0.6055, allocations: 116.8 kB / 407.8 MB, free: 3.355 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009274/0.6064, allocations: 393.3 kB / 408.2 MB, free: 3.051 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.6066, allocations: 39.53 kB / 408.2 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.6067, allocations: 50.61 kB / 408.3 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.6067, allocations: 15.95 kB / 408.3 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.6067, allocations: 0 / 408.3 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.6068, allocations: 3.984 kB / 408.3 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002712/0.6095, allocations: 1.306 MB / 409.6 MB, free: 1.789 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.6095, allocations: 7.938 kB / 409.6 MB, free: 1.781 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/0.6109, allocations: 159.3 kB / 409.8 MB, free: 1.633 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.738e-05/0.6109, allocations: 8 kB / 409.8 MB, free: 1.625 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.307e-05/0.6109, allocations: 4 kB / 409.8 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.508e-05/0.611, allocations: 12.23 kB / 409.8 MB, free: 1.609 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.611, allocations: 8 kB / 409.8 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.6125, allocations: 0.977 MB / 410.8 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.6127, allocations: 112.6 kB / 410.9 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.826e-05/0.6128, allocations: 7.938 kB / 410.9 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004535/0.6133, allocations: 15.95 kB / 410.9 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.6134, allocations: 44.06 kB / 410.9 MB, free: 500 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/0.6135, allocations: 22.69 kB / 411 MB, free: 484 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001892/0.6137, allocations: 150.7 kB / 411.1 MB, free: 352 kB / 330.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6137, allocations: 3.938 kB / 411.1 MB, free: 348 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008056/0.6145, allocations: 123.9 kB / 411.2 MB, free: 224 kB / 330.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.002236/0.6167, allocations: 2.364 MB / 413.6 MB, free: 13.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009666/0.6177, allocations: 391.5 kB / 414 MB, free: 13.65 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6177, allocations: 0 / 414 MB, free: 13.65 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004258/0.6182, allocations: 213 kB / 414.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.6192, allocations: 94.52 kB / 414.3 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004325/0.6236, allocations: 1.606 MB / 415.9 MB, free: 11.81 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005518/0.6242, allocations: 0.8566 MB / 416.7 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003617/0.6245, allocations: 68.5 kB / 416.8 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003504/0.6249, allocations: 171.3 kB / 417 MB, free: 10.69 MB / 346.7 MB Notification: Performance of SimCode: time 1.353e-06/0.6249, allocations: 0 / 417 MB, free: 10.69 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08295/0.7079, allocations: 8.431 MB / 425.4 MB, free: 2.273 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003144/0.7083, allocations: 163.6 kB / 425.6 MB, free: 2.074 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.928/3.637, allocations: 4 kB / 425.6 MB, free: 2.07 MB / 346.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