Running command: "" <> buildModelFMU(MEV.Test.TestDutyCycleGenerator,fileNamePrefix="MEV_MEV_Test_TestDutyCycleGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(MEV): time 2.039/2.039, allocations: 207.6 MB / 219.8 MB, free: 8.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.867e-05/3.875e-05, allocations: 0 / 270.8 MB, free: 4.387 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.102, allocations: 48.05 MB / 318.8 MB, free: 4.242 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4/0.502, allocations: 74.98 MB / 393.8 MB, free: 8.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/0.5023, allocations: 62.53 kB / 393.9 MB, free: 8.559 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002381/0.5047, allocations: 0.6756 MB / 394.6 MB, free: 7.938 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5047, allocations: 0 / 394.6 MB, free: 7.938 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.5047, allocations: 4 kB / 394.6 MB, free: 7.934 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004337/0.5052, allocations: 327.7 kB / 394.9 MB, free: 7.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.5053, allocations: 12.02 kB / 394.9 MB, free: 7.559 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.5053, allocations: 34.44 kB / 394.9 MB, free: 7.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.5053, allocations: 7.906 kB / 394.9 MB, free: 7.512 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.5055, allocations: 167 kB / 395.1 MB, free: 7.309 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.5055, allocations: 4 kB / 395.1 MB, free: 7.305 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.5055, allocations: 3.953 kB / 395.1 MB, free: 7.301 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.5057, allocations: 41.62 kB / 395.1 MB, free: 7.258 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.5057, allocations: 0 / 395.1 MB, free: 7.258 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.5057, allocations: 0 / 395.1 MB, free: 7.258 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.5057, allocations: 7.938 kB / 395.2 MB, free: 7.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.995e-05/0.5058, allocations: 11.81 kB / 395.2 MB, free: 7.242 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.5062, allocations: 252.5 kB / 395.4 MB, free: 6.953 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.5064, allocations: 45.81 kB / 395.5 MB, free: 6.906 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.31e-05/0.5064, allocations: 12.61 kB / 395.5 MB, free: 6.895 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.5065, allocations: 4 kB / 395.5 MB, free: 6.891 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.5066, allocations: 64.11 kB / 395.5 MB, free: 6.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.415e-06/0.5066, allocations: 0 / 395.5 MB, free: 6.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002009/0.5068, allocations: 53.3 kB / 395.6 MB, free: 6.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.5069, allocations: 59.33 kB / 395.6 MB, free: 6.699 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.315e-05/0.507, allocations: 97.62 kB / 395.7 MB, free: 6.602 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.507, allocations: 25.7 kB / 395.8 MB, free: 6.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.5071, allocations: 85.78 kB / 395.9 MB, free: 6.484 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.5071, allocations: 11.84 kB / 395.9 MB, free: 6.477 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.5071, allocations: 0 / 395.9 MB, free: 6.477 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.5073, allocations: 314.8 kB / 396.2 MB, free: 6.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.743e-05/0.5073, allocations: 7.938 kB / 396.2 MB, free: 6.156 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.419e-05/0.5074, allocations: 26.56 kB / 396.2 MB, free: 6.125 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.709e-05/0.5074, allocations: 15.94 kB / 396.2 MB, free: 6.109 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5074, allocations: 0 / 396.2 MB, free: 6.109 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000126/0.5076, allocations: 56.88 kB / 396.3 MB, free: 6.055 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.5076, allocations: 8 kB / 396.3 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.5076, allocations: 128 / 396.3 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.5076, allocations: 0 / 396.3 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.5078, allocations: 15.98 kB / 396.3 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.5078, allocations: 4 kB / 396.3 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.236e-05/0.5079, allocations: 11.97 kB / 396.3 MB, free: 6.016 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.5079, allocations: 11.92 kB / 396.3 MB, free: 6.004 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.dutyCycleGenerator.offTime,dutyCycleGenerator.offTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 7.879e-05/0.508, allocations: 108.9 kB / 396.4 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.508, allocations: 4 kB / 396.4 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.508, allocations: 7.312 kB / 396.4 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.5081, allocations: 0 / 396.4 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.5081, allocations: 0 / 396.4 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5081, allocations: 0 / 396.4 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.5083, allocations: 161.4 kB / 396.6 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.5083, allocations: 7.953 kB / 396.6 MB, free: 5.668 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.607e-05/0.5084, allocations: 11.88 kB / 396.6 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.5084, allocations: 0 / 396.6 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.5084, allocations: 3.938 kB / 396.6 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.5084, allocations: 3.984 kB / 396.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5084, allocations: 0 / 396.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.5086, allocations: 75.94 kB / 396.7 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.126e-05/0.5087, allocations: 96.91 kB / 396.8 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.5087, allocations: 0 / 396.8 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.455e-05/0.5088, allocations: 11.86 kB / 396.8 MB, free: 5.445 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.5088, allocations: 7.938 kB / 396.8 MB, free: 5.438 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.5089, allocations: 0 / 396.8 MB, free: 5.438 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.784e-05/0.5089, allocations: 79.28 kB / 396.9 MB, free: 5.359 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.5089, allocations: 0 / 396.9 MB, free: 5.359 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002612/0.5092, allocations: 7.875 kB / 396.9 MB, free: 5.355 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,dutyCycleGenerator.offTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000434/0.5096, allocations: 0.6157 MB / 397.5 MB, free: 4.719 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.5098, allocations: 27.38 kB / 397.5 MB, free: 4.699 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5098, allocations: 0 / 397.5 MB, free: 4.699 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.238e-05/0.5099, allocations: 11.94 kB / 397.6 MB, free: 4.691 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.51, allocations: 0 / 397.6 MB, free: 4.691 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.5104, allocations: 117.6 kB / 397.7 MB, free: 4.551 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.5107, allocations: 0.6809 MB / 398.4 MB, free: 3.844 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.804e-05/0.5107, allocations: 336 / 398.4 MB, free: 3.844 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.5108, allocations: 11.44 kB / 398.4 MB, free: 3.836 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5108, allocations: 0 / 398.4 MB, free: 3.836 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.5323, allocations: 1.014 MB / 399.4 MB, free: 2.875 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002709/0.5326, allocations: 129.2 kB / 399.5 MB, free: 2.668 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.16/2.692, allocations: 0 / 399.5 MB, free: 2.668 MB / 314.7 MB