Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.751/2.751, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.513e-05/3.522e-05, allocations: 5.766 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1422, allocations: 61.88 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5481/0.6904, allocations: 96.89 MB / 0.4954 GB, free: 7.047 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.6907, allocations: 67.97 kB / 0.4954 GB, free: 6.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1449/0.8356, allocations: 29.26 MB / 0.524 GB, free: 9.633 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.8356, allocations: 0 / 0.524 GB, free: 9.633 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001117/0.8358, allocations: 28.38 kB / 0.524 GB, free: 9.605 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.003227/0.839, allocations: 0.9503 MB / 0.525 GB, free: 8.609 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/0.8391, allocations: 12.03 kB / 0.525 GB, free: 8.598 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002179/0.8393, allocations: 86.52 kB / 0.525 GB, free: 8.504 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003231/0.8396, allocations: 86.97 kB / 0.5251 GB, free: 8.418 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/0.8416, allocations: 0.5781 MB / 0.5257 GB, free: 7.797 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.82e-05/0.8417, allocations: 41 kB / 0.5257 GB, free: 7.758 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.8419, allocations: 63.89 kB / 0.5258 GB, free: 7.695 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.8433, allocations: 0.5413 MB / 0.5263 GB, free: 7.098 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.8433, allocations: 0 / 0.5263 GB, free: 7.098 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-05/0.8434, allocations: 20 kB / 0.5263 GB, free: 7.078 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.8435, allocations: 12 kB / 0.5264 GB, free: 7.066 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.8446, allocations: 364.8 kB / 0.5267 GB, free: 6.711 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006339/0.8509, allocations: 2.671 MB / 0.5293 GB, free: 3.934 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.8521, allocations: 427 kB / 0.5297 GB, free: 3.488 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005355/0.8526, allocations: 211 kB / 0.5299 GB, free: 3.273 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.14e-05/0.8527, allocations: 4.234 kB / 0.5299 GB, free: 3.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.8528, allocations: 42.73 kB / 0.53 GB, free: 3.219 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 3.797e-06/0.8528, allocations: 0 / 0.53 GB, free: 3.219 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.002301/0.8551, allocations: 0.8062 MB / 0.5307 GB, free: 2.406 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/0.8552, allocations: 106.8 kB / 0.5309 GB, free: 2.277 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.8563, allocations: 0.5467 MB / 0.5314 GB, free: 1.723 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.092e-05/0.8563, allocations: 33.7 kB / 0.5314 GB, free: 1.684 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003939/0.8567, allocations: 352.8 kB / 0.5318 GB, free: 1.336 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/0.857, allocations: 181.4 kB / 0.5319 GB, free: 1.156 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/0.8571, allocations: 12 kB / 0.5319 GB, free: 1.145 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.8572, allocations: 334 kB / 0.5323 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006409/0.8579, allocations: 205.5 kB / 0.5325 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007564/0.8587, allocations: 355.3 kB / 0.5328 GB, free: 208 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007177/0.8594, allocations: 248.4 kB / 0.533 GB, free: 15.96 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.8594, allocations: 0 / 0.533 GB, free: 15.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001876/0.8613, allocations: 0.6697 MB / 0.5337 GB, free: 15.28 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009326/0.8623, allocations: 1.753 MB / 0.5354 GB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.8623, allocations: 4 kB / 0.5354 GB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.332e-05/0.8623, allocations: 12 kB / 0.5354 GB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002077/0.8644, allocations: 199.8 kB / 0.5356 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.153e-05/0.8645, allocations: 11.95 kB / 0.5356 GB, free: 13.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.8656, allocations: 91.56 kB / 0.5357 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.448e-05/0.8657, allocations: 27.94 kB / 0.5357 GB, free: 13.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.8657, allocations: 4 kB / 0.5357 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001681/0.8674, allocations: 0.5733 MB / 0.5363 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.8674, allocations: 4 kB / 0.5363 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.8675, allocations: 8 kB / 0.5363 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/0.8693, allocations: 208.2 kB / 0.5365 GB, free: 12.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.083e-05/0.8694, allocations: 11.98 kB / 0.5365 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.8704, allocations: 83.55 kB / 0.5366 GB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.8e-05/0.8705, allocations: 24 kB / 0.5366 GB, free: 12.14 MB / 458.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 (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0002375/0.8708, allocations: 149.3 kB / 0.5368 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/0.871, allocations: 79.02 kB / 0.5368 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.8713, allocations: 90.84 kB / 0.5369 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.8713, allocations: 8 kB / 0.5369 GB, free: 11.81 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.8713, allocations: 3.938 kB / 0.5369 GB, free: 11.81 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.8714, allocations: 7.984 kB / 0.5369 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002719/0.8741, allocations: 1.183 MB / 0.5381 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.8741, allocations: 0 / 0.5381 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/0.8755, allocations: 123.9 kB / 0.5382 GB, free: 10.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.8755, allocations: 4.094 kB / 0.5382 GB, free: 10.43 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-05/0.8756, allocations: 19.97 kB / 0.5382 GB, free: 10.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.8756, allocations: 4 kB / 0.5382 GB, free: 10.41 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.8756, allocations: 0 / 0.5382 GB, free: 10.41 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/0.8778, allocations: 1.033 MB / 0.5392 GB, free: 9.332 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004103/0.8783, allocations: 200.2 kB / 0.5394 GB, free: 9.117 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.8784, allocations: 19.98 kB / 0.5395 GB, free: 9.098 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009999/0.8794, allocations: 59.88 kB / 0.5395 GB, free: 9.039 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.8796, allocations: 39.94 kB / 0.5396 GB, free: 9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-05/0.8797, allocations: 16 kB / 0.5396 GB, free: 8.984 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008701/0.8806, allocations: 427.2 kB / 0.54 GB, free: 8.574 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8806, allocations: 0 / 0.54 GB, free: 8.574 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001513/0.8821, allocations: 231.9 kB / 0.5402 GB, free: 8.348 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 46 * 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.003139/0.8853, allocations: 1.906 MB / 0.5421 GB, free: 6.391 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002519/0.8878, allocations: 0.8062 MB / 0.5428 GB, free: 5.582 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/0.8879, allocations: 4 kB / 0.5428 GB, free: 5.578 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007018/0.8886, allocations: 230.8 kB / 0.5431 GB, free: 5.355 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.8903, allocations: 165.8 kB / 0.5432 GB, free: 5.195 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004286/0.8946, allocations: 1.382 MB / 0.5446 GB, free: 3.746 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007629/0.8954, allocations: 0.979 MB / 0.5455 GB, free: 2.734 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00131/0.8967, allocations: 207.3 kB / 0.5457 GB, free: 2.531 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006313/0.8973, allocations: 259.3 kB / 0.546 GB, free: 2.281 MB / 458.7 MB Notification: Performance of SimCode: time 1.383e-06/0.8974, allocations: 0 / 0.546 GB, free: 2.281 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05832/0.9557, allocations: 15.29 MB / 0.5609 GB, free: 3.105 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003216/0.9561, allocations: 160.7 kB / 0.5611 GB, free: 2.879 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.221/4.178, allocations: 0 / 0.5611 GB, free: 2.879 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat does not exist to compare? outputFormat=mat