Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.UpSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_UpSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.267/2.267, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.692e-05/5.7e-05, allocations: 4 kB / 284.4 MB, free: 8.102 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1352, allocations: 50.37 MB / 334.8 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4235/0.5588, allocations: 82.44 MB / 417.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/0.5592, allocations: 78.2 kB / 417.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04924/0.6084, allocations: 8.404 MB / 425.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.6085, allocations: 0 / 425.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.42e-05/0.6086, allocations: 8 kB / 425.7 MB, free: 4.559 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001168/0.6098, allocations: 0.5003 MB / 426.2 MB, free: 4.023 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.634e-05/0.6099, allocations: 16.03 kB / 426.2 MB, free: 4.008 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.233e-05/0.61, allocations: 41.12 kB / 426.3 MB, free: 3.965 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.6101, allocations: 23.72 kB / 426.3 MB, free: 3.941 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008685/0.611, allocations: 275.1 kB / 426.6 MB, free: 3.656 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.038e-05/0.6111, allocations: 19.5 kB / 426.6 MB, free: 3.641 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.736e-05/0.6111, allocations: 11.69 kB / 426.6 MB, free: 3.633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.6122, allocations: 288 kB / 426.9 MB, free: 3.387 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.6122, allocations: 0 / 426.9 MB, free: 3.387 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.6123, allocations: 7.312 kB / 426.9 MB, free: 3.383 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.6123, allocations: 11.94 kB / 426.9 MB, free: 3.371 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002996/0.6126, allocations: 53.86 kB / 427 MB, free: 3.336 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.6137, allocations: 395.5 kB / 427.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006174/0.6144, allocations: 172.7 kB / 427.5 MB, free: 2.785 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.6147, allocations: 82.81 kB / 427.6 MB, free: 2.715 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.945e-05/0.6148, allocations: 4 kB / 427.6 MB, free: 2.711 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002589/0.6151, allocations: 74.2 kB / 427.7 MB, free: 2.637 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 4.208e-06/0.6151, allocations: 3.938 kB / 427.7 MB, free: 2.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007904/0.6159, allocations: 171.9 kB / 427.8 MB, free: 2.492 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/0.6161, allocations: 140 kB / 428 MB, free: 2.328 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006306/0.6167, allocations: 246 kB / 428.2 MB, free: 2.129 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.222e-05/0.6168, allocations: 33.64 kB / 428.3 MB, free: 2.094 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.617, allocations: 120 kB / 428.4 MB, free: 1.992 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.637e-05/0.6171, allocations: 30.7 kB / 428.4 MB, free: 1.969 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.6171, allocations: 7.812 kB / 428.4 MB, free: 1.965 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002169/0.6173, allocations: 333 kB / 428.7 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.6175, allocations: 37.22 kB / 428.8 MB, free: 1.609 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003302/0.6179, allocations: 164.2 kB / 428.9 MB, free: 1.406 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.6182, allocations: 64.39 kB / 429 MB, free: 1.359 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.6182, allocations: 0 / 429 MB, free: 1.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008079/0.619, allocations: 205.5 kB / 429.2 MB, free: 1.184 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.6191, allocations: 8.031 kB / 429.2 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.6191, allocations: 8 kB / 429.2 MB, free: 1.168 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.298e-05/0.6192, allocations: 4 kB / 429.2 MB, free: 1.164 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.6194, allocations: 23.92 kB / 429.2 MB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.582e-05/0.6195, allocations: 7.984 kB / 429.2 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/0.6198, allocations: 19.27 kB / 429.3 MB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.26e-05/0.6199, allocations: 15.38 kB / 429.3 MB, free: 1.105 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition1,$PRE.table1.combiTimeTable.nextTimeEvent,sample.u,table1.combiTimeTable.nextTimeEvent,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEventScaled,and1.y,and1.u2,and1.u1,upSample2.u_super,upSample2.b_super,$CLKPRE.upSample2.b_super,upSample2.y,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.y,upSample2.b,$CLKPRE.upSample2.b,upSample2.dummy,upSample2.u,upSample1.b,$CLKPRE.upSample1.b,upSample1.dummy,upSample1.u,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0002277/0.6201, allocations: 131.8 kB / 429.4 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004511/0.6206, allocations: 129 kB / 429.5 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004861/0.6211, allocations: 117.7 kB / 429.6 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.6211, allocations: 4 kB / 429.7 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.6212, allocations: 0 / 429.7 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.6212, allocations: 4 kB / 429.7 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004845/0.6217, allocations: 247.3 kB / 429.9 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/0.6217, allocations: 8.109 kB / 429.9 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.6219, allocations: 15.88 kB / 429.9 MB, free: 492 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/0.6219, allocations: 4 kB / 429.9 MB, free: 488 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.622, allocations: 7.375 kB / 429.9 MB, free: 484 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.622, allocations: 4 kB / 429.9 MB, free: 480 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.622, allocations: 3.984 kB / 429.9 MB, free: 476 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007791/0.6228, allocations: 239.2 kB / 430.2 MB, free: 240 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002918/0.6232, allocations: 127.5 kB / 430.3 MB, free: 100 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.553e-05/0.6233, allocations: 11.75 kB / 430.3 MB, free: 92 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.6235, allocations: 7.375 kB / 430.3 MB, free: 88 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.352e-05/0.6236, allocations: 15.25 kB / 430.3 MB, free: 76 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/0.6237, allocations: 4 kB / 430.3 MB, free: 72 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00055/0.6243, allocations: 202.9 kB / 430.5 MB, free: 15.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.6243, allocations: 0 / 430.5 MB, free: 15.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008215/0.6251, allocations: 46.92 kB / 430.6 MB, free: 15.87 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,sample.u,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003583/0.6287, allocations: 1.294 MB / 431.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006896/0.6295, allocations: 128.2 kB / 432 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6295, allocations: 0 / 432 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.6297, allocations: 29.81 kB / 432 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009888/0.6307, allocations: 103 kB / 432.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.6324, allocations: 389.1 kB / 432.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000564/0.633, allocations: 0.7593 MB / 433.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002165/0.6332, allocations: 30.45 kB / 433.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/0.6335, allocations: 70.03 kB / 433.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of SimCode: time 1.422e-06/0.6335, allocations: 0 / 433.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05334/0.6869, allocations: 5.008 MB / 438.4 MB, free: 8.27 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003258/0.6872, allocations: 213.1 kB / 438.6 MB, free: 8.047 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.638/3.325, allocations: 4 kB / 438.6 MB, free: 8.043 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.UpSample_res.mat does not exist to compare? outputFormat=mat