Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.609/2.609, allocations: 270 MB / 282.6 MB, free: 1.914 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.817e-05/3.826e-05, allocations: 4 kB / 347 MB, free: 3.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4134, allocations: 61.87 MB / 408.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2323/0.6458, allocations: 96.79 MB / 0.4939 GB, free: 9.746 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.6461, allocations: 71.95 kB / 0.4939 GB, free: 9.676 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.491/1.137, allocations: 27.9 MB / 0.5212 GB, free: 106 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.244e-06/1.137, allocations: 0 / 0.5212 GB, free: 106 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001144/1.137, allocations: 23.34 kB / 0.5212 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.003292/1.141, allocations: 0.9468 MB / 0.5221 GB, free: 105.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/1.141, allocations: 9.25 kB / 0.5221 GB, free: 105.5 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002355/1.141, allocations: 92.17 kB / 0.5222 GB, free: 105.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004034/1.141, allocations: 91.66 kB / 0.5223 GB, free: 105.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001674/1.143, allocations: 0.557 MB / 0.5228 GB, free: 105.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.215e-05/1.143, allocations: 43.56 kB / 0.5229 GB, free: 105.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/1.143, allocations: 53.88 kB / 0.5229 GB, free: 105.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/1.145, allocations: 0.5472 MB / 0.5235 GB, free: 105 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/1.145, allocations: 4.125 kB / 0.5235 GB, free: 105 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.038e-05/1.145, allocations: 20.09 kB / 0.5235 GB, free: 105 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/1.145, allocations: 12 kB / 0.5235 GB, free: 105 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/1.147, allocations: 363.8 kB / 0.5239 GB, free: 105 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01117/1.158, allocations: 2.7 MB / 0.5265 GB, free: 103.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/1.16, allocations: 470.1 kB / 0.5269 GB, free: 103.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005943/1.16, allocations: 192.2 kB / 0.5271 GB, free: 103.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.87e-05/1.161, allocations: 3.75 kB / 0.5271 GB, free: 103.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/1.161, allocations: 52.92 kB / 0.5272 GB, free: 103.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 4.078e-06/1.161, allocations: 1.5 kB / 0.5272 GB, free: 103.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.002483/1.163, allocations: 0.7953 MB / 0.528 GB, free: 103.1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/1.163, allocations: 138.3 kB / 0.5281 GB, free: 103 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/1.164, allocations: 0.5487 MB / 0.5286 GB, free: 102.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001721/1.165, allocations: 35.61 kB / 0.5287 GB, free: 102.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/1.165, allocations: 369.4 kB / 0.529 GB, free: 102.6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/1.165, allocations: 171.3 kB / 0.5292 GB, free: 102.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.659e-05/1.165, allocations: 8.938 kB / 0.5292 GB, free: 102.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.735e-05/1.165, allocations: 341.1 kB / 0.5295 GB, free: 102.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005525/1.166, allocations: 205.8 kB / 0.5297 GB, free: 102.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006297/1.166, allocations: 365 kB / 0.5301 GB, free: 102 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006042/1.167, allocations: 247.2 kB / 0.5303 GB, free: 101.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.167, allocations: 3.531 kB / 0.5303 GB, free: 101.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001467/1.169, allocations: 0.6123 MB / 0.5309 GB, free: 101.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003821/1.169, allocations: 1.755 MB / 0.5326 GB, free: 99.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.169, allocations: 3.844 kB / 0.5326 GB, free: 99.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.435e-05/1.169, allocations: 7.688 kB / 0.5326 GB, free: 99.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/1.17, allocations: 164.6 kB / 0.5328 GB, free: 99.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.293e-05/1.17, allocations: 9.969 kB / 0.5328 GB, free: 99.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/1.172, allocations: 87.92 kB / 0.5329 GB, free: 99.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.967e-05/1.172, allocations: 31.09 kB / 0.5329 GB, free: 99.76 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/1.172, allocations: 5.25 kB / 0.5329 GB, free: 99.76 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001426/1.173, allocations: 0.5537 MB / 0.5334 GB, free: 99.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/1.173, allocations: 7.969 kB / 0.5334 GB, free: 99.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/1.173, allocations: 7.438 kB / 0.5335 GB, free: 99.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/1.174, allocations: 160.2 kB / 0.5336 GB, free: 99.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/1.175, allocations: 7.719 kB / 0.5336 GB, free: 99.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006733/1.175, allocations: 84.14 kB / 0.5337 GB, free: 99.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/1.175, allocations: 23.59 kB / 0.5337 GB, free: 99.53 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.0002148/1.176, allocations: 138.7 kB / 0.5339 GB, free: 99.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002885/1.176, allocations: 73.28 kB / 0.5339 GB, free: 99.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/1.176, allocations: 87.3 kB / 0.534 GB, free: 99.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/1.176, allocations: 7.906 kB / 0.534 GB, free: 99.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/1.176, allocations: 0 / 0.534 GB, free: 99.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/1.176, allocations: 7.422 kB / 0.534 GB, free: 99.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/1.178, allocations: 0.8177 MB / 0.5348 GB, free: 98.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.178, allocations: 3.172 kB / 0.5348 GB, free: 98.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/1.179, allocations: 115.8 kB / 0.5349 GB, free: 98.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/1.179, allocations: 7.75 kB / 0.5349 GB, free: 98.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-05/1.179, allocations: 19.16 kB / 0.535 GB, free: 98.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/1.179, allocations: 0 / 0.535 GB, free: 98.78 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.179, allocations: 3.375 kB / 0.535 GB, free: 98.78 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/1.181, allocations: 0.9936 MB / 0.5359 GB, free: 98.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004089/1.182, allocations: 197.9 kB / 0.5361 GB, free: 98.03 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/1.182, allocations: 11.88 kB / 0.5361 GB, free: 98.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/1.183, allocations: 71.98 kB / 0.5362 GB, free: 98.01 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/1.183, allocations: 42.17 kB / 0.5362 GB, free: 98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-05/1.183, allocations: 7.906 kB / 0.5362 GB, free: 98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007245/1.184, allocations: 430.6 kB / 0.5367 GB, free: 97.81 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.7e-07/1.184, allocations: 0 / 0.5367 GB, free: 97.81 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001258/1.185, allocations: 210.4 kB / 0.5369 GB, free: 97.77 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.002084/1.187, allocations: 1.691 MB / 0.5385 GB, free: 96.51 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002012/1.189, allocations: 0.7685 MB / 0.5393 GB, free: 96.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/1.189, allocations: 0 / 0.5393 GB, free: 96.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005768/1.19, allocations: 216.8 kB / 0.5395 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.001533/1.192, allocations: 165.2 kB / 0.5396 GB, free: 96.13 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004094/1.196, allocations: 1.413 MB / 0.541 GB, free: 95.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004718/1.196, allocations: 0.962 MB / 0.5419 GB, free: 94.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006731/1.197, allocations: 266.5 kB / 0.5422 GB, free: 94.57 MB / 442.7 MB Notification: Performance of SimCode: time 1.262e-06/1.197, allocations: 0 / 0.5422 GB, free: 94.57 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.725/3.922, allocations: 11.48 MB / 0.5534 GB, free: 86.84 MB / 442.7 MB