Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.042/2.042, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.883e-05, allocations: 4 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1105, allocations: 48.7 MB / 316.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4456/0.5561, allocations: 75.41 MB / 391.7 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.5564, allocations: 69.7 kB / 391.8 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03625/0.5927, allocations: 8.269 MB / 400.1 MB, free: 10.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5927, allocations: 0 / 400.1 MB, free: 10.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.431e-05/0.5928, allocations: 15.98 kB / 400.1 MB, free: 10.13 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.001334/0.5941, allocations: 0.6301 MB / 400.7 MB, free: 9.488 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.5942, allocations: 12.03 kB / 400.7 MB, free: 9.477 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.5944, allocations: 59.3 kB / 400.8 MB, free: 9.418 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004802/0.5949, allocations: 297.1 kB / 401.1 MB, free: 9.113 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/0.5949, allocations: 20 kB / 401.1 MB, free: 9.094 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.595, allocations: 39.33 kB / 401.1 MB, free: 9.059 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007454/0.5958, allocations: 269.7 kB / 401.4 MB, free: 8.875 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008417/0.5966, allocations: 350.6 kB / 401.7 MB, free: 8.605 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.489e-05/0.5967, allocations: 15.64 kB / 401.7 MB, free: 8.594 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.142e-05/0.5968, allocations: 3.953 kB / 401.7 MB, free: 8.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.5968, allocations: 12 kB / 401.8 MB, free: 8.578 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002565/0.5994, allocations: 1.072 MB / 402.8 MB, free: 7.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009499/0.6004, allocations: 457 kB / 403.3 MB, free: 7.301 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004121/0.6008, allocations: 184.5 kB / 403.4 MB, free: 7.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.599e-05/0.6009, allocations: 4.438 kB / 403.5 MB, free: 7.176 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.6009, allocations: 42.8 kB / 403.5 MB, free: 7.129 MB / 330.7 MB Notification: Performance of pre-optimization done (n=62): time 3.617e-06/0.6009, allocations: 0 / 403.5 MB, free: 7.129 MB / 330.7 MB Notification: Performance of matching and sorting (n=74): time 0.0039/0.6048, allocations: 1.813 MB / 405.3 MB, free: 5.398 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/0.6049, allocations: 85.67 kB / 405.4 MB, free: 5.297 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.6052, allocations: 199 kB / 405.6 MB, free: 5.125 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.6053, allocations: 25.7 kB / 405.6 MB, free: 5.094 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.6055, allocations: 265.5 kB / 405.9 MB, free: 4.863 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000253/0.6057, allocations: 261.8 kB / 406.1 MB, free: 4.637 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.6058, allocations: 0 / 406.1 MB, free: 4.637 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.6059, allocations: 345.3 kB / 406.5 MB, free: 4.305 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.6063, allocations: 133 kB / 406.6 MB, free: 4.227 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004601/0.6068, allocations: 240.9 kB / 406.8 MB, free: 4.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/0.6073, allocations: 181.6 kB / 407 MB, free: 3.906 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.6073, allocations: 0 / 407 MB, free: 3.906 MB / 330.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001122/0.6084, allocations: 482.7 kB / 407.5 MB, free: 3.531 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.6085, allocations: 6.344 kB / 407.5 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.6085, allocations: 4.281 kB / 407.5 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.904e-05/0.6085, allocations: 12 kB / 407.5 MB, free: 3.512 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.6097, allocations: 178.4 kB / 407.7 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/0.6097, allocations: 4 kB / 407.7 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004781/0.6102, allocations: 15.94 kB / 407.7 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-05/0.6103, allocations: 23.75 kB / 407.7 MB, free: 3.305 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.0001815/0.6104, allocations: 116 kB / 407.8 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009477/0.6114, allocations: 392.7 kB / 408.2 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.6116, allocations: 47.53 kB / 408.3 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.6117, allocations: 48.03 kB / 408.3 MB, free: 2.816 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.6118, allocations: 15.94 kB / 408.3 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.6118, allocations: 0 / 408.3 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.6118, allocations: 7.984 kB / 408.3 MB, free: 2.793 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002782/0.6146, allocations: 1.306 MB / 409.6 MB, free: 1.613 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.6146, allocations: 4 kB / 409.6 MB, free: 1.609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/0.616, allocations: 163.6 kB / 409.8 MB, free: 1.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.83e-05/0.616, allocations: 4.344 kB / 409.8 MB, free: 1.449 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.6161, allocations: 15.75 kB / 409.8 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.147e-05/0.6161, allocations: 7.953 kB / 409.8 MB, free: 1.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/0.6161, allocations: 4 kB / 409.8 MB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.6177, allocations: 0.9714 MB / 410.8 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.6179, allocations: 120.6 kB / 410.9 MB, free: 376 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.75e-05/0.618, allocations: 7.438 kB / 410.9 MB, free: 372 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004922/0.6185, allocations: 7.953 kB / 410.9 MB, free: 364 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.828e-05/0.6186, allocations: 48 kB / 411 MB, free: 320 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/0.6187, allocations: 22.62 kB / 411 MB, free: 304 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001969/0.6189, allocations: 154.9 kB / 411.2 MB, free: 168 kB / 330.7 MB Notification: Performance of sort global known variables: time 2.364e-06/0.6189, allocations: 0 / 411.2 MB, free: 168 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008088/0.6197, allocations: 123.9 kB / 411.3 MB, free: 44 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.002329/0.6221, allocations: 2.353 MB / 413.6 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.6231, allocations: 394.8 kB / 414 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.6232, allocations: 4 kB / 414 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004406/0.6236, allocations: 212.8 kB / 414.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.6247, allocations: 96.56 kB / 414.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.6291, allocations: 1.641 MB / 416 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005884/0.6298, allocations: 0.8566 MB / 416.8 MB, free: 10.72 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003717/0.6301, allocations: 175.9 kB / 417 MB, free: 10.66 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6302, allocations: 3.938 kB / 417 MB, free: 10.66 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.427/3.057, allocations: 7.74 MB / 424.7 MB, free: 3.016 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat