Running command: "" <> buildModelFMU(ConPNlib.Examples.Test5,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ConPNlib): time 0.009966/0.009966, allocations: 1.39 MB / 13.54 MB, free: 1.762 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.345e-05/2.357e-05, allocations: 0.5625 kB / 16.87 MB, free: 4.406 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006326/0.0006946, allocations: 357.6 kB / 17.22 MB, free: 4.121 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.005218/0.00593, allocations: 4.025 MB / 21.24 MB, free: 120 kB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001267/0.006114, allocations: 51.61 kB / 21.29 MB, free: 72 kB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.03733/0.04346, allocations: 6.922 MB / 28.21 MB, free: 3.285 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.154e-06/0.04351, allocations: 1.406 kB / 28.21 MB, free: 3.285 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.695e-05/0.04355, allocations: 8 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.001192/0.04475, allocations: 0.6249 MB / 28.85 MB, free: 2.602 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.04481, allocations: 8.312 kB / 28.86 MB, free: 2.594 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000159/0.04498, allocations: 90.69 kB / 28.94 MB, free: 2.496 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.04512, allocations: 40.39 kB / 28.98 MB, free: 2.457 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006474/0.04578, allocations: 321 kB / 29.3 MB, free: 2.105 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.645e-05/0.04586, allocations: 37.62 kB / 29.33 MB, free: 2.07 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.04598, allocations: 48.33 kB / 29.38 MB, free: 2.023 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.04744, allocations: 0.5999 MB / 29.98 MB, free: 1.406 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.04747, allocations: 3.953 kB / 29.99 MB, free: 1.402 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-05/0.04757, allocations: 19.98 kB / 30 MB, free: 1.383 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.84e-05/0.04766, allocations: 29.3 kB / 30.03 MB, free: 1.355 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.04872, allocations: 402.4 kB / 30.43 MB, free: 0.9609 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01512/0.06386, allocations: 1.138 MB / 31.56 MB, free: 2.703 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005079/0.06444, allocations: 211.8 kB / 31.77 MB, free: 2.676 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/0.06479, allocations: 167.7 kB / 31.94 MB, free: 2.668 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005977/0.0654, allocations: 0.5963 MB / 32.53 MB, free: 2.012 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.06545, allocations: 37.84 kB / 32.57 MB, free: 1.973 MB / 18.57 MB Notification: Performance of pre-optimization done (n=23): time 3.456e-06/0.06546, allocations: 3.969 kB / 32.57 MB, free: 1.973 MB / 18.57 MB Notification: Performance of matching and sorting (n=23): time 0.0008054/0.06628, allocations: 322.7 kB / 32.89 MB, free: 1.906 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/0.06637, allocations: 143.4 kB / 33.03 MB, free: 1.75 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.06666, allocations: 203.2 kB / 33.23 MB, free: 1.648 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/0.06671, allocations: 34.52 kB / 33.26 MB, free: 1.617 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.06688, allocations: 221 kB / 33.48 MB, free: 1.484 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 8.642e-05/0.06697, allocations: 77.16 kB / 33.55 MB, free: 1.449 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.06702, allocations: 8.75 kB / 33.56 MB, free: 1.445 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 7.644e-05/0.0671, allocations: 328.4 kB / 33.88 MB, free: 1.133 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/0.06743, allocations: 136.9 kB / 34.01 MB, free: 1.125 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/0.06783, allocations: 240.3 kB / 34.25 MB, free: 1.016 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.0682, allocations: 182.6 kB / 34.43 MB, free: 0.9766 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.06822, allocations: 0 / 34.43 MB, free: 0.9766 MB / 18.57 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009448/0.06918, allocations: 431.4 kB / 34.85 MB, free: 0.9023 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.994e-05/0.06925, allocations: 49.19 kB / 34.9 MB, free: 0.8711 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.06928, allocations: 10.41 kB / 34.91 MB, free: 0.8711 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.06931, allocations: 3.938 kB / 34.91 MB, free: 0.8711 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.06965, allocations: 57.73 kB / 34.97 MB, free: 0.8711 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.06968, allocations: 3.75 kB / 34.97 MB, free: 0.8711 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002896/0.06998, allocations: 51.27 kB / 35.02 MB, free: 0.8672 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.798e-05/0.07005, allocations: 21.23 kB / 35.04 MB, free: 0.8672 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.0001927/0.07025, allocations: 175.8 kB / 35.21 MB, free: 0.7305 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.625e-05/0.07034, allocations: 21.59 kB / 35.23 MB, free: 0.7227 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000938/0.07129, allocations: 397.9 kB / 35.62 MB, free: 0.6484 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-05/0.07134, allocations: 8.906 kB / 35.63 MB, free: 0.6484 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.07136, allocations: 3.953 kB / 35.63 MB, free: 0.6445 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.07137, allocations: 3.156 kB / 35.64 MB, free: 0.6445 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.07278, allocations: 0.8073 MB / 36.45 MB, free: 6.527 MB / 24.79 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.07281, allocations: 0 / 36.45 MB, free: 6.527 MB / 24.79 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/0.07311, allocations: 39.11 kB / 36.48 MB, free: 6.527 MB / 24.79 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.07313, allocations: 0 / 36.48 MB, free: 6.527 MB / 24.79 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.921e-05/0.07318, allocations: 15.45 kB / 36.5 MB, free: 6.523 MB / 24.79 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.07319, allocations: 3.969 kB / 36.5 MB, free: 6.523 MB / 24.79 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.0732, allocations: 3.062 kB / 36.51 MB, free: 6.523 MB / 24.79 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.07434, allocations: 0.6079 MB / 37.11 MB, free: 6.258 MB / 24.79 MB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.07443, allocations: 100 kB / 37.21 MB, free: 6.152 MB / 24.79 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.068e-05/0.07452, allocations: 16.42 kB / 37.23 MB, free: 6.148 MB / 24.79 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.0748, allocations: 30.09 kB / 37.26 MB, free: 6.141 MB / 24.79 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/0.07501, allocations: 67.19 kB / 37.32 MB, free: 6.125 MB / 24.79 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.943e-05/0.07507, allocations: 14.38 kB / 37.34 MB, free: 6.125 MB / 24.79 MB Notification: Performance of sorting global known variables: time 0.000172/0.07526, allocations: 145.9 kB / 37.48 MB, free: 6.031 MB / 24.79 MB Notification: Performance of sort global known variables: time 4.11e-07/0.07527, allocations: 0 / 37.48 MB, free: 6.031 MB / 24.79 MB Notification: Performance of remove unused functions: time 0.0007641/0.07604, allocations: 163.3 kB / 37.64 MB, free: 6.008 MB / 24.79 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 (23): * Single equations (assignments): 20 * 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.001991/0.07805, allocations: 1.253 MB / 38.89 MB, free: 5.066 MB / 24.79 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.07917, allocations: 455.2 kB / 39.34 MB, free: 4.648 MB / 24.79 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.07919, allocations: 4 kB / 39.34 MB, free: 4.645 MB / 24.79 MB Notification: Performance of simCode: created simulation system equations: time 0.0005163/0.07972, allocations: 257.6 kB / 39.59 MB, free: 4.402 MB / 24.79 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.08015, allocations: 35.86 kB / 39.63 MB, free: 4.371 MB / 24.79 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.08239, allocations: 0.7332 MB / 40.36 MB, free: 3.727 MB / 24.79 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005379/0.08297, allocations: 0.8609 MB / 41.22 MB, free: 2.914 MB / 24.79 MB Notification: Performance of simCode: alias equations: time 0.0003726/0.08335, allocations: 84.09 kB / 41.3 MB, free: 2.859 MB / 24.79 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.08364, allocations: 118.1 kB / 41.42 MB, free: 2.758 MB / 24.79 MB Notification: Performance of SimCode: time 1.183e-06/0.08365, allocations: 0 / 41.42 MB, free: 2.758 MB / 24.79 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04981/0.1335, allocations: 6.716 MB / 48.13 MB, free: 6.914 MB / 24.79 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002454/0.1338, allocations: 114.4 kB / 48.24 MB, free: 6.734 MB / 24.79 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.623/2.757, allocations: 0 / 48.24 MB, free: 6.734 MB / 24.79 MB