Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.728/2.728, allocations: 270 MB / 283.6 MB, free: 1.871 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.41e-05/3.418e-05, allocations: 4 kB / 348.5 MB, free: 2.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4439/0.4439, allocations: 61.87 MB / 410.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.6084, allocations: 88.26 MB / 498.6 MB, free: 2.336 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.6087, allocations: 71.95 kB / 498.7 MB, free: 2.266 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03947/0.6482, allocations: 8.719 MB / 0.4955 GB, free: 9.508 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6482, allocations: 0 / 0.4955 GB, free: 9.508 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.478e-05/0.6483, allocations: 16 kB / 0.4955 GB, free: 9.492 MB / 426.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.001437/0.6497, allocations: 0.6424 MB / 0.4962 GB, free: 8.805 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.6498, allocations: 8.031 kB / 0.4962 GB, free: 8.797 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001471/0.65, allocations: 86.52 kB / 0.4962 GB, free: 8.703 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.6501, allocations: 55.34 kB / 0.4963 GB, free: 8.648 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005109/0.6506, allocations: 301.3 kB / 0.4966 GB, free: 8.309 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.372e-05/0.6507, allocations: 37 kB / 0.4966 GB, free: 8.273 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.6508, allocations: 55.91 kB / 0.4967 GB, free: 8.219 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.6519, allocations: 416.2 kB / 0.4971 GB, free: 7.797 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.891e-05/0.652, allocations: 3.906 kB / 0.4971 GB, free: 7.793 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.494e-05/0.6521, allocations: 20 kB / 0.4971 GB, free: 7.773 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.6521, allocations: 12 kB / 0.4971 GB, free: 7.762 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008229/0.6529, allocations: 293.9 kB / 0.4974 GB, free: 7.477 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002726/0.6557, allocations: 1.16 MB / 0.4985 GB, free: 6.262 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.6568, allocations: 479.9 kB / 0.499 GB, free: 5.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004734/0.6573, allocations: 199.8 kB / 0.4992 GB, free: 5.551 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.317e-05/0.6574, allocations: 12.42 kB / 0.4992 GB, free: 5.539 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.6574, allocations: 39 kB / 0.4992 GB, free: 5.492 MB / 426.7 MB Notification: Performance of pre-optimization done (n=62): time 3.987e-06/0.6574, allocations: 0 / 0.4992 GB, free: 5.492 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.004361/0.6618, allocations: 1.976 MB / 0.5011 GB, free: 3.344 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.6619, allocations: 89.61 kB / 0.5012 GB, free: 3.238 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/0.6623, allocations: 223.4 kB / 0.5014 GB, free: 3.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/0.6624, allocations: 41.7 kB / 0.5015 GB, free: 2.973 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.6626, allocations: 209 kB / 0.5017 GB, free: 2.762 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/0.6629, allocations: 272 kB / 0.5019 GB, free: 2.492 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.6629, allocations: 16 kB / 0.502 GB, free: 2.477 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.6631, allocations: 358.7 kB / 0.5023 GB, free: 2.117 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/0.6635, allocations: 149.6 kB / 0.5024 GB, free: 1.969 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005359/0.6641, allocations: 258.2 kB / 0.5027 GB, free: 1.684 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005317/0.6646, allocations: 202 kB / 0.5029 GB, free: 1.488 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.6647, allocations: 0 / 0.5029 GB, free: 1.488 MB / 426.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001332/0.666, allocations: 0.5386 MB / 0.5034 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.666, allocations: 4.281 kB / 0.5034 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.6661, allocations: 8 kB / 0.5034 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.289e-05/0.6661, allocations: 8.062 kB / 0.5034 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.6673, allocations: 183.8 kB / 0.5036 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.199e-05/0.6673, allocations: 7.938 kB / 0.5036 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005178/0.6679, allocations: 27.98 kB / 0.5036 GB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.498e-05/0.6679, allocations: 31.95 kB / 0.5037 GB, free: 0.6758 MB / 426.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.0001707/0.6681, allocations: 136.9 kB / 0.5038 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.6683, allocations: 47.44 kB / 0.5038 GB, free: 500 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.6685, allocations: 59.64 kB / 0.5039 GB, free: 436 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.6685, allocations: 8 kB / 0.5039 GB, free: 428 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.6685, allocations: 0 / 0.5039 GB, free: 428 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.6685, allocations: 7.922 kB / 0.5039 GB, free: 420 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005114/0.6737, allocations: 1.43 MB / 0.5053 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/0.6737, allocations: 4.047 kB / 0.5053 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002082/0.6758, allocations: 163.8 kB / 0.5055 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.265e-05/0.6759, allocations: 8.344 kB / 0.5055 GB, free: 14.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/0.6761, allocations: 20 kB / 0.5055 GB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.122e-05/0.6761, allocations: 4 kB / 0.5055 GB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.726e-05/0.6762, allocations: 7.938 kB / 0.5055 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002772/0.6789, allocations: 1.032 MB / 0.5065 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/0.6793, allocations: 124.5 kB / 0.5066 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.6795, allocations: 16 kB / 0.5066 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009225/0.6804, allocations: 16 kB / 0.5067 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.6806, allocations: 52.33 kB / 0.5067 GB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.611e-05/0.6807, allocations: 20 kB / 0.5067 GB, free: 13.26 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003475/0.6811, allocations: 179.1 kB / 0.5069 GB, free: 13.08 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.6811, allocations: 4 kB / 0.5069 GB, free: 13.08 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001266/0.6824, allocations: 147.9 kB / 0.507 GB, free: 12.93 MB / 442.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.002389/0.6848, allocations: 2.418 MB / 0.5094 GB, free: 10.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.6859, allocations: 430.8 kB / 0.5098 GB, free: 9.988 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.6859, allocations: 0 / 0.5098 GB, free: 9.988 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004851/0.6864, allocations: 218.5 kB / 0.51 GB, free: 9.777 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.6875, allocations: 101.2 kB / 0.5101 GB, free: 9.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004323/0.6919, allocations: 1.668 MB / 0.5118 GB, free: 7.934 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005166/0.6924, allocations: 0.8642 MB / 0.5126 GB, free: 7.039 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003319/0.6928, allocations: 60.66 kB / 0.5127 GB, free: 6.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/0.6931, allocations: 163.4 kB / 0.5128 GB, free: 6.82 MB / 442.7 MB Notification: Performance of SimCode: time 1.252e-06/0.6931, allocations: 4 kB / 0.5128 GB, free: 6.816 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3731/1.066, allocations: 9.032 MB / 0.5216 GB, free: 109.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/1.067, allocations: 174.2 kB / 0.5218 GB, free: 109.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.733/3.8, allocations: 3.188 kB / 0.5218 GB, free: 109.1 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat