Running command: "" <> buildModelFMU(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_LogicalOperations_Examples_FliFlop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IndustrialControlSystems): time 2.122/2.122, allocations: 216.8 MB / 229 MB, free: 15.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.04e-05/3.044e-05, allocations: 0 / 282 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1091, allocations: 50 MB / 332 MB, free: 8.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4267/0.5359, allocations: 81.17 MB / 413.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/0.5363, allocations: 87.39 kB / 413.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04255/0.5788, allocations: 9.031 MB / 422.3 MB, free: 7.332 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5789, allocations: 3.938 kB / 422.3 MB, free: 7.328 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.901e-05/0.5789, allocations: 11.98 kB / 422.3 MB, free: 7.316 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001082/0.58, allocations: 0.5767 MB / 422.9 MB, free: 6.699 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.5801, allocations: 12.03 kB / 422.9 MB, free: 6.688 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.28e-05/0.5802, allocations: 37.98 kB / 422.9 MB, free: 6.645 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.5803, allocations: 43.42 kB / 423 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008595/0.5812, allocations: 347.2 kB / 423.3 MB, free: 6.258 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.5812, allocations: 6.938 kB / 423.3 MB, free: 6.254 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.5813, allocations: 11.94 kB / 423.3 MB, free: 6.242 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.5816, allocations: 129.1 kB / 423.4 MB, free: 6.129 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.5816, allocations: 0 / 423.4 MB, free: 6.129 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.5817, allocations: 0 / 423.4 MB, free: 6.129 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.5817, allocations: 4 kB / 423.4 MB, free: 6.125 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.5819, allocations: 57.61 kB / 423.5 MB, free: 6.086 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.583, allocations: 0.4969 MB / 424 MB, free: 5.625 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/0.5833, allocations: 119.9 kB / 424.1 MB, free: 5.531 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.5835, allocations: 55.16 kB / 424.2 MB, free: 5.492 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.5836, allocations: 0 / 424.2 MB, free: 5.492 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003082/0.5839, allocations: 113.8 kB / 424.3 MB, free: 5.387 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.174e-06/0.5839, allocations: 0 / 424.3 MB, free: 5.387 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.000561/0.5845, allocations: 185.7 kB / 424.5 MB, free: 5.234 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.004e-05/0.5846, allocations: 110.8 kB / 424.6 MB, free: 5.102 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008233/0.5854, allocations: 432.3 kB / 425 MB, free: 4.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.5854, allocations: 25.7 kB / 425 MB, free: 4.738 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.5856, allocations: 171.6 kB / 425.2 MB, free: 4.621 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.214e-05/0.5857, allocations: 37.8 kB / 425.2 MB, free: 4.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.315e-05/0.5857, allocations: 2.938 kB / 425.2 MB, free: 4.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.5859, allocations: 347.7 kB / 425.6 MB, free: 4.254 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.586, allocations: 44.75 kB / 425.6 MB, free: 4.223 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.5863, allocations: 128.2 kB / 425.7 MB, free: 4.086 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.5864, allocations: 53.55 kB / 425.8 MB, free: 4.051 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5864, allocations: 224 / 425.8 MB, free: 4.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000466/0.5869, allocations: 183.5 kB / 426 MB, free: 3.898 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.587, allocations: 15.88 kB / 426 MB, free: 3.883 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.587, allocations: 4 kB / 426 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.587, allocations: 4 kB / 426 MB, free: 3.875 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.5873, allocations: 26.98 kB / 426 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.5873, allocations: 8.156 kB / 426 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.5875, allocations: 14.84 kB / 426 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.5876, allocations: 8 kB / 426 MB, free: 3.824 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.flipFlopSR.y1,flipFlopSR.y1,$PRE.flipFlopSR.y2,flipFlopSR.y2,$whenCondition3,$PRE.resetSIGNAL.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.setSIGNAL.combiTimeTable.nextTimeEvent,$whenCondition1,flipFlopSR.u2,resetSIGNAL.combiTimeTable.nextTimeEvent,$PRE.resetSIGNAL.combiTimeTable.nextTimeEventScaled,resetSIGNAL.combiTimeTable.nextTimeEventScaled,flipFlopSR.u1,setSIGNAL.combiTimeTable.nextTimeEvent,$PRE.setSIGNAL.combiTimeTable.nextTimeEventScaled,setSIGNAL.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001383/0.5877, allocations: 128.6 kB / 426.2 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.271e-05/0.5878, allocations: 31.62 kB / 426.2 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005841/0.5884, allocations: 214.2 kB / 426.4 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.5884, allocations: 8 kB / 426.4 MB, free: 3.496 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.5885, allocations: 0 / 426.4 MB, free: 3.496 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.5885, allocations: 3.938 kB / 426.4 MB, free: 3.492 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/0.5889, allocations: 330.7 kB / 426.7 MB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5889, allocations: 128 / 426.7 MB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.89e-05/0.589, allocations: 12 kB / 426.7 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.5891, allocations: 4 kB / 426.8 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.5891, allocations: 7.734 kB / 426.8 MB, free: 3.152 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.5891, allocations: 3.953 kB / 426.8 MB, free: 3.148 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5891, allocations: 0 / 426.8 MB, free: 3.148 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005046/0.5896, allocations: 227.3 kB / 427 MB, free: 2.945 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.5898, allocations: 122.2 kB / 427.1 MB, free: 2.816 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.509e-05/0.5899, allocations: 10.98 kB / 427.1 MB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.5901, allocations: 8 kB / 427.1 MB, free: 2.801 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.006e-05/0.5902, allocations: 22.61 kB / 427.1 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.5903, allocations: 4 kB / 427.2 MB, free: 2.777 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005997/0.5909, allocations: 341.6 kB / 427.5 MB, free: 2.527 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.12e-07/0.5909, allocations: 4 kB / 427.5 MB, free: 2.523 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005436/0.5914, allocations: 74.67 kB / 427.6 MB, free: 2.457 MB / 346.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: 11 ($whenCondition3,$whenCondition2,$whenCondition1,flipFlopSR.u1,flipFlopSR.y1,flipFlopSR.u2,flipFlopSR.y2,setSIGNAL.combiTimeTable.nextTimeEvent,setSIGNAL.combiTimeTable.nextTimeEventScaled,resetSIGNAL.combiTimeTable.nextTimeEvent,resetSIGNAL.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (flipFlopSR.y1,setSIGNAL.combiTimeTable.nextTimeEvent,resetSIGNAL.combiTimeTable.nextTimeEvent,setSIGNAL.combiTimeTable.nextTimeEventScaled,resetSIGNAL.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001994/0.5934, allocations: 1.071 MB / 428.6 MB, free: 1.457 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000449/0.5939, allocations: 128.4 kB / 428.8 MB, free: 1.363 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5939, allocations: 0 / 428.8 MB, free: 1.363 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.5941, allocations: 67.05 kB / 428.8 MB, free: 1.316 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006216/0.5948, allocations: 69.69 kB / 428.9 MB, free: 1.266 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.5962, allocations: 0.4955 MB / 429.4 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005518/0.5968, allocations: 0.7873 MB / 430.2 MB, free: 16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002424/0.5971, allocations: 53.8 kB / 430.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.5973, allocations: 95.84 kB / 430.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of SimCode: time 3.326e-06/0.5973, allocations: 0 / 430.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0407/0.638, allocations: 7.038 MB / 437.4 MB, free: 8.926 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003387/0.6385, allocations: 225.5 kB / 437.6 MB, free: 8.699 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.63/3.268, allocations: 0 / 437.6 MB, free: 8.699 MB / 362.7 MB