Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.626/2.626, allocations: 270 MB / 283.6 MB, free: 1.883 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.319e-05/4.334e-05, allocations: 8 kB / 348.5 MB, free: 2.625 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4249/0.4249, allocations: 61.87 MB / 410.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1965/0.6216, allocations: 96.79 MB / 0.4953 GB, free: 9.762 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.6219, allocations: 67.97 kB / 0.4953 GB, free: 9.695 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.506/1.128, allocations: 27.91 MB / 0.5226 GB, free: 106 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.224e-06/1.128, allocations: 0.5312 kB / 0.5226 GB, free: 106 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001145/1.128, allocations: 20.66 kB / 0.5226 GB, free: 106 MB / 442.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.003324/1.131, allocations: 0.9471 MB / 0.5235 GB, free: 105.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/1.131, allocations: 11.25 kB / 0.5235 GB, free: 105.5 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002456/1.132, allocations: 88.97 kB / 0.5236 GB, free: 105.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003624/1.132, allocations: 93.03 kB / 0.5237 GB, free: 105.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/1.134, allocations: 0.5533 MB / 0.5243 GB, free: 105.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-05/1.134, allocations: 39.78 kB / 0.5243 GB, free: 105.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/1.134, allocations: 65.16 kB / 0.5244 GB, free: 105.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/1.135, allocations: 0.541 MB / 0.5249 GB, free: 105 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/1.135, allocations: 4.438 kB / 0.5249 GB, free: 105 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.91e-05/1.136, allocations: 19.47 kB / 0.5249 GB, free: 105 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/1.136, allocations: 11.5 kB / 0.5249 GB, free: 105 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/1.137, allocations: 357.7 kB / 0.5253 GB, free: 105 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00631/1.143, allocations: 2.703 MB / 0.5279 GB, free: 103.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/1.144, allocations: 473.9 kB / 0.5284 GB, free: 103.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000472/1.145, allocations: 197.5 kB / 0.5285 GB, free: 103.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.536e-05/1.145, allocations: 10.59 kB / 0.5286 GB, free: 103.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/1.145, allocations: 41.69 kB / 0.5286 GB, free: 103.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 3.366e-06/1.145, allocations: 0 / 0.5286 GB, free: 103.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.002203/1.147, allocations: 0.8003 MB / 0.5294 GB, free: 103.1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/1.147, allocations: 135.2 kB / 0.5295 GB, free: 103 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009525/1.148, allocations: 0.5462 MB / 0.53 GB, free: 102.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/1.148, allocations: 34.98 kB / 0.5301 GB, free: 102.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/1.149, allocations: 354.4 kB / 0.5304 GB, free: 102.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/1.149, allocations: 171.3 kB / 0.5306 GB, free: 102.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/1.149, allocations: 13.06 kB / 0.5306 GB, free: 102.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.998e-05/1.149, allocations: 338 kB / 0.5309 GB, free: 102.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005737/1.15, allocations: 200.9 kB / 0.5311 GB, free: 102.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006917/1.15, allocations: 366.1 kB / 0.5314 GB, free: 102 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006425/1.151, allocations: 249.8 kB / 0.5317 GB, free: 101.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/1.151, allocations: 3.906 kB / 0.5317 GB, free: 101.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001713/1.153, allocations: 0.6603 MB / 0.5323 GB, free: 101.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003812/1.153, allocations: 1.749 MB / 0.534 GB, free: 99.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/1.153, allocations: 3.312 kB / 0.534 GB, free: 99.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.396e-05/1.153, allocations: 11.12 kB / 0.5341 GB, free: 99.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/1.155, allocations: 164.2 kB / 0.5342 GB, free: 99.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.302e-05/1.155, allocations: 11.58 kB / 0.5342 GB, free: 99.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/1.156, allocations: 102.6 kB / 0.5343 GB, free: 99.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/1.156, allocations: 23.09 kB / 0.5343 GB, free: 99.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/1.156, allocations: 4.094 kB / 0.5343 GB, free: 99.78 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001444/1.157, allocations: 0.568 MB / 0.5349 GB, free: 99.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.157, allocations: 3.938 kB / 0.5349 GB, free: 99.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/1.157, allocations: 7.844 kB / 0.5349 GB, free: 99.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/1.159, allocations: 154.2 kB / 0.5351 GB, free: 99.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/1.159, allocations: 15.61 kB / 0.5351 GB, free: 99.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/1.16, allocations: 85.27 kB / 0.5352 GB, free: 99.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.791e-05/1.16, allocations: 31.48 kB / 0.5352 GB, free: 99.55 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.000217/1.16, allocations: 136.2 kB / 0.5353 GB, free: 99.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/1.16, allocations: 73.78 kB / 0.5354 GB, free: 99.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/1.161, allocations: 84.62 kB / 0.5355 GB, free: 99.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/1.161, allocations: 7.531 kB / 0.5355 GB, free: 99.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/1.161, allocations: 3.875 kB / 0.5355 GB, free: 99.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/1.161, allocations: 0 / 0.5355 GB, free: 99.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/1.162, allocations: 0.8273 MB / 0.5363 GB, free: 98.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/1.163, allocations: 3.969 kB / 0.5363 GB, free: 98.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/1.164, allocations: 111.3 kB / 0.5364 GB, free: 98.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/1.164, allocations: 0 / 0.5364 GB, free: 98.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.092e-05/1.164, allocations: 23.41 kB / 0.5364 GB, free: 98.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/1.164, allocations: 3.969 kB / 0.5364 GB, free: 98.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.164, allocations: 0 / 0.5364 GB, free: 98.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/1.166, allocations: 0.9922 MB / 0.5374 GB, free: 98.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004523/1.166, allocations: 201.1 kB / 0.5376 GB, free: 98.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/1.167, allocations: 11.84 kB / 0.5376 GB, free: 98.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/1.168, allocations: 72.55 kB / 0.5377 GB, free: 98.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/1.168, allocations: 46.14 kB / 0.5377 GB, free: 98.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/1.168, allocations: 11.91 kB / 0.5377 GB, free: 98.01 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007458/1.169, allocations: 429.5 kB / 0.5381 GB, free: 97.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.169, allocations: 0 / 0.5381 GB, free: 97.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001229/1.17, allocations: 206.4 kB / 0.5383 GB, free: 97.79 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.002146/1.172, allocations: 1.683 MB / 0.54 GB, free: 96.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002058/1.174, allocations: 0.7941 MB / 0.5407 GB, free: 96.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.174, allocations: 0 / 0.5407 GB, free: 96.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005821/1.175, allocations: 220.2 kB / 0.541 GB, free: 96.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/1.176, allocations: 166.8 kB / 0.5411 GB, free: 96.13 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004122/1.181, allocations: 1.359 MB / 0.5424 GB, free: 95.53 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/1.181, allocations: 0.9698 MB / 0.5434 GB, free: 94.81 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001323/1.182, allocations: 208.4 kB / 0.5436 GB, free: 94.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000495/1.183, allocations: 248.8 kB / 0.5438 GB, free: 94.59 MB / 442.7 MB Notification: Performance of SimCode: time 1.583e-06/1.183, allocations: 0 / 0.5438 GB, free: 94.59 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0595/1.243, allocations: 14.55 MB / 0.558 GB, free: 83.75 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002219/1.243, allocations: 153.6 kB / 0.5582 GB, free: 83.53 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.189/4.431, allocations: 0 / 0.5582 GB, free: 83.53 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat