Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.IntegerNetwork1,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_IntegerNetwork1",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.357/2.357, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.695e-05/2.701e-05, allocations: 2.75 kB / 249.7 MB, free: 5.285 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1449, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5104/0.6553, allocations: 72.23 MB / 366.5 MB, free: 7.215 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.6557, allocations: 69.55 kB / 366.6 MB, free: 7.211 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01499/0.6707, allocations: 2.7 MB / 369.3 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6707, allocations: 0 / 369.3 MB, free: 22.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.048e-05/0.6708, allocations: 7 kB / 369.3 MB, free: 22.73 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001081/0.6719, allocations: 470.5 kB / 369.7 MB, free: 22.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.6719, allocations: 11.62 kB / 369.7 MB, free: 22.34 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.323e-05/0.672, allocations: 50.34 kB / 369.8 MB, free: 22.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.75e-05/0.6721, allocations: 23.25 kB / 369.8 MB, free: 22.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.6725, allocations: 238.7 kB / 370 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.6725, allocations: 10.78 kB / 370 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/0.6726, allocations: 7.875 kB / 370.1 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003967/0.673, allocations: 103.1 kB / 370.2 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004554/0.6735, allocations: 170.4 kB / 370.3 MB, free: 21.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.6735, allocations: 12.03 kB / 370.3 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.6736, allocations: 0 / 370.3 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-05/0.6736, allocations: 6.656 kB / 370.3 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.6755, allocations: 0.7586 MB / 371.1 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.6766, allocations: 191.9 kB / 371.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.6768, allocations: 47.34 kB / 371.3 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.013e-05/0.6768, allocations: 8.984 kB / 371.3 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003312/0.6772, allocations: 133.8 kB / 371.5 MB, free: 21.35 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 3.546e-06/0.6772, allocations: 0 / 371.5 MB, free: 21.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006167/0.6778, allocations: 150.8 kB / 371.6 MB, free: 21.31 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.6779, allocations: 80.86 kB / 371.7 MB, free: 21.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.6782, allocations: 186.9 kB / 371.9 MB, free: 21.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.6782, allocations: 27.08 kB / 371.9 MB, free: 21.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.6784, allocations: 146.8 kB / 372.1 MB, free: 20.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.466e-05/0.6784, allocations: 32.47 kB / 372.1 MB, free: 20.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/0.6785, allocations: 4 kB / 372.1 MB, free: 20.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.6786, allocations: 332.2 kB / 372.4 MB, free: 20.63 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.6788, allocations: 46.88 kB / 372.5 MB, free: 20.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.6791, allocations: 118.3 kB / 372.6 MB, free: 20.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.6793, allocations: 72.03 kB / 372.6 MB, free: 20.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.6794, allocations: 0 / 372.6 MB, free: 20.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006405/0.68, allocations: 207 kB / 372.8 MB, free: 20.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.6801, allocations: 6.656 kB / 372.9 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.6801, allocations: 1.281 kB / 372.9 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.6801, allocations: 8.031 kB / 372.9 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/0.6805, allocations: 36.67 kB / 372.9 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.6806, allocations: 7.812 kB / 372.9 MB, free: 20.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003691/0.681, allocations: 35.28 kB / 372.9 MB, free: 20.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.681, allocations: 11 kB / 372.9 MB, free: 20.46 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 (sum.u[1],product.u[1],product.u[2],product.y,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.booleanPulse1.pulsStart,booleanPulse1.pulsStart,multiSwitch1.u[1],multiSwitch1.u[2],$PRE.multiSwitch1.y,multiSwitch1.y,multiSwitch1.firstActiveIndex,$PRE.booleanPulse2.pulsStart,booleanPulse2.pulsStart,multiSwitch1.expr[1],multiSwitch1.expr[2],triggeredAdd.local_set,triggeredAdd.local_reset,showValue2.number,showValue1.number,showValue.number) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001563/0.6812, allocations: 122.6 kB / 373.1 MB, free: 20.35 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/0.6813, allocations: 22.34 kB / 373.1 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004127/0.6817, allocations: 116.9 kB / 373.2 MB, free: 20.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.6817, allocations: 3.938 kB / 373.2 MB, free: 20.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.6817, allocations: 0 / 373.2 MB, free: 20.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.6818, allocations: 11.08 kB / 373.2 MB, free: 20.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009891/0.6828, allocations: 433.4 kB / 373.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.6828, allocations: 2.859 kB / 373.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.6831, allocations: 21.75 kB / 373.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.6831, allocations: 3.844 kB / 373.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.6831, allocations: 6.203 kB / 373.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.6831, allocations: 4 kB / 373.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.6831, allocations: 4 kB / 373.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000523/0.6837, allocations: 276.5 kB / 374 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.8e-05/0.6838, allocations: 92.02 kB / 374 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.282e-05/0.6838, allocations: 0 / 374 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.6842, allocations: 27.19 kB / 374.1 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.6844, allocations: 17.72 kB / 374.1 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.6844, allocations: 17.42 kB / 374.1 MB, free: 19.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001615/0.6846, allocations: 129.8 kB / 374.2 MB, free: 19.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.6846, allocations: 0 / 374.2 MB, free: 19.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005446/0.6852, allocations: 42.84 kB / 374.3 MB, free: 19.64 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (multiSwitch1.u[1],$whenCondition3,$whenCondition2,$whenCondition1,triggeredAdd.y,booleanPulse1.pulsStart,multiSwitch1.u[2],multiSwitch1.y,multiSwitch1.firstActiveIndex,booleanPulse2.pulsStart,sum.u[1],product.u[1],product.u[2],product.y) * Number of discrete states: 2 (multiSwitch1.y,triggeredAdd.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.001058/0.6862, allocations: 0.8877 MB / 375.2 MB, free: 18.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004757/0.6867, allocations: 136.6 kB / 375.3 MB, free: 18.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6868, allocations: 4.062 kB / 375.3 MB, free: 18.85 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.687, allocations: 63.58 kB / 375.4 MB, free: 18.85 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.6875, allocations: 27.34 kB / 375.4 MB, free: 18.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.6887, allocations: 292.3 kB / 375.7 MB, free: 18.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.6892, allocations: 0.7462 MB / 376.4 MB, free: 17.97 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002169/0.6894, allocations: 30.92 kB / 376.5 MB, free: 17.97 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.6896, allocations: 64.62 kB / 376.5 MB, free: 17.96 MB / 314.7 MB Notification: Performance of SimCode: time 1.353e-06/0.6896, allocations: 0 / 376.5 MB, free: 17.96 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04625/0.7359, allocations: 3.238 MB / 379.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002776/0.7362, allocations: 138 kB / 379.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.986/3.723, allocations: 3.938 kB / 379.9 MB, free: 17.55 MB / 314.7 MB "" Variables in the reference:time,multiSwitch1.y,triggeredAdd.y Variables in the result:_D_whenCondition1,_D_whenCondition2,_D_whenCondition3,booleanPulse1.Twidth,booleanPulse1.period,booleanPulse1.pulsStart,booleanPulse1.startTime,booleanPulse1.width,booleanPulse1.y,booleanPulse2.Twidth,booleanPulse2.period,booleanPulse2.pulsStart,booleanPulse2.startTime,booleanPulse2.width,booleanPulse2.y,integerConstant.k,integerConstant.y,integerStep.height,integerStep.offset,integerStep.startTime,integerStep.y,multiSwitch1.expr[1],multiSwitch1.expr[2],multiSwitch1.firstActiveIndex,multiSwitch1.nu,multiSwitch1.u[1],multiSwitch1.u[2],multiSwitch1.use_pre_as_default,multiSwitch1.y,multiSwitch1.y_default,product.nu,product.u[1],product.u[2],product.y,realToInteger.u,realToInteger.y,showValue.number,showValue.numberPort,showValue.showNumber,showValue.use_numberPort,showValue1.number,showValue1.numberPort,showValue1.showNumber,showValue1.use_numberPort,showValue2.number,showValue2.numberPort,showValue2.showNumber,showValue2.use_numberPort,showValue3.number,showValue3.showNumber,showValue3.use_numberPort,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,sine.y,sum.k[1],sum.k[2],sum.k[3],sum.nu,sum.u[1],sum.u[2],sum.u[3],sum.y,time,triggeredAdd.local_reset,triggeredAdd.local_set,triggeredAdd.trigger,triggeredAdd.u,triggeredAdd.use_reset,triggeredAdd.use_set,triggeredAdd.y,triggeredAdd.y_start