Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BooleanNetwork1,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_BooleanNetwork1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.13/2.13, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.193e-05/3.204e-05, allocations: 4 kB / 292.2 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1206, allocations: 50.41 MB / 342.6 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4604/0.5811, allocations: 84.1 MB / 426.7 MB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.5814, allocations: 80.39 kB / 426.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04167/0.623, allocations: 9.186 MB / 436 MB, free: 2.363 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6231, allocations: 0 / 436 MB, free: 2.363 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.656e-05/0.6232, allocations: 12 kB / 436 MB, free: 2.352 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001643/0.6248, allocations: 0.7297 MB / 436.7 MB, free: 1.594 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.6249, allocations: 11.97 kB / 436.8 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001313/0.625, allocations: 78.42 kB / 436.8 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.6252, allocations: 59.34 kB / 436.9 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009431/0.6262, allocations: 384.9 kB / 437.3 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.6263, allocations: 53.55 kB / 437.3 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.488e-05/0.6264, allocations: 41.44 kB / 437.4 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009104/0.6274, allocations: 404 kB / 437.7 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.6274, allocations: 4 kB / 437.8 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-05/0.6275, allocations: 17.39 kB / 437.8 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.733e-05/0.6275, allocations: 24.38 kB / 437.8 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006579/0.6282, allocations: 234.5 kB / 438 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003133/0.6313, allocations: 1.672 MB / 439.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007491/0.6321, allocations: 285.6 kB / 440 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/0.6324, allocations: 124.9 kB / 440.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.208e-05/0.6325, allocations: 4 kB / 440.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005928/0.6331, allocations: 325 kB / 440.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 3.146e-06/0.6332, allocations: 0 / 440.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=37): time 0.001035/0.6342, allocations: 360 kB / 440.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.6344, allocations: 170.1 kB / 440.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008239/0.6352, allocations: 442.7 kB / 441.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.362e-05/0.6353, allocations: 36.45 kB / 441.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.6355, allocations: 231.2 kB / 441.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.6356, allocations: 91.25 kB / 441.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.6357, allocations: 5.625 kB / 441.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.6359, allocations: 362.4 kB / 442.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/0.6362, allocations: 109.4 kB / 442.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004414/0.6366, allocations: 254.3 kB / 442.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.637, allocations: 161.2 kB / 442.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.637, allocations: 0 / 442.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00108/0.6381, allocations: 453.8 kB / 443 MB, free: 11.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.428e-05/0.6382, allocations: 37.69 kB / 443.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/0.6382, allocations: 4 kB / 443.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/0.6383, allocations: 8 kB / 443.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.6385, allocations: 39.11 kB / 443.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-05/0.6386, allocations: 11.92 kB / 443.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004114/0.639, allocations: 35.3 kB / 443.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.346e-05/0.6391, allocations: 27.81 kB / 443.2 MB, free: 11.84 MB / 362.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: 58 ($PRE.onDelay.u,$PRE.onDelay.t_next,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition5,$whenCondition4,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition3,onDelay.u,onDelay.y,onDelay.delaySignal,onDelay.t_next,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled,rSFlipFlop.Q,rSFlipFlop.QI,$PRE.rSFlipFlop.pre.u,rSFlipFlop.pre.u,rSFlipFlop.S,rSFlipFlop.R,triggeredAdd.local_set,triggeredAdd.local_reset,$whenCondition6,and1.u[1],and1.u[2],$PRE.booleanPulse1.pulseStart,booleanPulse1.pulseStart,$PRE.booleanPulse2.pulseStart,booleanPulse2.pulseStart,or1.u[1],xor1.u[1],nand1.u[1],or2.u[1],nor1.y,$PRE.rising.u,rising.u,set1.u[1],set1.u[2],$PRE.set1.y,set1.y,set1.firstActiveIndex,$PRE.falling.not_u,falling.not_u,$PRE.changing.u,changing.u,changing.y,set1.expr[1],set1.expr[2],showValue6.active,showValue5.active,showValue1.number,showValue4.active,showValue3.active,showValue2.active,showValue.active) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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 0.0002562/0.6394, allocations: 197.5 kB / 443.4 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.6395, allocations: 54.23 kB / 443.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.6406, allocations: 401.2 kB / 443.8 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.6406, allocations: 12 kB / 443.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.6406, allocations: 7.922 kB / 443.8 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.6407, allocations: 0 / 443.8 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.6423, allocations: 0.7886 MB / 444.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.6424, allocations: 4 kB / 444.6 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.6425, allocations: 14.5 kB / 444.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/0.6425, allocations: 8 kB / 444.7 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.181e-05/0.6426, allocations: 14.11 kB / 444.7 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/0.6426, allocations: 8.109 kB / 444.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6426, allocations: 0 / 444.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.6436, allocations: 0.5174 MB / 445.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.6438, allocations: 135.5 kB / 445.3 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.6439, allocations: 15.88 kB / 445.4 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.6443, allocations: 27.19 kB / 445.4 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.6445, allocations: 43.33 kB / 445.4 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-05/0.6446, allocations: 18.8 kB / 445.4 MB, free: 9.816 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005549/0.6451, allocations: 318.4 kB / 445.7 MB, free: 9.574 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6451, allocations: 0 / 445.7 MB, free: 9.574 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007494/0.6459, allocations: 117 kB / 445.9 MB, free: 9.477 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: 37 (rSFlipFlop.Q,rSFlipFlop.QI,rSFlipFlop.pre.u,rSFlipFlop.S,rSFlipFlop.R,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.u,onDelay.y,onDelay.delaySignal,onDelay.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,nor1.y,or2.u[1],changing.y,$cse1,$cse2,$whenCondition6,$whenCondition5,$whenCondition4,and1.u[1],and1.u[2],booleanPulse1.pulseStart,booleanPulse2.pulseStart,or1.u[1],xor1.u[1],nand1.u[1],rising.u,set1.u[1],set1.u[2],set1.y,set1.firstActiveIndex,falling.not_u,changing.u,triggeredAdd.y) * Number of discrete states: 12 (rising.u,falling.not_u,set1.y,changing.u,triggeredAdd.y,onDelay.t_next,onDelay.delaySignal,$whenCondition3,$whenCondition2,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,rSFlipFlop.pre.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 5 * 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.002701/0.6486, allocations: 1.554 MB / 447.4 MB, free: 8.086 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.6497, allocations: 379.9 kB / 447.8 MB, free: 7.785 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.6498, allocations: 0 / 447.8 MB, free: 7.785 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005227/0.6503, allocations: 229.8 kB / 448 MB, free: 7.602 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008004/0.6511, allocations: 71.14 kB / 448.1 MB, free: 7.555 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.6534, allocations: 0.7246 MB / 448.8 MB, free: 6.891 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005374/0.654, allocations: 0.8511 MB / 449.7 MB, free: 6.016 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003798/0.6544, allocations: 79.41 kB / 449.7 MB, free: 5.938 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/0.6547, allocations: 165.9 kB / 449.9 MB, free: 5.883 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6547, allocations: 0 / 449.9 MB, free: 5.883 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03737/0.6921, allocations: 9.215 MB / 459.1 MB, free: 12.77 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002668/0.6924, allocations: 184.5 kB / 459.3 MB, free: 12.55 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.022/3.715, allocations: 0 / 459.3 MB, free: 12.55 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1_res.mat does not exist to compare? outputFormat=mat