Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.184/2.184, allocations: 225.8 MB / 239.3 MB, free: 1.277 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.568e-05/3.584e-05, allocations: 4 kB / 292.7 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1142, allocations: 50.4 MB / 343.1 MB, free: 9.008 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5268/0.6411, allocations: 77.77 MB / 420.9 MB, free: 7.961 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.6414, allocations: 65.12 kB / 421 MB, free: 7.961 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01531/0.6567, allocations: 3.748 MB / 424.7 MB, free: 7.457 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6567, allocations: 0 / 424.7 MB, free: 7.457 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.6568, allocations: 7.844 kB / 424.7 MB, free: 7.453 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.003012/0.6598, allocations: 0.6333 MB / 425.4 MB, free: 7.047 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.6598, allocations: 11.53 kB / 425.4 MB, free: 7.047 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.013e-05/0.6599, allocations: 54.11 kB / 425.4 MB, free: 7.004 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/0.66, allocations: 15.5 kB / 425.4 MB, free: 6.996 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.6601, allocations: 190.4 kB / 425.6 MB, free: 6.781 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.6602, allocations: 15.7 kB / 425.6 MB, free: 6.773 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.6602, allocations: 11.59 kB / 425.7 MB, free: 6.773 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.6606, allocations: 160.1 kB / 425.8 MB, free: 6.742 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.6607, allocations: 7 kB / 425.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.6607, allocations: 7 kB / 425.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.6607, allocations: 3.875 kB / 425.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004612/0.6612, allocations: 169.9 kB / 426 MB, free: 6.734 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.6624, allocations: 0.5566 MB / 426.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.6629, allocations: 160.8 kB / 426.7 MB, free: 6.406 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.6631, allocations: 86.67 kB / 426.8 MB, free: 6.398 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.905e-05/0.6631, allocations: 0 / 426.8 MB, free: 6.398 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.6632, allocations: 44.19 kB / 426.8 MB, free: 6.355 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.734e-06/0.6632, allocations: 0 / 426.8 MB, free: 6.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005077/0.6637, allocations: 171.8 kB / 427 MB, free: 6.316 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.6637, allocations: 59.19 kB / 427.1 MB, free: 6.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.6639, allocations: 172 kB / 427.2 MB, free: 6.152 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.664, allocations: 25.7 kB / 427.3 MB, free: 6.121 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.664, allocations: 110.3 kB / 427.4 MB, free: 6.031 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.6641, allocations: 52.59 kB / 427.4 MB, free: 6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-05/0.6641, allocations: 4 kB / 427.4 MB, free: 5.996 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.3e-05/0.6642, allocations: 327.3 kB / 427.7 MB, free: 5.684 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.6644, allocations: 64.89 kB / 427.8 MB, free: 5.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.6646, allocations: 86.23 kB / 427.9 MB, free: 5.648 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.6648, allocations: 73.25 kB / 428 MB, free: 5.645 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6648, allocations: 7.906 kB / 428 MB, free: 5.641 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004673/0.6653, allocations: 191.2 kB / 428.1 MB, free: 5.602 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.6653, allocations: 3.875 kB / 428.2 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.6653, allocations: 0 / 428.2 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.6653, allocations: 3.844 kB / 428.2 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004157/0.6658, allocations: 40.28 kB / 428.2 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.6658, allocations: 3.953 kB / 428.2 MB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.6661, allocations: 29.89 kB / 428.2 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.6661, allocations: 7.031 kB / 428.2 MB, free: 5.582 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.777e-05/0.6662, allocations: 112.6 kB / 428.3 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.6662, allocations: 15.62 kB / 428.4 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000607/0.6669, allocations: 241.1 kB / 428.6 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.6669, allocations: 3.844 kB / 428.6 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.6669, allocations: 4 kB / 428.6 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.6669, allocations: 2.391 kB / 428.6 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003767/0.6673, allocations: 289.9 kB / 428.9 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.6673, allocations: 0 / 428.9 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004042/0.6677, allocations: 42.98 kB / 428.9 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.6678, allocations: 0 / 428.9 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.6678, allocations: 6.453 kB / 428.9 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.6678, allocations: 3.844 kB / 428.9 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.6678, allocations: 0 / 428.9 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/0.6683, allocations: 308.1 kB / 429.2 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.6684, allocations: 100.4 kB / 429.3 MB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.6684, allocations: 0 / 429.3 MB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.6687, allocations: 17.77 kB / 429.4 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.6688, allocations: 18.23 kB / 429.4 MB, free: 4.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.6688, allocations: 10.7 kB / 429.4 MB, free: 4.949 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001248/0.669, allocations: 135.5 kB / 429.5 MB, free: 4.875 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.669, allocations: 4 kB / 429.5 MB, free: 4.871 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004027/0.6694, allocations: 34.47 kB / 429.6 MB, free: 4.867 MB / 330.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0009762/0.6704, allocations: 0.8554 MB / 430.4 MB, free: 20.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004195/0.6708, allocations: 159.3 kB / 430.6 MB, free: 20.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6708, allocations: 0 / 430.6 MB, free: 20.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.6711, allocations: 94.05 kB / 430.7 MB, free: 20.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.6714, allocations: 18.69 kB / 430.7 MB, free: 20.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008663/0.6722, allocations: 300.6 kB / 431 MB, free: 20.03 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.6726, allocations: 0.7338 MB / 431.7 MB, free: 19.33 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002069/0.6728, allocations: 29.36 kB / 431.7 MB, free: 19.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.673, allocations: 50.55 kB / 431.8 MB, free: 19.32 MB / 346.7 MB Notification: Performance of SimCode: time 6.61e-07/0.673, allocations: 3.938 kB / 431.8 MB, free: 19.31 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/0.7014, allocations: 3.503 MB / 435.3 MB, free: 17.79 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/0.7017, allocations: 154.1 kB / 435.4 MB, free: 17.56 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/3.212, allocations: 3.938 kB / 435.4 MB, free: 17.56 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat does not exist to compare? outputFormat=mat