Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BooleanNetwork1,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Blocks_Examples_BooleanNetwork1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.792/1.792, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.9e-05/2.916e-05, allocations: 0 / 225 MB, free: 2.715 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.271, allocations: 38.77 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1262/0.3973, allocations: 69.78 MB / 333.6 MB, free: 3.988 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.3976, allocations: 63.97 kB / 333.7 MB, free: 3.926 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02306/0.4207, allocations: 4.933 MB / 338.6 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.4208, allocations: 0 / 338.6 MB, free: 14.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.497e-05/0.4208, allocations: 15.98 kB / 338.6 MB, free: 14.96 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00133/0.4221, allocations: 0.6455 MB / 339.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.4222, allocations: 8.031 kB / 339.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/0.4224, allocations: 78.52 kB / 339.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.4225, allocations: 51.38 kB / 339.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005758/0.4231, allocations: 285.6 kB / 339.7 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.751e-05/0.4232, allocations: 54.47 kB / 339.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.4233, allocations: 47.89 kB / 339.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000926/0.4243, allocations: 389.1 kB / 340.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.4243, allocations: 4 kB / 340.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.399e-05/0.4244, allocations: 15.98 kB / 340.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.597e-05/0.4245, allocations: 20.44 kB / 340.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006781/0.4251, allocations: 233.6 kB / 340.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002826/0.428, allocations: 1.577 MB / 342 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007258/0.4288, allocations: 267.9 kB / 342.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.4291, allocations: 126.5 kB / 342.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.026e-05/0.4292, allocations: 8 kB / 342.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006232/0.4298, allocations: 345.4 kB / 342.7 MB, free: 10.51 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 3.166e-06/0.4299, allocations: 4 kB / 342.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.001071/0.4309, allocations: 407.2 kB / 343.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/0.4311, allocations: 196 kB / 343.3 MB, free: 9.859 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004696/0.4316, allocations: 266.8 kB / 343.6 MB, free: 9.586 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.299e-05/0.4317, allocations: 37.7 kB / 343.6 MB, free: 9.543 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.4319, allocations: 243.1 kB / 343.8 MB, free: 9.305 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.432, allocations: 83.03 kB / 343.9 MB, free: 9.223 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.4321, allocations: 8 kB / 343.9 MB, free: 9.215 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.4322, allocations: 330.8 kB / 344.3 MB, free: 8.883 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.4325, allocations: 113.1 kB / 344.4 MB, free: 8.773 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004329/0.433, allocations: 232.2 kB / 344.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004312/0.4334, allocations: 217 kB / 344.8 MB, free: 8.266 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.4335, allocations: 0 / 344.8 MB, free: 8.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001168/0.4346, allocations: 0.4942 MB / 345.3 MB, free: 7.746 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.429e-05/0.4348, allocations: 93.09 kB / 345.4 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.4348, allocations: 4.438 kB / 345.4 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.4348, allocations: 8 kB / 345.4 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.435, allocations: 35.86 kB / 345.4 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.931e-05/0.4351, allocations: 8 kB / 345.5 MB, free: 7.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/0.4355, allocations: 39.88 kB / 345.5 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-05/0.4356, allocations: 24 kB / 345.5 MB, free: 7.52 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.onDelay.u,$PRE.onDelay.t_next,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition5,$whenCondition4,rSFlipFlop.Q,rSFlipFlop.QI,$PRE.rSFlipFlop.pre.u,rSFlipFlop.pre.u,rSFlipFlop.S,rSFlipFlop.R,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.u,onDelay.y,onDelay.delaySignal,onDelay.t_next,$PRE.booleanTable.y,booleanTable.y,$PRE.booleanTable.nextTime,booleanTable.nextTime,$PRE.booleanTable.index,booleanTable.index,triggeredAdd.local_set,triggeredAdd.local_reset,$whenCondition6,and1.u[1],and1.u[2],$PRE.booleanPulse1.pulsStart,booleanPulse1.pulsStart,$PRE.booleanPulse2.pulsStart,booleanPulse2.pulsStart,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 (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 3 * 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.0002904/0.4359, allocations: 220.1 kB / 345.7 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.436, allocations: 35.62 kB / 345.8 MB, free: 7.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007106/0.4367, allocations: 243.6 kB / 346 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.4367, allocations: 11.92 kB / 346 MB, free: 6.992 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4368, allocations: 0 / 346 MB, free: 6.992 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.4368, allocations: 0 / 346 MB, free: 6.992 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.4388, allocations: 0.9847 MB / 347 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.4388, allocations: 3.938 kB / 347 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.507e-05/0.4389, allocations: 16.06 kB / 347 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.439, allocations: 0 / 347 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.961e-05/0.439, allocations: 15.98 kB / 347 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.246e-05/0.4391, allocations: 4.031 kB / 347 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.4391, allocations: 11.98 kB / 347 MB, free: 5.887 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.4403, allocations: 0.6335 MB / 347.7 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.4404, allocations: 104.8 kB / 347.8 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.03e-05/0.4405, allocations: 12 kB / 347.8 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/0.441, allocations: 31.98 kB / 347.8 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.4411, allocations: 39.94 kB / 347.9 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.495e-05/0.4412, allocations: 15.98 kB / 347.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000275/0.4415, allocations: 175.1 kB / 348.1 MB, free: 4.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4415, allocations: 0 / 348.1 MB, free: 4.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007254/0.4423, allocations: 108 kB / 348.2 MB, free: 4.715 MB / 298.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: 38 (onDelay.u,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.y,onDelay.delaySignal,onDelay.t_next,booleanTable.y,booleanTable.nextTime,booleanTable.index,rSFlipFlop.Q,rSFlipFlop.QI,rSFlipFlop.pre.u,rSFlipFlop.S,rSFlipFlop.R,nor1.y,or2.u[1],changing.y,$cse1,$cse2,$whenCondition6,$whenCondition5,$whenCondition4,and1.u[1],and1.u[2],booleanPulse1.pulsStart,booleanPulse2.pulsStart,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: 14 (rising.u,falling.not_u,set1.y,changing.u,triggeredAdd.y,rSFlipFlop.pre.u,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition3,onDelay.t_next,onDelay.delaySignal,$whenCondition2,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 3 * 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.001875/0.4441, allocations: 1.378 MB / 349.5 MB, free: 3.289 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.4453, allocations: 498.3 kB / 350 MB, free: 2.766 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.4453, allocations: 0 / 350 MB, free: 2.766 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005767/0.4459, allocations: 306.6 kB / 350.3 MB, free: 2.441 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005758/0.4465, allocations: 49.41 kB / 350.4 MB, free: 2.395 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.4485, allocations: 0.5864 MB / 351 MB, free: 1.758 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.4491, allocations: 0.8114 MB / 351.8 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002977/0.4494, allocations: 119.4 kB / 351.9 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of SimCode: time 1.192e-06/0.4494, allocations: 0 / 351.9 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.894/3.344, allocations: 5.9 MB / 357.8 MB, free: 10.91 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Blocks.Examples.BooleanNetwork1_res.mat does not exist to compare? outputFormat=mat