Running command: "" <> buildModelFMU(ConPNlib.Examples.Test3,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ConPNlib): time 0.009849/0.009849, allocations: 1.39 MB / 13.54 MB, free: 1.758 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.344e-05/2.359e-05, allocations: 0.5625 kB / 16.87 MB, free: 4.41 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007075/0.0007649, allocations: 356.9 kB / 17.22 MB, free: 4.117 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.005228/0.006012, allocations: 4.025 MB / 21.24 MB, free: 120 kB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001588/0.006228, allocations: 51.61 kB / 21.29 MB, free: 72 kB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.03077/0.03701, allocations: 5.184 MB / 26.48 MB, free: 488 kB / 13.93 MB Notification: Performance of FrontEnd: time 2.214e-06/0.03706, allocations: 0 / 26.48 MB, free: 488 kB / 13.93 MB Notification: Performance of Transformations before backend: time 2.085e-05/0.03709, allocations: 13.41 kB / 26.49 MB, free: 476 kB / 13.93 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.000808/0.03791, allocations: 0.4962 MB / 26.99 MB, free: 4.574 MB / 18.58 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.03798, allocations: 8.312 kB / 27 MB, free: 4.566 MB / 18.58 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.03809, allocations: 66.7 kB / 27.06 MB, free: 4.492 MB / 18.58 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.856e-05/0.03818, allocations: 24.58 kB / 27.08 MB, free: 4.469 MB / 18.58 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.03864, allocations: 248.4 kB / 27.33 MB, free: 4.188 MB / 18.58 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.03869, allocations: 16.91 kB / 27.34 MB, free: 4.172 MB / 18.58 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/0.03876, allocations: 20.34 kB / 27.36 MB, free: 4.152 MB / 18.58 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008/0.03957, allocations: 329.2 kB / 27.68 MB, free: 3.816 MB / 18.58 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.0396, allocations: 3.953 kB / 27.69 MB, free: 3.812 MB / 18.58 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.55e-05/0.03966, allocations: 12 kB / 27.7 MB, free: 3.801 MB / 18.58 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.163e-05/0.03972, allocations: 12.38 kB / 27.71 MB, free: 3.789 MB / 18.58 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005401/0.04027, allocations: 200.7 kB / 27.91 MB, free: 3.594 MB / 18.58 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.04185, allocations: 0.7288 MB / 28.64 MB, free: 2.809 MB / 18.58 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.04218, allocations: 118.5 kB / 28.75 MB, free: 2.684 MB / 18.58 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.0424, allocations: 80.77 kB / 28.83 MB, free: 2.602 MB / 18.58 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000546/0.04296, allocations: 433.5 kB / 29.26 MB, free: 2.086 MB / 18.58 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.04302, allocations: 34.52 kB / 29.29 MB, free: 2.043 MB / 18.58 MB Notification: Performance of pre-optimization done (n=13): time 2.885e-06/0.04303, allocations: 0 / 29.29 MB, free: 2.043 MB / 18.58 MB Notification: Performance of matching and sorting (n=13): time 0.0006268/0.04367, allocations: 215.2 kB / 29.5 MB, free: 1.82 MB / 18.58 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.547e-05/0.04378, allocations: 118.8 kB / 29.62 MB, free: 1.68 MB / 18.58 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.04407, allocations: 149.4 kB / 29.76 MB, free: 1.527 MB / 18.58 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.04412, allocations: 29.69 kB / 29.79 MB, free: 1.492 MB / 18.58 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.04425, allocations: 144 kB / 29.93 MB, free: 1.348 MB / 18.58 MB Notification: Performance of collectInitialBindings (initialization): time 7.456e-05/0.04434, allocations: 47.44 kB / 29.98 MB, free: 1.301 MB / 18.58 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/0.04437, allocations: 0 / 29.98 MB, free: 1.301 MB / 18.58 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.04454, allocations: 322.8 kB / 30.29 MB, free: 0.9766 MB / 18.58 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.04476, allocations: 68.16 kB / 30.36 MB, free: 0.9062 MB / 18.58 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.04505, allocations: 123.2 kB / 30.48 MB, free: 0.7617 MB / 18.58 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.0453, allocations: 103.2 kB / 30.58 MB, free: 0.6562 MB / 18.58 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.04532, allocations: 0 / 30.58 MB, free: 0.6562 MB / 18.58 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006785/0.04601, allocations: 275.1 kB / 30.85 MB, free: 384 kB / 18.58 MB Notification: Performance of prepare postOptimizeDAE: time 6.201e-05/0.04609, allocations: 37.7 kB / 30.89 MB, free: 340 kB / 18.58 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.04611, allocations: 4 kB / 30.89 MB, free: 336 kB / 18.58 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.04614, allocations: 0 / 30.89 MB, free: 336 kB / 18.58 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.04638, allocations: 28.09 kB / 30.92 MB, free: 308 kB / 18.58 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/0.04641, allocations: 16.09 kB / 30.93 MB, free: 292 kB / 18.58 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.04659, allocations: 23.84 kB / 30.96 MB, free: 268 kB / 18.58 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/0.04665, allocations: 15.92 kB / 30.97 MB, free: 252 kB / 18.58 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.P1.fireIn[1],P1.feeding,P1.emptying,T1.activation.active,T1.activation.weaklyOutputActiveVec[1],P1.fireIn[1],T1.activation.emptied[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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.0001688/0.04683, allocations: 147.2 kB / 31.11 MB, free: 92 kB / 18.58 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.047e-05/0.0469, allocations: 23.83 kB / 31.14 MB, free: 68 kB / 18.58 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/0.05943, allocations: 301.3 kB / 31.43 MB, free: 4.074 MB / 18.58 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.258e-05/0.05949, allocations: 3.812 kB / 31.44 MB, free: 4.074 MB / 18.58 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.0595, allocations: 3.906 kB / 31.44 MB, free: 4.074 MB / 18.58 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.05952, allocations: 3.938 kB / 31.44 MB, free: 4.074 MB / 18.58 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.06056, allocations: 0.585 MB / 32.03 MB, free: 3.75 MB / 18.58 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.06058, allocations: 0 / 32.03 MB, free: 3.75 MB / 18.58 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.06079, allocations: 25.42 kB / 32.05 MB, free: 3.75 MB / 18.58 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.06081, allocations: 0 / 32.05 MB, free: 3.75 MB / 18.58 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.06085, allocations: 3.219 kB / 32.06 MB, free: 3.75 MB / 18.58 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.06086, allocations: 0 / 32.06 MB, free: 3.75 MB / 18.58 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.06087, allocations: 3 kB / 32.06 MB, free: 3.75 MB / 18.58 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007051/0.06158, allocations: 429.3 kB / 32.48 MB, free: 3.59 MB / 18.58 MB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.06164, allocations: 87.72 kB / 32.56 MB, free: 3.496 MB / 18.58 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.733e-05/0.0617, allocations: 9.25 kB / 32.57 MB, free: 3.496 MB / 18.58 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.06187, allocations: 13.59 kB / 32.59 MB, free: 3.496 MB / 18.58 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.06201, allocations: 30.62 kB / 32.62 MB, free: 3.496 MB / 18.58 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/0.06206, allocations: 14.36 kB / 32.63 MB, free: 3.496 MB / 18.58 MB Notification: Performance of sorting global known variables: time 9.346e-05/0.06216, allocations: 115.9 kB / 32.74 MB, free: 3.418 MB / 18.58 MB Notification: Performance of sort global known variables: time 4.2e-07/0.06217, allocations: 0 / 32.74 MB, free: 3.418 MB / 18.58 MB Notification: Performance of remove unused functions: time 0.0005524/0.06274, allocations: 88.89 kB / 32.83 MB, free: 3.418 MB / 18.58 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.weaklyOutputActiveVec[1],P1.fireIn[1],P1.feeding) * Number of discrete states: 3 (P1.fireIn[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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.001109/0.06386, allocations: 1.032 MB / 33.86 MB, free: 2.734 MB / 18.58 MB Notification: Performance of simCode: created initialization part: time 0.0005509/0.06442, allocations: 246.2 kB / 34.1 MB, free: 2.672 MB / 18.58 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.06444, allocations: 0 / 34.1 MB, free: 2.672 MB / 18.58 MB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.06468, allocations: 148.8 kB / 34.25 MB, free: 2.609 MB / 18.58 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.06498, allocations: 16.86 kB / 34.26 MB, free: 2.609 MB / 18.58 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.06612, allocations: 428.5 kB / 34.68 MB, free: 2.457 MB / 18.58 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.0664, allocations: 0.7754 MB / 35.46 MB, free: 1.758 MB / 18.58 MB Notification: Performance of simCode: alias equations: time 0.0002294/0.06664, allocations: 65.83 kB / 35.52 MB, free: 1.758 MB / 18.58 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.0668, allocations: 71.2 kB / 35.59 MB, free: 1.75 MB / 18.58 MB Notification: Performance of SimCode: time 9.92e-07/0.06682, allocations: 0 / 35.59 MB, free: 1.75 MB / 18.58 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04076/0.1076, allocations: 4.055 MB / 39.65 MB, free: 2.637 MB / 18.58 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002406/0.1079, allocations: 116.1 kB / 39.76 MB, free: 2.453 MB / 18.58 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/2.44, allocations: 3.594 kB / 39.76 MB, free: 2.453 MB / 18.58 MB