Running command: "" <> buildModelFMU(ConPNlib.Examples.Test1a,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test1a",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ConPNlib): time 0.009865/0.009864, allocations: 1.389 MB / 13.54 MB, free: 1.762 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.363e-05/2.368e-05, allocations: 0.6094 kB / 16.87 MB, free: 4.406 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006781/0.0007417, allocations: 357.9 kB / 17.22 MB, free: 4.121 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.004838/0.005605, allocations: 3.713 MB / 20.93 MB, free: 444 kB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001437/0.005804, allocations: 47.98 kB / 20.98 MB, free: 396 kB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.02218/0.028, allocations: 2.852 MB / 23.83 MB, free: 2.699 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.453e-06/0.02805, allocations: 1.5 kB / 23.83 MB, free: 2.699 MB / 13.93 MB Notification: Performance of Transformations before backend: time 2.207e-05/0.02809, allocations: 8 kB / 23.84 MB, free: 2.691 MB / 13.93 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003952/0.02849, allocations: 367.8 kB / 24.2 MB, free: 2.293 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.02855, allocations: 8.312 kB / 24.21 MB, free: 2.285 MB / 13.93 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.371e-05/0.02859, allocations: 38.48 kB / 24.24 MB, free: 2.242 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.02863, allocations: 10.48 kB / 24.25 MB, free: 2.234 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.02882, allocations: 183 kB / 24.43 MB, free: 2.02 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.02885, allocations: 1.188 kB / 24.43 MB, free: 2.02 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.02887, allocations: 6.719 kB / 24.44 MB, free: 2.016 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.029, allocations: 69.64 kB / 24.51 MB, free: 1.938 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.02903, allocations: 7.953 kB / 24.52 MB, free: 1.93 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.02905, allocations: 0 / 24.52 MB, free: 1.93 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.02906, allocations: 0 / 24.52 MB, free: 1.93 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.384e-05/0.02912, allocations: 20.06 kB / 24.54 MB, free: 1.914 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.02958, allocations: 430.9 kB / 24.96 MB, free: 1.453 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 5.63e-05/0.02965, allocations: 25.39 kB / 24.98 MB, free: 1.422 MB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.115e-05/0.02968, allocations: 12.86 kB / 24.99 MB, free: 1.406 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.0297, allocations: 4 kB / 25 MB, free: 1.402 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.02973, allocations: 30.56 kB / 25.03 MB, free: 1.363 MB / 13.93 MB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.02974, allocations: 0 / 25.03 MB, free: 1.363 MB / 13.93 MB Notification: Performance of matching and sorting (n=2): time 0.0001392/0.02988, allocations: 44.75 kB / 25.07 MB, free: 1.316 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.02993, allocations: 77.11 kB / 25.15 MB, free: 1.223 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.54e-05/0.03002, allocations: 113.6 kB / 25.26 MB, free: 1.113 MB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.03005, allocations: 25.7 kB / 25.28 MB, free: 1.082 MB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 3.694e-05/0.03009, allocations: 95.73 kB / 25.38 MB, free: 0.9883 MB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.03012, allocations: 7.906 kB / 25.38 MB, free: 0.9805 MB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.03013, allocations: 3.938 kB / 25.39 MB, free: 0.9766 MB / 13.93 MB Notification: Performance of setup shared object (initialization): time 5.495e-05/0.03019, allocations: 318.5 kB / 25.7 MB, free: 0.6602 MB / 13.93 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.624e-05/0.03023, allocations: 11.81 kB / 25.71 MB, free: 0.6523 MB / 13.93 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.961e-05/0.03029, allocations: 45.7 kB / 25.75 MB, free: 0.5898 MB / 13.93 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.121e-05/0.03034, allocations: 23.27 kB / 25.78 MB, free: 0.5703 MB / 13.93 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.03035, allocations: 0 / 25.78 MB, free: 0.5703 MB / 13.93 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001265/0.03049, allocations: 70.98 kB / 25.85 MB, free: 0.5 MB / 13.93 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.03051, allocations: 8.031 kB / 25.85 MB, free: 0.4922 MB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.03053, allocations: 0 / 25.85 MB, free: 0.4922 MB / 13.93 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.03055, allocations: 7.891 kB / 25.86 MB, free: 500 kB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.107e-05/0.03065, allocations: 14.19 kB / 25.88 MB, free: 488 kB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.03067, allocations: 4.703 kB / 25.88 MB, free: 484 kB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.15e-05/0.03076, allocations: 19.83 kB / 25.9 MB, free: 464 kB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.03078, allocations: 0 / 25.9 MB, free: 464 kB / 13.93 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (P1.emptying,P1.feeding) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.7e-05/0.03085, allocations: 107.1 kB / 26 MB, free: 352 kB / 13.93 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.03089, allocations: 11.95 kB / 26.02 MB, free: 340 kB / 13.93 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.03093, allocations: 6.953 kB / 26.02 MB, free: 332 kB / 13.93 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.03094, allocations: 0 / 26.02 MB, free: 332 kB / 13.93 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.03096, allocations: 0 / 26.02 MB, free: 332 kB / 13.93 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.03097, allocations: 3.984 kB / 26.03 MB, free: 328 kB / 13.93 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.0312, allocations: 171 kB / 26.19 MB, free: 112 kB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.03122, allocations: 0 / 26.19 MB, free: 112 kB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.776e-05/0.03129, allocations: 7.984 kB / 26.2 MB, free: 104 kB / 13.93 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.03131, allocations: 3.953 kB / 26.21 MB, free: 100 kB / 13.93 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.03133, allocations: 3.562 kB / 26.21 MB, free: 100 kB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.03134, allocations: 11.94 kB / 26.22 MB, free: 88 kB / 13.93 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.03135, allocations: 0 / 26.22 MB, free: 88 kB / 13.93 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.03153, allocations: 139.3 kB / 26.36 MB, free: 4.582 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.0316, allocations: 81.14 kB / 26.44 MB, free: 4.484 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.03163, allocations: 3.953 kB / 26.44 MB, free: 4.48 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.03174, allocations: 4 kB / 26.44 MB, free: 4.477 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.03179, allocations: 8.078 kB / 26.45 MB, free: 4.469 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.03181, allocations: 7.938 kB / 26.46 MB, free: 4.461 MB / 18.57 MB Notification: Performance of sorting global known variables: time 7.204e-05/0.03189, allocations: 92.09 kB / 26.55 MB, free: 4.375 MB / 18.57 MB Notification: Performance of sort global known variables: time 4.31e-07/0.0319, allocations: 0 / 26.55 MB, free: 4.375 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0003591/0.03227, allocations: 9.062 kB / 26.56 MB, free: 4.367 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P1.t_) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004778/0.03276, allocations: 0.6784 MB / 27.24 MB, free: 3.672 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.03289, allocations: 27.48 kB / 27.26 MB, free: 3.648 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.03291, allocations: 0 / 27.26 MB, free: 3.648 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 2.795e-05/0.03294, allocations: 11.31 kB / 27.27 MB, free: 3.641 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.03322, allocations: 7.953 kB / 27.28 MB, free: 3.633 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000467/0.0337, allocations: 125.9 kB / 27.4 MB, free: 3.484 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.03402, allocations: 0.685 MB / 28.09 MB, free: 2.773 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 4.889e-05/0.03408, allocations: 8.484 kB / 28.1 MB, free: 2.758 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.03413, allocations: 18 kB / 28.12 MB, free: 2.746 MB / 18.57 MB Notification: Performance of SimCode: time 7.32e-07/0.03414, allocations: 0 / 28.12 MB, free: 2.746 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.05756, allocations: 1.295 MB / 29.41 MB, free: 1.477 MB / 18.57 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002346/0.05785, allocations: 124.5 kB / 29.53 MB, free: 1.273 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.151/2.209, allocations: 64 / 29.53 MB, free: 1.273 MB / 18.57 MB