Running command: "" <> buildModelFMU(ConPNlib.Examples.Test1b,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test1b",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ConPNlib): time 0.009876/0.009876, allocations: 1.389 MB / 13.54 MB, free: 1.758 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.17e-05/2.196e-05, allocations: 0 / 16.87 MB, free: 4.266 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006681/0.0007207, allocations: 356.2 kB / 17.22 MB, free: 3.992 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.003881/0.004616, allocations: 3.423 MB / 20.64 MB, free: 0.5977 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001231/0.004792, allocations: 47.98 kB / 20.69 MB, free: 0.5508 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.01777/0.02258, allocations: 2.348 MB / 23.04 MB, free: 3.043 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.773e-06/0.02263, allocations: 2.344 kB / 23.04 MB, free: 3.043 MB / 13.93 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.02265, allocations: 0 / 23.04 MB, free: 3.043 MB / 13.93 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003305/0.023, allocations: 363.1 kB / 23.39 MB, free: 2.648 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.02306, allocations: 15.69 kB / 23.41 MB, free: 2.648 MB / 13.93 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.529e-05/0.0231, allocations: 30.73 kB / 23.44 MB, free: 2.609 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.02314, allocations: 4.234 kB / 23.44 MB, free: 2.609 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.02335, allocations: 183.8 kB / 23.62 MB, free: 2.402 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.02338, allocations: 8.875 kB / 23.63 MB, free: 2.398 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.02341, allocations: 3.906 kB / 23.63 MB, free: 2.398 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.02353, allocations: 44.48 kB / 23.68 MB, free: 2.363 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.02356, allocations: 2.328 kB / 23.68 MB, free: 2.363 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.02358, allocations: 8.062 kB / 23.69 MB, free: 2.359 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.02359, allocations: 0 / 23.69 MB, free: 2.359 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.753e-05/0.02368, allocations: 21.67 kB / 23.71 MB, free: 2.355 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005532/0.02424, allocations: 370.5 kB / 24.07 MB, free: 1.969 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 4.823e-05/0.02431, allocations: 33.97 kB / 24.1 MB, free: 1.93 MB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.181e-05/0.02434, allocations: 8.797 kB / 24.11 MB, free: 1.918 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.02436, allocations: 4.062 kB / 24.12 MB, free: 1.914 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.02439, allocations: 30.56 kB / 24.15 MB, free: 1.875 MB / 13.93 MB Notification: Performance of pre-optimization done (n=2): time 1.803e-06/0.0244, allocations: 0 / 24.15 MB, free: 1.875 MB / 13.93 MB Notification: Performance of matching and sorting (n=2): time 0.0001565/0.02456, allocations: 70.8 kB / 24.22 MB, free: 1.797 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.02461, allocations: 81.14 kB / 24.3 MB, free: 1.699 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.9e-05/0.0247, allocations: 108 kB / 24.4 MB, free: 1.594 MB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 9.407e-06/0.02472, allocations: 25.7 kB / 24.43 MB, free: 1.562 MB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/0.02477, allocations: 96.7 kB / 24.52 MB, free: 1.465 MB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 1.013e-05/0.02479, allocations: 4.531 kB / 24.52 MB, free: 1.461 MB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-06/0.0248, allocations: 0.5625 kB / 24.53 MB, free: 1.461 MB / 13.93 MB Notification: Performance of setup shared object (initialization): time 5.657e-05/0.02487, allocations: 319 kB / 24.84 MB, free: 1.145 MB / 13.93 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.826e-05/0.02491, allocations: 11.98 kB / 24.85 MB, free: 1.133 MB / 13.93 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.037e-05/0.02496, allocations: 27.16 kB / 24.87 MB, free: 1.105 MB / 13.93 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.711e-05/0.02502, allocations: 37.59 kB / 24.91 MB, free: 1.066 MB / 13.93 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.02503, allocations: 0 / 24.91 MB, free: 1.066 MB / 13.93 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001388/0.02518, allocations: 89.95 kB / 25 MB, free: 0.9727 MB / 13.93 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.02522, allocations: 29.7 kB / 25.03 MB, free: 0.9375 MB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.02524, allocations: 4 kB / 25.03 MB, free: 0.9336 MB / 13.93 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.02527, allocations: 0 / 25.03 MB, free: 0.9336 MB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.258e-05/0.02537, allocations: 15.92 kB / 25.05 MB, free: 0.918 MB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.02539, allocations: 4.031 kB / 25.05 MB, free: 0.9141 MB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.03e-05/0.02546, allocations: 7.844 kB / 25.06 MB, free: 0.9062 MB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.02549, allocations: 7.5 kB / 25.07 MB, free: 0.9023 MB / 13.93 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (T1.activation.active) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * 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 6.565e-05/0.02556, allocations: 135 kB / 25.2 MB, free: 0.7578 MB / 13.93 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.02561, allocations: 3.953 kB / 25.2 MB, free: 0.7539 MB / 13.93 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/0.02564, allocations: 4.328 kB / 25.21 MB, free: 0.75 MB / 13.93 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.02565, allocations: 4 kB / 25.21 MB, free: 0.7461 MB / 13.93 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.02566, allocations: 0 / 25.21 MB, free: 0.7461 MB / 13.93 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.02567, allocations: 0 / 25.21 MB, free: 0.7461 MB / 13.93 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.02583, allocations: 164.5 kB / 25.37 MB, free: 0.543 MB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.02585, allocations: 4 kB / 25.38 MB, free: 0.5391 MB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.737e-05/0.02587, allocations: 4 kB / 25.38 MB, free: 0.5352 MB / 13.93 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.02589, allocations: 0 / 25.38 MB, free: 0.5352 MB / 13.93 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.0259, allocations: 3.953 kB / 25.38 MB, free: 0.5312 MB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.02591, allocations: 0 / 25.38 MB, free: 0.5312 MB / 13.93 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.02592, allocations: 0 / 25.38 MB, free: 0.5312 MB / 13.93 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.02605, allocations: 174.8 kB / 25.55 MB, free: 352 kB / 13.93 MB Notification: Performance of postOpt removeConstants (simulation): time 2.922e-05/0.02609, allocations: 81.14 kB / 25.63 MB, free: 252 kB / 13.93 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.02612, allocations: 0 / 25.63 MB, free: 252 kB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.872e-05/0.0262, allocations: 7.953 kB / 25.64 MB, free: 244 kB / 13.93 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.02623, allocations: 1.188 kB / 25.64 MB, free: 244 kB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.02625, allocations: 3.938 kB / 25.65 MB, free: 240 kB / 13.93 MB Notification: Performance of sorting global known variables: time 4.682e-05/0.0263, allocations: 91.02 kB / 25.73 MB, free: 152 kB / 13.93 MB Notification: Performance of sort global known variables: time 3.9e-07/0.02631, allocations: 0 / 25.73 MB, free: 152 kB / 13.93 MB Notification: Performance of remove unused functions: time 0.0003341/0.02666, allocations: 15.94 kB / 25.75 MB, free: 136 kB / 13.93 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (T1.activation.active) * Number of discrete states: 1 (T1.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * 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.0005309/0.0272, allocations: 0.7048 MB / 26.45 MB, free: 4.086 MB / 18.61 MB Notification: Performance of simCode: created initialization part: time 0.0001559/0.02737, allocations: 79.14 kB / 26.53 MB, free: 4 MB / 18.61 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.02739, allocations: 0 / 26.53 MB, free: 4 MB / 18.61 MB Notification: Performance of simCode: created simulation system equations: time 5.883e-05/0.02745, allocations: 58.16 kB / 26.59 MB, free: 3.934 MB / 18.61 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.02765, allocations: 7.953 kB / 26.6 MB, free: 3.926 MB / 18.61 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.02933, allocations: 316.5 kB / 26.91 MB, free: 3.625 MB / 18.61 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.02969, allocations: 0.6887 MB / 27.59 MB, free: 2.91 MB / 18.61 MB Notification: Performance of simCode: alias equations: time 0.0001271/0.02983, allocations: 31.89 kB / 27.63 MB, free: 2.879 MB / 18.61 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.65e-05/0.02991, allocations: 27.05 kB / 27.65 MB, free: 2.855 MB / 18.61 MB Notification: Performance of SimCode: time 1.192e-06/0.02992, allocations: 0 / 27.65 MB, free: 2.855 MB / 18.61 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.04888, allocations: 1.163 MB / 28.82 MB, free: 1.715 MB / 18.61 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003294/0.04929, allocations: 120.7 kB / 28.93 MB, free: 1.516 MB / 18.61 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.135/2.184, allocations: 4 kB / 28.94 MB, free: 1.512 MB / 18.61 MB