Running command: "" <> buildModelFMU(ConPNlib.Examples.Test6,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ConPNlib): time 0.009852/0.009852, allocations: 1.39 MB / 13.54 MB, free: 1.762 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.007e-05/2.004e-05, allocations: 0.5625 kB / 16.87 MB, free: 4.406 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0005923/0.0006338, allocations: 360.1 kB / 17.22 MB, free: 4.121 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.00464/0.005287, allocations: 4.026 MB / 21.24 MB, free: 120 kB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001397/0.005482, allocations: 47.98 kB / 21.29 MB, free: 72 kB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.03815/0.04365, allocations: 6.92 MB / 28.21 MB, free: 3.289 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.553e-06/0.04369, allocations: 0 / 28.21 MB, free: 3.289 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.75e-05/0.04374, allocations: 13.41 kB / 28.22 MB, free: 3.277 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001184/0.04493, allocations: 0.6171 MB / 28.84 MB, free: 2.613 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 6.621e-05/0.04501, allocations: 12.31 kB / 28.85 MB, free: 2.602 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001571/0.04518, allocations: 86.69 kB / 28.94 MB, free: 2.508 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.04532, allocations: 44.39 kB / 28.98 MB, free: 2.465 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006378/0.04596, allocations: 321 kB / 29.29 MB, free: 2.109 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/0.04603, allocations: 33.64 kB / 29.33 MB, free: 2.078 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.04616, allocations: 48.33 kB / 29.37 MB, free: 2.031 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.04762, allocations: 0.6038 MB / 29.98 MB, free: 1.41 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.04766, allocations: 3.953 kB / 29.98 MB, free: 1.406 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.426e-05/0.04774, allocations: 19.98 kB / 30 MB, free: 1.387 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-05/0.04785, allocations: 29.3 kB / 30.03 MB, free: 1.359 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.0489, allocations: 398.4 kB / 30.42 MB, free: 0.9688 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0159/0.06481, allocations: 1.139 MB / 31.56 MB, free: 2.719 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006222/0.06548, allocations: 304.5 kB / 31.86 MB, free: 2.594 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000349/0.06585, allocations: 162.9 kB / 32.01 MB, free: 2.586 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005753/0.06644, allocations: 0.603 MB / 32.62 MB, free: 1.93 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.06648, allocations: 34.62 kB / 32.65 MB, free: 1.891 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 3.256e-06/0.0665, allocations: 0 / 32.65 MB, free: 1.891 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.0007611/0.06726, allocations: 311.9 kB / 32.96 MB, free: 1.828 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.06735, allocations: 147 kB / 33.1 MB, free: 1.672 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.06764, allocations: 201.5 kB / 33.3 MB, free: 1.566 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/0.0677, allocations: 33.08 kB / 33.33 MB, free: 1.535 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.06787, allocations: 218.6 kB / 33.54 MB, free: 1.402 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 8.56e-05/0.06796, allocations: 67.98 kB / 33.61 MB, free: 1.371 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.06801, allocations: 12.36 kB / 33.62 MB, free: 1.371 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 7.287e-05/0.06809, allocations: 333.4 kB / 33.95 MB, free: 1.055 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/0.06843, allocations: 136.5 kB / 34.08 MB, free: 1.051 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/0.06882, allocations: 246.5 kB / 34.32 MB, free: 0.9336 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.06921, allocations: 176.9 kB / 34.49 MB, free: 0.9023 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.06923, allocations: 3.375 kB / 34.5 MB, free: 0.9023 MB / 18.57 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009042/0.07015, allocations: 441.3 kB / 34.93 MB, free: 0.8203 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 6.161e-05/0.07023, allocations: 46.55 kB / 34.97 MB, free: 0.7891 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.07025, allocations: 2.906 kB / 34.98 MB, free: 0.7891 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.07028, allocations: 5.562 kB / 34.98 MB, free: 0.7891 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003317/0.07062, allocations: 52.98 kB / 35.03 MB, free: 0.7891 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.07065, allocations: 9.812 kB / 35.04 MB, free: 0.7891 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.07096, allocations: 48.09 kB / 35.09 MB, free: 0.7852 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.276e-05/0.07104, allocations: 24.67 kB / 35.11 MB, free: 0.7852 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.feeding,P1.outTransition[1].arcType,P2.emptying,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.emptied[1],T1.activation.arcType[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 2 * 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.0001886/0.07124, allocations: 176.2 kB / 35.28 MB, free: 0.6484 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.608e-05/0.07133, allocations: 26.97 kB / 35.31 MB, free: 0.6328 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009297/0.07226, allocations: 380 kB / 35.68 MB, free: 0.5625 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-05/0.07231, allocations: 2.719 kB / 35.69 MB, free: 0.5625 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.07233, allocations: 2.906 kB / 35.69 MB, free: 0.5625 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.07235, allocations: 3.516 kB / 35.69 MB, free: 0.5625 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.07378, allocations: 0.8055 MB / 36.5 MB, free: 6.457 MB / 24.81 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.07381, allocations: 0 / 36.5 MB, free: 6.457 MB / 24.81 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.0741, allocations: 37.25 kB / 36.53 MB, free: 6.457 MB / 24.81 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.07413, allocations: 0 / 36.53 MB, free: 6.457 MB / 24.81 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.07417, allocations: 11.55 kB / 36.54 MB, free: 6.457 MB / 24.81 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.07419, allocations: 4.969 kB / 36.55 MB, free: 6.457 MB / 24.81 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.0742, allocations: 0 / 36.55 MB, free: 6.457 MB / 24.81 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.07534, allocations: 0.599 MB / 37.15 MB, free: 6.219 MB / 24.81 MB Notification: Performance of postOpt removeConstants (simulation): time 8.803e-05/0.07546, allocations: 88.89 kB / 37.24 MB, free: 6.117 MB / 24.81 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.545e-05/0.07555, allocations: 16.33 kB / 37.25 MB, free: 6.113 MB / 24.81 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/0.07583, allocations: 22.22 kB / 37.27 MB, free: 6.109 MB / 24.81 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.07604, allocations: 58.52 kB / 37.33 MB, free: 6.098 MB / 24.81 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.182e-05/0.07611, allocations: 17.8 kB / 37.35 MB, free: 6.094 MB / 24.81 MB Notification: Performance of sorting global known variables: time 0.0001837/0.0763, allocations: 147 kB / 37.49 MB, free: 5.996 MB / 24.81 MB Notification: Performance of sort global known variables: time 1.322e-06/0.07631, allocations: 0 / 37.49 MB, free: 5.996 MB / 24.81 MB Notification: Performance of remove unused functions: time 0.0007976/0.07712, allocations: 162.9 kB / 37.65 MB, free: 5.977 MB / 24.81 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 7 (P1.fireOut[1],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1]) * Number of discrete states: 5 (P2.fireIn[1],P1.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 2 * 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.001953/0.07909, allocations: 1.252 MB / 38.9 MB, free: 5.082 MB / 24.81 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.08021, allocations: 447.4 kB / 39.34 MB, free: 4.672 MB / 24.81 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.08024, allocations: 4 kB / 39.34 MB, free: 4.668 MB / 24.81 MB Notification: Performance of simCode: created simulation system equations: time 0.0004959/0.08075, allocations: 252.2 kB / 39.59 MB, free: 4.43 MB / 24.81 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.08118, allocations: 28.05 kB / 39.62 MB, free: 4.406 MB / 24.81 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.0834, allocations: 0.7244 MB / 40.34 MB, free: 3.77 MB / 24.81 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005492/0.08399, allocations: 0.8581 MB / 41.2 MB, free: 2.957 MB / 24.81 MB Notification: Performance of simCode: alias equations: time 0.0004031/0.08442, allocations: 76.05 kB / 41.27 MB, free: 2.906 MB / 24.81 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/0.0847, allocations: 117.5 kB / 41.39 MB, free: 2.805 MB / 24.81 MB Notification: Performance of SimCode: time 1.222e-06/0.08472, allocations: 4 kB / 41.39 MB, free: 2.801 MB / 24.81 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07395/0.1587, allocations: 6.639 MB / 48.03 MB, free: 6.938 MB / 24.81 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/0.1589, allocations: 119.5 kB / 48.15 MB, free: 6.754 MB / 24.81 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.539/2.698, allocations: 1.219 kB / 48.15 MB, free: 6.754 MB / 24.81 MB