Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_1_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.724/1.724, allocations: 171.2 MB / 183.3 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.105e-05/3.111e-05, allocations: 4 kB / 225.1 MB, free: 2.152 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2575, allocations: 38.78 MB / 263.8 MB, free: 9.707 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.3757, allocations: 65.97 MB / 329.8 MB, free: 7.641 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.376, allocations: 63.97 kB / 329.9 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005292/0.3813, allocations: 1.23 MB / 331.1 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3813, allocations: 0 / 331.1 MB, free: 6.348 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.3813, allocations: 0 / 331.1 MB, free: 6.348 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006041/0.382, allocations: 374.4 kB / 331.5 MB, free: 5.938 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.382, allocations: 8.031 kB / 331.5 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.795e-05/0.3821, allocations: 42.55 kB / 331.5 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.3821, allocations: 7.906 kB / 331.5 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.3823, allocations: 174.9 kB / 331.7 MB, free: 5.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.3823, allocations: 4 kB / 331.7 MB, free: 5.656 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.3823, allocations: 11.98 kB / 331.7 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.3825, allocations: 57.64 kB / 331.8 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3825, allocations: 0 / 331.8 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.3826, allocations: 4 kB / 331.8 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.3826, allocations: 0 / 331.8 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.3827, allocations: 35.92 kB / 331.8 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005278/0.3832, allocations: 304.7 kB / 332.1 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.3834, allocations: 46.61 kB / 332.2 MB, free: 5.141 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.189e-05/0.3835, allocations: 24.8 kB / 332.2 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.3835, allocations: 0 / 332.2 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.3836, allocations: 30.56 kB / 332.2 MB, free: 5.074 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 4.829e-06/0.3836, allocations: 4 kB / 332.2 MB, free: 5.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002317/0.3838, allocations: 57.69 kB / 332.3 MB, free: 5.008 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.3839, allocations: 59.41 kB / 332.3 MB, free: 4.938 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.061e-05/0.384, allocations: 96.98 kB / 332.4 MB, free: 4.836 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.384, allocations: 29.7 kB / 332.5 MB, free: 4.801 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.825e-05/0.3841, allocations: 92.08 kB / 332.5 MB, free: 4.707 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.3841, allocations: 11.8 kB / 332.6 MB, free: 4.695 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.3841, allocations: 0 / 332.6 MB, free: 4.695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3842, allocations: 322.8 kB / 332.9 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-05/0.3843, allocations: 15.94 kB / 332.9 MB, free: 4.355 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.761e-05/0.3844, allocations: 12 kB / 332.9 MB, free: 4.344 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.96e-05/0.3844, allocations: 11.98 kB / 332.9 MB, free: 4.332 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3844, allocations: 0 / 332.9 MB, free: 4.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001609/0.3846, allocations: 61.59 kB / 333 MB, free: 4.266 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3846, allocations: 4 kB / 333 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3847, allocations: 224 / 333 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.3847, allocations: 4 kB / 333 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.3849, allocations: 27.92 kB / 333 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.385, allocations: 0 / 333 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.3851, allocations: 15.98 kB / 333 MB, free: 4.215 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.3852, allocations: 3.984 kB / 333 MB, free: 4.211 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.198e-05/0.3852, allocations: 116.9 kB / 333.1 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.3853, allocations: 0 / 333.1 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.3855, allocations: 81.89 kB / 333.2 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3855, allocations: 3.984 kB / 333.2 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3855, allocations: 0 / 333.2 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3856, allocations: 0 / 333.2 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.3858, allocations: 189.4 kB / 333.4 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3858, allocations: 0 / 333.4 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.386, allocations: 23.98 kB / 333.4 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.3861, allocations: 4 kB / 333.4 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.3861, allocations: 7.984 kB / 333.4 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3861, allocations: 0 / 333.4 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.3861, allocations: 3.938 kB / 333.4 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.3863, allocations: 155.5 kB / 333.6 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.3864, allocations: 88.97 kB / 333.7 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.3864, allocations: 4 kB / 333.7 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.3866, allocations: 24.11 kB / 333.7 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.3867, allocations: 7.984 kB / 333.7 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.3867, allocations: 3.938 kB / 333.7 MB, free: 3.406 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.91e-05/0.3868, allocations: 95.56 kB / 333.8 MB, free: 3.312 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3868, allocations: 0 / 333.8 MB, free: 3.312 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000291/0.3871, allocations: 12 kB / 333.8 MB, free: 3.301 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0005871/0.3877, allocations: 0.7162 MB / 334.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001568/0.3879, allocations: 28 kB / 334.6 MB, free: 2.531 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3879, allocations: 0 / 334.6 MB, free: 2.531 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.827e-05/0.388, allocations: 27.94 kB / 334.6 MB, free: 2.504 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.3882, allocations: 3.984 kB / 334.6 MB, free: 2.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005029/0.3887, allocations: 134.6 kB / 334.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.389, allocations: 0.6887 MB / 335.4 MB, free: 1.613 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.965e-05/0.3891, allocations: 4 kB / 335.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.672e-05/0.3891, allocations: 23.42 kB / 335.5 MB, free: 1.586 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.3892, allocations: 0 / 335.5 MB, free: 1.586 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/0.4088, allocations: 1.654 MB / 337.1 MB, free: 4 kB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003298/0.4092, allocations: 157.7 kB / 337.3 MB, free: 15.77 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.259/2.669, allocations: 0 / 337.3 MB, free: 15.77 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat does not exist to compare? outputFormat=mat