Running command: "" <> buildModelFMU(ConPNlib.Examples.Test7,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ConPNlib): time 0.01404/0.01404, allocations: 1.39 MB / 13.54 MB, free: 1.762 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.194e-05/2.211e-05, allocations: 0.5625 kB / 16.87 MB, free: 4.402 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008327/0.000887, allocations: 355.2 kB / 17.21 MB, free: 4.121 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.007507/0.008421, allocations: 4.031 MB / 21.24 MB, free: 120 kB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001578/0.008633, allocations: 47.98 kB / 21.29 MB, free: 72 kB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.05197/0.06062, allocations: 6.919 MB / 28.21 MB, free: 3.289 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.864e-06/0.06067, allocations: 0 / 28.21 MB, free: 3.289 MB / 18.57 MB Notification: Performance of Transformations before backend: time 3.245e-05/0.06073, 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.001375/0.06211, allocations: 0.6132 MB / 28.84 MB, free: 2.617 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.06219, allocations: 12.31 kB / 28.85 MB, free: 2.605 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001976/0.0624, allocations: 90.67 kB / 28.94 MB, free: 2.508 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.06259, allocations: 44.39 kB / 28.98 MB, free: 2.465 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008579/0.06347, allocations: 317 kB / 29.29 MB, free: 2.113 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.557e-05/0.06356, allocations: 37.64 kB / 29.33 MB, free: 2.078 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.06374, allocations: 52.31 kB / 29.38 MB, free: 2.027 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.06588, allocations: 0.596 MB / 29.97 MB, free: 1.414 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/0.06594, allocations: 7.953 kB / 29.98 MB, free: 1.406 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.06606, allocations: 19.98 kB / 30 MB, free: 1.387 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001305/0.06621, allocations: 29.3 kB / 30.03 MB, free: 1.359 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.06776, allocations: 394.4 kB / 30.42 MB, free: 0.9727 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01968/0.08747, allocations: 1.142 MB / 31.56 MB, free: 2.73 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007698/0.08827, allocations: 303.8 kB / 31.85 MB, free: 2.605 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000431/0.08873, allocations: 163.4 kB / 32.01 MB, free: 2.598 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007018/0.08945, allocations: 0.5976 MB / 32.61 MB, free: 1.941 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.08949, allocations: 34.56 kB / 32.64 MB, free: 1.902 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 3.977e-06/0.08951, allocations: 3.344 kB / 32.65 MB, free: 1.902 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.0009743/0.0905, allocations: 311.7 kB / 32.95 MB, free: 1.84 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.074e-05/0.0906, allocations: 148.5 kB / 33.1 MB, free: 1.684 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/0.09091, allocations: 201.6 kB / 33.29 MB, free: 1.578 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 4.859e-05/0.09098, allocations: 33.48 kB / 33.33 MB, free: 1.547 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.09117, allocations: 215.8 kB / 33.54 MB, free: 1.414 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.0913, allocations: 69.22 kB / 33.6 MB, free: 1.383 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.09136, allocations: 12.23 kB / 33.62 MB, free: 1.383 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 8.993e-05/0.09146, allocations: 339.3 kB / 33.95 MB, free: 1.066 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/0.09195, allocations: 136.8 kB / 34.08 MB, free: 1.062 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005124/0.09248, allocations: 243.5 kB / 34.32 MB, free: 0.9453 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004449/0.09294, allocations: 170.9 kB / 34.49 MB, free: 0.9141 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.09297, allocations: 2.531 kB / 34.49 MB, free: 0.9141 MB / 18.57 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001197/0.09418, allocations: 440.1 kB / 34.92 MB, free: 0.832 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 7.218e-05/0.09427, allocations: 49.66 kB / 34.97 MB, free: 0.8008 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.0943, allocations: 9.547 kB / 34.98 MB, free: 0.8008 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.09434, allocations: 5.812 kB / 34.98 MB, free: 0.8008 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004212/0.09477, allocations: 52.38 kB / 35.03 MB, free: 0.8008 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.09481, allocations: 7.188 kB / 35.04 MB, free: 0.8008 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004104/0.09524, allocations: 47.7 kB / 35.09 MB, free: 0.7969 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.22e-05/0.09534, allocations: 24.14 kB / 35.11 MB, free: 0.7969 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.0002419/0.09559, allocations: 178.8 kB / 35.29 MB, free: 0.6602 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.09571, allocations: 26.48 kB / 35.31 MB, free: 0.6445 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.09691, allocations: 379.8 kB / 35.68 MB, free: 0.5742 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.261e-05/0.09697, allocations: 3.125 kB / 35.68 MB, free: 0.5742 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.09699, allocations: 0 / 35.68 MB, free: 0.5742 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.09701, allocations: 3.891 kB / 35.69 MB, free: 0.5742 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.0989, allocations: 0.8021 MB / 36.49 MB, free: 6.445 MB / 24.79 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.09893, allocations: 3.938 kB / 36.49 MB, free: 6.445 MB / 24.79 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003622/0.09931, allocations: 39.73 kB / 36.53 MB, free: 6.445 MB / 24.79 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.09933, allocations: 0 / 36.53 MB, free: 6.445 MB / 24.79 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.914e-05/0.09939, allocations: 12.92 kB / 36.55 MB, free: 6.445 MB / 24.79 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.09941, allocations: 1.312 kB / 36.55 MB, free: 6.445 MB / 24.79 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.09943, allocations: 2.625 kB / 36.55 MB, free: 6.445 MB / 24.79 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.101, allocations: 0.5916 MB / 37.14 MB, free: 6.211 MB / 24.79 MB Notification: Performance of postOpt removeConstants (simulation): time 9.76e-05/0.1011, allocations: 101.7 kB / 37.24 MB, free: 6.105 MB / 24.79 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.335e-05/0.1012, allocations: 11.38 kB / 37.25 MB, free: 6.102 MB / 24.79 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.1016, allocations: 29.53 kB / 37.28 MB, free: 6.098 MB / 24.79 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/0.1019, allocations: 55.41 kB / 37.33 MB, free: 6.086 MB / 24.79 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.183e-05/0.1019, allocations: 18.97 kB / 37.35 MB, free: 6.082 MB / 24.79 MB Notification: Performance of sorting global known variables: time 0.00021/0.1022, allocations: 141.1 kB / 37.49 MB, free: 5.988 MB / 24.79 MB Notification: Performance of sort global known variables: time 1.342e-06/0.1022, allocations: 7.062 kB / 37.5 MB, free: 5.988 MB / 24.79 MB Notification: Performance of remove unused functions: time 0.001013/0.1032, allocations: 165 kB / 37.66 MB, free: 5.965 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 (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.002403/0.1056, allocations: 1.242 MB / 38.9 MB, free: 5.043 MB / 24.79 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.107, allocations: 447.9 kB / 39.34 MB, free: 4.633 MB / 24.79 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.107, allocations: 4 kB / 39.34 MB, free: 4.629 MB / 24.79 MB Notification: Performance of simCode: created simulation system equations: time 0.000649/0.1077, allocations: 241.9 kB / 39.58 MB, free: 4.398 MB / 24.79 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004933/0.1082, allocations: 35.02 kB / 39.61 MB, free: 4.371 MB / 24.79 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.1109, allocations: 0.7217 MB / 40.33 MB, free: 3.734 MB / 24.79 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007184/0.1116, allocations: 0.8569 MB / 41.19 MB, free: 2.922 MB / 24.79 MB Notification: Performance of simCode: alias equations: time 0.000505/0.1121, allocations: 81.11 kB / 41.27 MB, free: 2.867 MB / 24.79 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003568/0.1125, allocations: 116.5 kB / 41.38 MB, free: 2.766 MB / 24.79 MB Notification: Performance of SimCode: time 1.262e-06/0.1125, allocations: 4 kB / 41.39 MB, free: 2.762 MB / 24.79 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05164/0.1642, allocations: 6.643 MB / 48.03 MB, free: 6.891 MB / 24.79 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002599/0.1645, allocations: 118.4 kB / 48.15 MB, free: 6.707 MB / 24.79 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/2.598, allocations: 1.031 kB / 48.15 MB, free: 6.707 MB / 24.79 MB