Running command: "" <> buildModelFMU(ConPNlib.Examples.Test2,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ConPNlib): time 0.01085/0.01085, allocations: 1.389 MB / 13.54 MB, free: 1.758 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.954e-05/2.962e-05, allocations: 0.5625 kB / 16.87 MB, free: 4.27 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0009521/0.001033, allocations: 358.5 kB / 17.22 MB, free: 3.996 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.01934/0.0204, allocations: 4.023 MB / 21.24 MB, free: 1.16 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000163/0.02063, allocations: 48.92 kB / 21.29 MB, free: 1.16 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.02312/0.04376, allocations: 5.377 MB / 26.67 MB, free: 2.895 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.863e-06/0.04381, allocations: 0 / 26.67 MB, free: 2.895 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.443e-05/0.04385, allocations: 9.219 kB / 26.67 MB, free: 2.887 MB / 18.57 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001018/0.04488, allocations: 0.5127 MB / 27.19 MB, free: 2.348 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.04495, allocations: 12.31 kB / 27.2 MB, free: 2.336 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.04507, allocations: 64.64 kB / 27.26 MB, free: 2.277 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.547e-05/0.04517, allocations: 28.58 kB / 27.29 MB, free: 2.25 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.04564, allocations: 242.2 kB / 27.53 MB, free: 1.992 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.04569, allocations: 21.47 kB / 27.55 MB, free: 1.98 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.041e-05/0.04577, allocations: 26.58 kB / 27.57 MB, free: 1.961 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008552/0.04664, allocations: 355.9 kB / 27.92 MB, free: 1.691 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.04667, allocations: 7.891 kB / 27.93 MB, free: 1.684 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.064e-05/0.04672, allocations: 3.75 kB / 27.93 MB, free: 1.684 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.417e-05/0.0468, allocations: 16.19 kB / 27.95 MB, free: 1.668 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005901/0.0474, allocations: 218.5 kB / 28.16 MB, free: 1.52 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.04906, allocations: 0.6841 MB / 28.85 MB, free: 0.8984 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.04949, allocations: 138.4 kB / 28.98 MB, free: 0.793 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.04972, allocations: 92.59 kB / 29.07 MB, free: 0.7266 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005849/0.05032, allocations: 428.3 kB / 29.49 MB, free: 224 kB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.05038, allocations: 34.56 kB / 29.52 MB, free: 180 kB / 18.57 MB Notification: Performance of pre-optimization done (n=14): time 3.477e-06/0.0504, allocations: 0 / 29.52 MB, free: 180 kB / 18.57 MB Notification: Performance of matching and sorting (n=14): time 0.0007105/0.05112, allocations: 207.7 kB / 29.73 MB, free: 0 / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01252/0.06367, allocations: 116 kB / 29.84 MB, free: 3.734 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.06396, allocations: 151.9 kB / 29.99 MB, free: 3.633 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.06403, allocations: 28.77 kB / 30.02 MB, free: 3.602 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.06414, allocations: 152.2 kB / 30.17 MB, free: 3.508 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 5.949e-05/0.06421, allocations: 46.8 kB / 30.21 MB, free: 3.488 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.038e-05/0.06424, allocations: 7.781 kB / 30.22 MB, free: 3.488 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.908e-05/0.06432, allocations: 328.8 kB / 30.54 MB, free: 3.176 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.06455, allocations: 79.16 kB / 30.62 MB, free: 3.176 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.06481, allocations: 132.3 kB / 30.75 MB, free: 3.113 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.06506, allocations: 114.5 kB / 30.86 MB, free: 3.082 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.06508, allocations: 0 / 30.86 MB, free: 3.082 MB / 18.57 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005928/0.06568, allocations: 292.2 kB / 31.14 MB, free: 3.008 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.549e-05/0.06575, allocations: 44.05 kB / 31.19 MB, free: 2.977 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.06577, allocations: 0 / 31.19 MB, free: 2.977 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/0.0658, allocations: 8.922 kB / 31.2 MB, free: 2.977 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.06606, allocations: 28.03 kB / 31.22 MB, free: 2.977 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.06609, allocations: 10.06 kB / 31.23 MB, free: 2.973 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.06629, allocations: 24.78 kB / 31.26 MB, free: 2.973 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.06635, allocations: 11.06 kB / 31.27 MB, free: 2.973 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.P1.fireOut[1],P1.emptying,P1.feeding,P1.outTransition[1].arcType,T1.activation.active,T1.activation.weaklyInputActiveVec[1],P1.fireOut[1],T1.activation.arcType[1],T1.activation.fed[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 1 * Algorithm blocks: 1 * 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.0001495/0.06651, allocations: 161.5 kB / 31.42 MB, free: 2.832 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/0.06657, allocations: 19.64 kB / 31.44 MB, free: 2.824 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008157/0.0674, allocations: 291.9 kB / 31.73 MB, free: 2.762 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.558e-05/0.06746, allocations: 2.438 kB / 31.73 MB, free: 2.762 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.06748, allocations: 4.516 kB / 31.74 MB, free: 2.758 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.06749, allocations: 7.766 kB / 31.74 MB, free: 2.758 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.06851, allocations: 0.5929 MB / 32.34 MB, free: 2.43 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.06855, allocations: 0 / 32.34 MB, free: 2.43 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.06878, allocations: 22.55 kB / 32.36 MB, free: 2.43 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.06881, allocations: 0 / 32.36 MB, free: 2.43 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/0.06885, allocations: 12.47 kB / 32.37 MB, free: 2.43 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.06886, allocations: 3.953 kB / 32.37 MB, free: 2.426 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.06887, allocations: 0 / 32.37 MB, free: 2.426 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007803/0.06966, allocations: 434.2 kB / 32.8 MB, free: 2.258 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.06973, allocations: 86.94 kB / 32.88 MB, free: 2.16 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.219e-05/0.06979, allocations: 9.797 kB / 32.89 MB, free: 2.16 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.07001, allocations: 17.23 kB / 32.91 MB, free: 2.16 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.07015, allocations: 38.06 kB / 32.95 MB, free: 2.156 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/0.0702, allocations: 16.23 kB / 32.96 MB, free: 2.156 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001127/0.07033, allocations: 117.6 kB / 33.08 MB, free: 2.082 MB / 18.57 MB Notification: Performance of sort global known variables: time 4.71e-07/0.07034, allocations: 0 / 33.08 MB, free: 2.082 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0006222/0.07097, allocations: 100.1 kB / 33.18 MB, free: 2.074 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: 4 (T1.activation.active,T1.activation.weaklyInputActiveVec[1],P1.fireOut[1],P1.emptying) * Number of discrete states: 3 (P1.fireOut[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 1 * 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.001343/0.07233, allocations: 1.038 MB / 34.21 MB, free: 1.371 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0006133/0.07298, allocations: 275.3 kB / 34.48 MB, free: 1.305 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.07301, allocations: 0 / 34.48 MB, free: 1.305 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0002612/0.07328, allocations: 163 kB / 34.64 MB, free: 1.242 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.07361, allocations: 22.5 kB / 34.66 MB, free: 1.238 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.07493, allocations: 435 kB / 35.09 MB, free: 1.078 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.0754, allocations: 0.7747 MB / 35.86 MB, free: 6.766 MB / 24.96 MB Notification: Performance of simCode: alias equations: time 0.0002728/0.07569, allocations: 72.42 kB / 35.93 MB, free: 6.758 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.07588, allocations: 77.62 kB / 36.01 MB, free: 6.746 MB / 24.96 MB Notification: Performance of SimCode: time 9.42e-07/0.07589, allocations: 0 / 36.01 MB, free: 6.746 MB / 24.96 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/0.1072, allocations: 4.363 MB / 40.37 MB, free: 3.605 MB / 24.96 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000347/0.1076, allocations: 116.1 kB / 40.49 MB, free: 3.422 MB / 24.96 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/2.461, allocations: 3.938 kB / 40.49 MB, free: 3.418 MB / 24.96 MB