Running command: "" <> buildModelFMU(ConPNlib.Examples.Test9,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ConPNlib): time 0.00973/0.00973, allocations: 1.389 MB / 13.54 MB, free: 1.758 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.124e-05/2.144e-05, allocations: 0.5625 kB / 16.87 MB, free: 4.27 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006221/0.0006732, allocations: 359.3 kB / 17.22 MB, free: 3.996 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0166/0.01729, allocations: 4.034 MB / 21.25 MB, free: 1.129 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001096/0.01745, allocations: 49.94 kB / 21.3 MB, free: 1.129 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.05471/0.07217, allocations: 10.75 MB / 32.05 MB, free: 1.688 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.543e-06/0.07222, allocations: 0 / 32.05 MB, free: 1.688 MB / 18.57 MB Notification: Performance of Transformations before backend: time 4.136e-05/0.07228, allocations: 16.66 kB / 32.07 MB, free: 1.688 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001533/0.07382, allocations: 0.8694 MB / 32.94 MB, free: 1.129 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.07388, allocations: 8.188 kB / 32.95 MB, free: 1.129 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002552/0.07414, allocations: 143 kB / 33.08 MB, free: 1.09 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.07435, allocations: 83.14 kB / 33.17 MB, free: 1.051 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009134/0.07527, allocations: 451.2 kB / 33.61 MB, free: 0.8203 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-05/0.07537, allocations: 73.95 kB / 33.68 MB, free: 0.8164 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.07557, allocations: 85.94 kB / 33.76 MB, free: 0.8164 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/0.07798, allocations: 1.138 MB / 34.9 MB, free: 6.922 MB / 24.79 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/0.07803, allocations: 2.938 kB / 34.9 MB, free: 6.922 MB / 24.79 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.07816, allocations: 44.2 kB / 34.95 MB, free: 6.918 MB / 24.79 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001377/0.0783, allocations: 59.47 kB / 35.01 MB, free: 6.918 MB / 24.79 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.08005, allocations: 0.7602 MB / 35.77 MB, free: 6.914 MB / 24.79 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003894/0.08396, allocations: 2.053 MB / 37.82 MB, free: 5.902 MB / 24.79 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.08508, allocations: 0.5645 MB / 38.38 MB, free: 5.332 MB / 24.79 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007237/0.08583, allocations: 332.8 kB / 38.71 MB, free: 5.031 MB / 24.79 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/0.08715, allocations: 1.032 MB / 39.74 MB, free: 3.816 MB / 24.79 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.08722, allocations: 34.88 kB / 39.77 MB, free: 3.773 MB / 24.79 MB Notification: Performance of pre-optimization done (n=42): time 3.597e-06/0.08724, allocations: 3.938 kB / 39.78 MB, free: 3.77 MB / 24.79 MB Notification: Performance of matching and sorting (n=42): time 0.001989/0.08923, allocations: 0.6859 MB / 40.46 MB, free: 3.16 MB / 24.79 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001703/0.08944, allocations: 218.5 kB / 40.68 MB, free: 2.91 MB / 24.79 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/0.08994, allocations: 283.4 kB / 40.95 MB, free: 2.648 MB / 24.79 MB Notification: Performance of collectPreVariables (initialization): time 8.296e-05/0.09004, allocations: 41.7 kB / 40.99 MB, free: 2.602 MB / 24.79 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003592/0.09041, allocations: 331.2 kB / 41.32 MB, free: 2.312 MB / 24.79 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/0.09063, allocations: 140.5 kB / 41.45 MB, free: 2.195 MB / 24.79 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.09071, allocations: 16 kB / 41.47 MB, free: 2.18 MB / 24.79 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.09094, allocations: 341.9 kB / 41.8 MB, free: 1.848 MB / 24.79 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007349/0.09169, allocations: 279.1 kB / 42.08 MB, free: 1.605 MB / 24.79 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008732/0.09259, allocations: 430.9 kB / 42.5 MB, free: 1.152 MB / 24.79 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000762/0.09336, allocations: 344.6 kB / 42.83 MB, free: 0.8477 MB / 24.79 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/0.09339, allocations: 0 / 42.83 MB, free: 0.8477 MB / 24.79 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002241/0.09564, allocations: 0.8578 MB / 43.69 MB, free: 76 kB / 24.79 MB Notification: Performance of prepare postOptimizeDAE: time 0.000196/0.09587, allocations: 87.69 kB / 43.78 MB, free: 0 / 24.79 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.835e-05/0.09593, allocations: 6.609 kB / 43.78 MB, free: 0 / 24.79 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01852/0.1145, allocations: 449.4 kB / 44.22 MB, free: 6.445 MB / 24.79 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/0.115, allocations: 76.33 kB / 44.3 MB, free: 6.445 MB / 24.79 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009957/0.116, allocations: 0.7845 MB / 45.08 MB, free: 5.93 MB / 24.79 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005727/0.1166, allocations: 79.47 kB / 45.16 MB, free: 5.93 MB / 24.79 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.1167, allocations: 43.27 kB / 45.2 MB, free: 5.93 MB / 24.79 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P3.fireIn[1],P3.feeding,P1.feeding,P1.outTransition[1].arcType,P2.outTransition[1].arcType,P3.emptying,P1.fireOut[1],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],$PRE.P2.fireIn[1],P2.fireIn[1],$PRE.P2.fireOut[1],P2.fireOut[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],T2.activation.emptied[1],T2.activation.arcType[1],T1.activation.arcType[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003089/0.1171, allocations: 248 kB / 45.44 MB, free: 5.758 MB / 24.79 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.1172, allocations: 39.25 kB / 45.48 MB, free: 5.758 MB / 24.79 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002041/0.1192, allocations: 0.8146 MB / 46.3 MB, free: 5.648 MB / 24.79 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.2e-05/0.1193, allocations: 11.05 kB / 46.31 MB, free: 5.648 MB / 24.79 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1193, allocations: 0 / 46.31 MB, free: 5.648 MB / 24.79 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.1194, allocations: 1.594 kB / 46.31 MB, free: 5.648 MB / 24.79 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002729/0.1221, allocations: 1.444 MB / 47.75 MB, free: 5.273 MB / 24.79 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.1221, allocations: 1.406 kB / 47.75 MB, free: 5.273 MB / 24.79 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003214/0.1225, allocations: 48.38 kB / 47.8 MB, free: 5.273 MB / 24.79 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001799/0.1243, allocations: 352.6 kB / 48.15 MB, free: 5.266 MB / 24.79 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.1244, allocations: 22.09 kB / 48.17 MB, free: 5.266 MB / 24.79 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009449/0.1254, allocations: 0.806 MB / 48.97 MB, free: 4.746 MB / 24.79 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1254, allocations: 4.703 kB / 48.98 MB, free: 4.746 MB / 24.79 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/0.1279, allocations: 1.171 MB / 50.15 MB, free: 4.539 MB / 24.79 MB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-05/0.128, allocations: 116.8 kB / 50.26 MB, free: 4.445 MB / 24.79 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.1281, allocations: 19 kB / 50.28 MB, free: 4.445 MB / 24.79 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/0.1285, allocations: 56.94 kB / 50.34 MB, free: 4.441 MB / 24.79 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003142/0.1289, allocations: 115.6 kB / 50.45 MB, free: 4.441 MB / 24.79 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.928e-05/0.129, allocations: 28.83 kB / 50.48 MB, free: 4.441 MB / 24.79 MB Notification: Performance of sorting global known variables: time 0.0002442/0.1292, allocations: 193 kB / 50.67 MB, free: 4.305 MB / 24.79 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1292, allocations: 0 / 50.67 MB, free: 4.305 MB / 24.79 MB Notification: Performance of remove unused functions: time 0.0009413/0.1302, allocations: 233.9 kB / 50.9 MB, free: 4.137 MB / 24.79 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: 14 (P1.fireOut[1],P1.emptying,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],P2.fireIn[1],P2.fireOut[1],T2.activation.fed[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.fireOut[1],P2.fireIn[1],P1.fireOut[1],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 (29): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003046/0.1333, allocations: 1.882 MB / 52.78 MB, free: 2.539 MB / 24.79 MB Notification: Performance of simCode: created initialization part: time 0.001802/0.1351, allocations: 0.8957 MB / 53.67 MB, free: 1.715 MB / 24.79 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.1351, allocations: 0 / 53.67 MB, free: 1.715 MB / 24.79 MB Notification: Performance of simCode: created simulation system equations: time 0.0009189/0.136, allocations: 0.5367 MB / 54.21 MB, free: 1.211 MB / 24.79 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.1365, allocations: 45.02 kB / 54.25 MB, free: 1.172 MB / 24.79 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/0.1399, allocations: 1.354 MB / 55.61 MB, free: 0 / 24.79 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01601/0.156, allocations: 1.031 MB / 56.64 MB, free: 5.094 MB / 24.79 MB Notification: Performance of simCode: alias equations: time 0.000414/0.1564, allocations: 97.73 kB / 56.73 MB, free: 5.094 MB / 24.79 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003295/0.1567, allocations: 211.1 kB / 56.94 MB, free: 5.09 MB / 24.79 MB Notification: Performance of SimCode: time 1.232e-06/0.1568, allocations: 0 / 56.94 MB, free: 5.09 MB / 24.79 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0578/0.2146, allocations: 12.45 MB / 69.39 MB, free: 4.383 MB / 24.79 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/0.2149, allocations: 149.9 kB / 69.54 MB, free: 4.156 MB / 24.79 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.803/3.017, allocations: 0 / 69.54 MB, free: 4.156 MB / 24.79 MB