Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.399/2.399, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.775e-05/3.79e-05, allocations: 4 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1546, allocations: 61.89 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5413/0.696, allocations: 96.39 MB / 0.4949 GB, free: 7.582 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.6963, allocations: 63.97 kB / 0.4949 GB, free: 7.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07313/0.7694, allocations: 14.65 MB / 0.5092 GB, free: 8.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.7695, allocations: 0 / 0.5092 GB, free: 8.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001174/0.7696, allocations: 24 kB / 0.5093 GB, free: 8.816 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003688/0.7733, allocations: 0.9425 MB / 0.5102 GB, free: 7.828 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.331e-05/0.7734, allocations: 8.031 kB / 0.5102 GB, free: 7.82 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003358/0.7738, allocations: 90.53 kB / 0.5103 GB, free: 7.723 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004048/0.7742, allocations: 90.88 kB / 0.5104 GB, free: 7.633 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.7763, allocations: 0.5548 MB / 0.5109 GB, free: 7.035 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.948e-05/0.7764, allocations: 37 kB / 0.5109 GB, free: 7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/0.7766, allocations: 59.91 kB / 0.511 GB, free: 6.941 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.7781, allocations: 0.5452 MB / 0.5115 GB, free: 6.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.7782, allocations: 3.938 kB / 0.5115 GB, free: 6.336 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.312e-05/0.7783, allocations: 16 kB / 0.5116 GB, free: 6.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.7784, allocations: 16 kB / 0.5116 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.7795, allocations: 368.8 kB / 0.5119 GB, free: 5.945 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006712/0.7863, allocations: 2.702 MB / 0.5146 GB, free: 3.141 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.7877, allocations: 471.9 kB / 0.515 GB, free: 2.652 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005462/0.7883, allocations: 190.6 kB / 0.5152 GB, free: 2.457 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.734e-05/0.7884, allocations: 8 kB / 0.5152 GB, free: 2.449 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.7884, allocations: 38.59 kB / 0.5152 GB, free: 2.402 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 4.368e-06/0.7884, allocations: 0 / 0.5152 GB, free: 2.402 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.002463/0.7909, allocations: 0.801 MB / 0.516 GB, free: 1.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.7911, allocations: 140.5 kB / 0.5162 GB, free: 1.422 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.7922, allocations: 0.5429 MB / 0.5167 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.824e-05/0.7923, allocations: 37.7 kB / 0.5167 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003791/0.7927, allocations: 352 kB / 0.5171 GB, free: 492 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/0.7929, allocations: 173.5 kB / 0.5172 GB, free: 316 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-05/0.793, allocations: 20.09 kB / 0.5172 GB, free: 296 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.7932, allocations: 326 kB / 0.5176 GB, free: 15.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006507/0.7938, allocations: 205.5 kB / 0.5177 GB, free: 15.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007702/0.7946, allocations: 365 kB / 0.5181 GB, free: 15.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007209/0.7954, allocations: 242.4 kB / 0.5183 GB, free: 15.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.7954, allocations: 4 kB / 0.5183 GB, free: 15.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002059/0.7975, allocations: 0.6532 MB / 0.519 GB, free: 14.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007971/0.7983, allocations: 1.754 MB / 0.5207 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.7984, allocations: 4 kB / 0.5207 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.525e-05/0.7984, allocations: 12 kB / 0.5207 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.7999, allocations: 155.8 kB / 0.5208 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.884e-05/0.8, allocations: 12 kB / 0.5209 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.8012, allocations: 99.47 kB / 0.521 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.071e-05/0.8013, allocations: 20 kB / 0.521 GB, free: 12.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.8013, allocations: 8 kB / 0.521 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00167/0.803, allocations: 0.565 MB / 0.5215 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.8031, allocations: 4 kB / 0.5215 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.8031, allocations: 12.03 kB / 0.5215 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.8044, allocations: 155.7 kB / 0.5217 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.039e-05/0.8045, allocations: 11.98 kB / 0.5217 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.8056, allocations: 91.59 kB / 0.5218 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.499e-05/0.8057, allocations: 24 kB / 0.5218 GB, free: 11.39 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0002736/0.806, allocations: 144.7 kB / 0.522 GB, free: 11.24 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002531/0.8062, allocations: 78.98 kB / 0.522 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.8065, allocations: 94 kB / 0.5221 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.8066, allocations: 4 kB / 0.5221 GB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.8066, allocations: 4 kB / 0.5221 GB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.8066, allocations: 3.984 kB / 0.5221 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.8085, allocations: 0.8141 MB / 0.5229 GB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.8085, allocations: 0 / 0.5229 GB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001418/0.8099, allocations: 123.9 kB / 0.523 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/0.81, allocations: 4 kB / 0.523 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.916e-05/0.8101, allocations: 11.98 kB / 0.5231 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.379e-05/0.8101, allocations: 7.938 kB / 0.5231 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.8101, allocations: 3.953 kB / 0.5231 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/0.8123, allocations: 0.9805 MB / 0.524 GB, free: 9.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004527/0.8128, allocations: 204.1 kB / 0.5242 GB, free: 8.801 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.8129, allocations: 15.98 kB / 0.5242 GB, free: 8.785 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.8141, allocations: 67.94 kB / 0.5243 GB, free: 8.719 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.8142, allocations: 35.94 kB / 0.5243 GB, free: 8.684 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.725e-05/0.8143, allocations: 12 kB / 0.5243 GB, free: 8.672 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008607/0.8152, allocations: 427.2 kB / 0.5248 GB, free: 8.262 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8152, allocations: 0 / 0.5248 GB, free: 8.262 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001299/0.8165, allocations: 208 kB / 0.525 GB, free: 8.059 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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.002679/0.8192, allocations: 1.694 MB / 0.5266 GB, free: 6.336 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002415/0.8217, allocations: 0.7943 MB / 0.5274 GB, free: 5.539 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.8218, allocations: 4 kB / 0.5274 GB, free: 5.535 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006751/0.8224, allocations: 219.8 kB / 0.5276 GB, free: 5.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.824, allocations: 165.8 kB / 0.5278 GB, free: 5.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004354/0.8284, allocations: 1.372 MB / 0.5291 GB, free: 3.738 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000769/0.8292, allocations: 0.9706 MB / 0.53 GB, free: 2.734 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001277/0.8305, allocations: 207.2 kB / 0.5302 GB, free: 2.531 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005689/0.8311, allocations: 251.4 kB / 0.5305 GB, free: 2.285 MB / 442.7 MB Notification: Performance of SimCode: time 1.263e-06/0.8311, allocations: 0 / 0.5305 GB, free: 2.285 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05177/0.8829, allocations: 14.53 MB / 0.5447 GB, free: 3.891 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003717/0.8833, allocations: 134.4 kB / 0.5448 GB, free: 3.668 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.236/4.119, allocations: 0 / 0.5448 GB, free: 3.668 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat