Running command: "" <> buildModelFMU(ConPNlib.Examples.Test8,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ConPNlib): time 0.009671/0.009674, allocations: 1.39 MB / 13.54 MB, free: 1.758 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.042e-05/2.054e-05, allocations: 0.5625 kB / 16.87 MB, free: 4.27 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006195/0.0006729, allocations: 358.4 kB / 17.22 MB, free: 3.996 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.01549/0.01618, allocations: 4.03 MB / 21.25 MB, free: 1.16 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000127/0.01636, allocations: 52.47 kB / 21.3 MB, free: 1.16 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.05718/0.07356, allocations: 10.95 MB / 32.25 MB, free: 8.004 MB / 24.88 MB Notification: Performance of FrontEnd: time 1.743e-06/0.07361, allocations: 0 / 32.25 MB, free: 8.004 MB / 24.88 MB Notification: Performance of Transformations before backend: time 3.785e-05/0.07366, allocations: 15.75 kB / 32.26 MB, free: 8.004 MB / 24.88 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001535/0.0752, allocations: 0.8632 MB / 33.13 MB, free: 7.453 MB / 24.88 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.07526, allocations: 10.84 kB / 33.14 MB, free: 7.453 MB / 24.88 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002304/0.0755, allocations: 145.7 kB / 33.28 MB, free: 7.414 MB / 24.88 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.0757, allocations: 85.58 kB / 33.36 MB, free: 7.375 MB / 24.88 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008573/0.07657, allocations: 446.9 kB / 33.8 MB, free: 7.137 MB / 24.88 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.778e-05/0.07665, allocations: 70.39 kB / 33.87 MB, free: 7.137 MB / 24.88 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.07684, allocations: 93.16 kB / 33.96 MB, free: 7.137 MB / 24.88 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00262/0.07947, allocations: 1.126 MB / 35.08 MB, free: 7.031 MB / 24.88 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.083e-05/0.0796, allocations: 0 / 35.08 MB, free: 7.031 MB / 24.88 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002641/0.07988, allocations: 40.77 kB / 35.12 MB, free: 7.027 MB / 24.88 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002454/0.08015, allocations: 64.11 kB / 35.19 MB, free: 7.023 MB / 24.88 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003056/0.08322, allocations: 0.7565 MB / 35.94 MB, free: 7.02 MB / 24.88 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006179/0.08943, allocations: 2.018 MB / 37.96 MB, free: 5.824 MB / 24.88 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.09094, allocations: 0.5456 MB / 38.51 MB, free: 5.27 MB / 24.88 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009902/0.09196, allocations: 313.2 kB / 38.81 MB, free: 4.988 MB / 24.88 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/0.093, allocations: 0.6057 MB / 39.42 MB, free: 4.277 MB / 24.88 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.09307, allocations: 35.5 kB / 39.45 MB, free: 4.234 MB / 24.88 MB Notification: Performance of pre-optimization done (n=40): time 4.599e-06/0.09309, allocations: 4 kB / 39.46 MB, free: 4.23 MB / 24.88 MB Notification: Performance of matching and sorting (n=40): time 0.002084/0.09519, allocations: 0.5715 MB / 40.03 MB, free: 3.715 MB / 24.88 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002039/0.09541, allocations: 211 kB / 40.23 MB, free: 3.473 MB / 24.88 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006619/0.0961, allocations: 287.2 kB / 40.51 MB, free: 3.211 MB / 24.88 MB Notification: Performance of collectPreVariables (initialization): time 7.639e-05/0.09619, allocations: 46.64 kB / 40.56 MB, free: 3.164 MB / 24.88 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/0.09654, allocations: 339.8 kB / 40.89 MB, free: 2.867 MB / 24.88 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.09674, allocations: 138.9 kB / 41.03 MB, free: 2.746 MB / 24.88 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.545e-05/0.09681, allocations: 12 kB / 41.04 MB, free: 2.734 MB / 24.88 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.09698, allocations: 345.9 kB / 41.38 MB, free: 2.398 MB / 24.88 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006674/0.09766, allocations: 262.5 kB / 41.63 MB, free: 2.172 MB / 24.88 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000834/0.09851, allocations: 439.5 kB / 42.06 MB, free: 1.703 MB / 24.88 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00072/0.09924, allocations: 333 kB / 42.39 MB, free: 1.414 MB / 24.88 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.09927, allocations: 4 kB / 42.39 MB, free: 1.41 MB / 24.88 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001831/0.1011, allocations: 0.7765 MB / 43.17 MB, free: 0.707 MB / 24.88 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.1012, allocations: 82.53 kB / 43.25 MB, free: 0.6211 MB / 24.88 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.1013, allocations: 8 kB / 43.26 MB, free: 0.6133 MB / 24.88 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/0.1013, allocations: 8.625 kB / 43.26 MB, free: 0.6055 MB / 24.88 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005561/0.1019, allocations: 98.17 kB / 43.36 MB, free: 0.5234 MB / 24.88 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/0.1019, allocations: 15.73 kB / 43.38 MB, free: 0.5117 MB / 24.88 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005067/0.1024, allocations: 82.95 kB / 43.46 MB, free: 448 kB / 24.88 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.1026, allocations: 35.7 kB / 43.49 MB, free: 416 kB / 24.88 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.P1.fireOut[1],$PRE.P1.fireOut[2],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,$PRE.P3.fireIn[1],P3.feeding,P1.feeding,P1.outTransition[2].arcType,P1.outTransition[1].arcType,P3.emptying,P2.emptying,P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],T1.activation.emptied[1],T2.activation.emptied[1],T1.activation.arcType[1],T2.activation.arcType[1],T1.activation.fed[1],T2.activation.fed[1],T2.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 63 * Array equations: 3 * Algorithm blocks: 2 * 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.0003432/0.1029, allocations: 262.6 kB / 43.75 MB, free: 156 kB / 24.88 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.1031, allocations: 35.62 kB / 43.78 MB, free: 120 kB / 24.88 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02018/0.1232, allocations: 0.6783 MB / 44.46 MB, free: 6.582 MB / 24.88 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.949e-05/0.1234, allocations: 7.203 kB / 44.47 MB, free: 6.582 MB / 24.88 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.1234, allocations: 3.781 kB / 44.47 MB, free: 6.582 MB / 24.88 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.1234, allocations: 3.781 kB / 44.48 MB, free: 6.582 MB / 24.88 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003501/0.1269, allocations: 1.299 MB / 45.77 MB, free: 6.219 MB / 24.88 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.127, allocations: 3.438 kB / 45.78 MB, free: 6.219 MB / 24.88 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006716/0.1276, allocations: 67.28 kB / 45.84 MB, free: 6.219 MB / 24.88 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/0.1277, allocations: 0 / 45.84 MB, free: 6.219 MB / 24.88 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.89e-05/0.1278, allocations: 21.39 kB / 45.86 MB, free: 6.219 MB / 24.88 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.1278, allocations: 5.625 kB / 45.87 MB, free: 6.219 MB / 24.88 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1278, allocations: 0 / 45.87 MB, free: 6.219 MB / 24.88 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003066/0.1309, allocations: 1.023 MB / 46.89 MB, free: 6.02 MB / 24.88 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.131, allocations: 117.8 kB / 47.01 MB, free: 5.926 MB / 24.88 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.1312, allocations: 27.11 kB / 47.03 MB, free: 5.926 MB / 24.88 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006119/0.1319, allocations: 44.94 kB / 47.08 MB, free: 5.926 MB / 24.88 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004474/0.1323, allocations: 116.4 kB / 47.19 MB, free: 5.926 MB / 24.88 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.1325, allocations: 27.39 kB / 47.22 MB, free: 5.926 MB / 24.88 MB Notification: Performance of sorting global known variables: time 0.0003589/0.1328, allocations: 201.4 kB / 47.42 MB, free: 5.844 MB / 24.88 MB Notification: Performance of sort global known variables: time 6.31e-07/0.1329, allocations: 0 / 47.42 MB, free: 5.844 MB / 24.88 MB Notification: Performance of remove unused functions: time 0.001417/0.1343, allocations: 223.5 kB / 47.63 MB, free: 5.844 MB / 24.88 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (P1.t_,P2.t_,P3.t_) * Number of discrete variables: 13 (P1.fireOut[1],P1.fireOut[2],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding) * Number of discrete states: 10 (P3.fireIn[1],P2.fireIn[1],P1.fireOut[1],P1.fireOut[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * Array equations: 3 * Algorithm blocks: 2 * 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.003585/0.1379, allocations: 1.727 MB / 49.36 MB, free: 5.109 MB / 24.88 MB Notification: Performance of simCode: created initialization part: time 0.00222/0.1402, allocations: 0.8486 MB / 50.21 MB, free: 4.926 MB / 24.88 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.1402, allocations: 0 / 50.21 MB, free: 4.926 MB / 24.88 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.1413, allocations: 490.5 kB / 50.69 MB, free: 4.535 MB / 24.88 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006445/0.142, allocations: 41.3 kB / 50.73 MB, free: 4.504 MB / 24.88 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004493/0.1465, allocations: 1.301 MB / 52.03 MB, free: 3.391 MB / 24.88 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008394/0.1474, allocations: 1.024 MB / 53.05 MB, free: 2.473 MB / 24.88 MB Notification: Performance of simCode: alias equations: time 0.0008698/0.1483, allocations: 150.6 kB / 53.2 MB, free: 2.387 MB / 24.88 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00058/0.1489, allocations: 220 kB / 53.42 MB, free: 2.199 MB / 24.88 MB Notification: Performance of SimCode: time 2.124e-06/0.1489, allocations: 3.5 kB / 53.42 MB, free: 2.199 MB / 24.88 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06687/0.2157, allocations: 10.8 MB / 64.22 MB, free: 2.137 MB / 24.88 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001299/0.2159, allocations: 126.3 kB / 64.34 MB, free: 1.949 MB / 24.88 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.697/2.913, allocations: 0 / 64.34 MB, free: 1.949 MB / 24.88 MB