Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.RealNetwork1,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_RealNetwork1",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.312/2.312, allocations: 195 MB / 202.9 MB, free: 6.629 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.574e-05/2.594e-05, allocations: 4.125 kB / 249.7 MB, free: 5.297 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1155, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5276/0.6431, allocations: 71.86 MB / 366.1 MB, free: 7.195 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.6435, allocations: 67.44 kB / 366.2 MB, free: 7.195 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0147/0.6582, allocations: 2.58 MB / 368.8 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.6582, allocations: 0 / 368.8 MB, free: 22.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.666e-05/0.6583, allocations: 15.78 kB / 368.8 MB, free: 22.71 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001085/0.6594, allocations: 472.4 kB / 369.2 MB, free: 22.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.6595, allocations: 11.69 kB / 369.3 MB, free: 22.31 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.369e-05/0.6595, allocations: 41.09 kB / 369.3 MB, free: 22.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.757e-05/0.6596, allocations: 21.84 kB / 369.3 MB, free: 22.26 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.66, allocations: 231.7 kB / 369.5 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.66, allocations: 7.906 kB / 369.5 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.6601, allocations: 7.625 kB / 369.6 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003917/0.6605, allocations: 108.7 kB / 369.7 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004408/0.661, allocations: 162.4 kB / 369.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.661, allocations: 0 / 369.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.661, allocations: 5.266 kB / 369.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.051e-05/0.6611, allocations: 7.75 kB / 369.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.6628, allocations: 0.751 MB / 370.6 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.6633, allocations: 130.9 kB / 370.7 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.6635, allocations: 65.39 kB / 370.8 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.403e-05/0.6636, allocations: 6.594 kB / 370.8 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003221/0.6639, allocations: 134.7 kB / 370.9 MB, free: 21.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 3.005e-06/0.6639, allocations: 0 / 370.9 MB, free: 21.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005997/0.6645, allocations: 162.5 kB / 371.1 MB, free: 21.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.6646, allocations: 79.61 kB / 371.2 MB, free: 21.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.6649, allocations: 167.7 kB / 371.3 MB, free: 21.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.6649, allocations: 27.2 kB / 371.3 MB, free: 21.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.6651, allocations: 146.6 kB / 371.5 MB, free: 20.94 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.067e-05/0.6651, allocations: 47.88 kB / 371.5 MB, free: 20.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.837e-05/0.6652, allocations: 0 / 371.5 MB, free: 20.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6653, allocations: 332.2 kB / 371.9 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.6655, allocations: 53.36 kB / 371.9 MB, free: 20.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.6658, allocations: 108.9 kB / 372 MB, free: 20.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.666, allocations: 63.25 kB / 372.1 MB, free: 20.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.666, allocations: 0 / 372.1 MB, free: 20.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006234/0.6667, allocations: 199.8 kB / 372.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.6667, allocations: 5.312 kB / 372.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.6667, allocations: 2.688 kB / 372.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.6668, allocations: 2.656 kB / 372.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/0.6672, allocations: 37.19 kB / 372.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.6672, allocations: 2.922 kB / 372.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/0.6676, allocations: 35.73 kB / 372.4 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.985e-05/0.6677, allocations: 6.531 kB / 372.4 MB, free: 20.45 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.multiSwitch.u[1],$PRE.multiSwitch.u[2],$whenCondition2,$whenCondition1,$PRE.booleanPulse1.pulsStart,booleanPulse1.pulsStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,$PRE.booleanPulse2.pulsStart,booleanPulse2.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001732/0.6679, allocations: 125 kB / 372.5 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.6679, allocations: 15.69 kB / 372.5 MB, free: 20.33 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000672/0.6686, allocations: 183.1 kB / 372.7 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.6687, allocations: 2.688 kB / 372.7 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.6687, allocations: 0 / 372.7 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.6687, allocations: 8.516 kB / 372.7 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004327/0.6691, allocations: 230.2 kB / 372.9 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.6692, allocations: 1.344 kB / 372.9 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002953/0.6695, allocations: 28.22 kB / 372.9 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.6695, allocations: 1.312 kB / 372.9 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.6695, allocations: 1.406 kB / 372.9 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.6696, allocations: 5.219 kB / 373 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/0.6696, allocations: 0 / 373 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000536/0.6701, allocations: 210.5 kB / 373.2 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.029e-05/0.6702, allocations: 102.7 kB / 373.3 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.853e-05/0.6703, allocations: 0 / 373.3 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.6706, allocations: 21.31 kB / 373.3 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.6707, allocations: 24.44 kB / 373.3 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.6708, allocations: 7.812 kB / 373.3 MB, free: 19.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001806/0.671, allocations: 131.9 kB / 373.4 MB, free: 19.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.671, allocations: 0 / 373.4 MB, free: 19.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004711/0.6715, allocations: 34.06 kB / 373.5 MB, free: 19.8 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: 7 ($whenCondition2,$whenCondition1,booleanPulse1.pulsStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,booleanPulse2.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * 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.0009832/0.6725, allocations: 0.8193 MB / 374.3 MB, free: 19.1 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004853/0.673, allocations: 134.5 kB / 374.4 MB, free: 19.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.673, allocations: 0 / 374.4 MB, free: 19.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.6732, allocations: 71.05 kB / 374.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005552/0.6738, allocations: 32.09 kB / 374.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.675, allocations: 302.7 kB / 374.8 MB, free: 18.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.6754, allocations: 0.7398 MB / 375.6 MB, free: 18.22 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002586/0.6757, allocations: 44.05 kB / 375.6 MB, free: 18.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.6758, allocations: 65.88 kB / 375.7 MB, free: 18.2 MB / 314.7 MB Notification: Performance of SimCode: time 1.342e-06/0.6759, allocations: 0 / 375.7 MB, free: 18.2 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06633/0.7422, allocations: 3.289 MB / 379 MB, free: 17.99 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004013/0.7427, allocations: 126.4 kB / 379.1 MB, free: 17.8 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.051/3.793, allocations: 0 / 379.1 MB, free: 17.8 MB / 314.7 MB "" Variables in the reference:time,multiSwitch.u[1],multiSwitch.u[2] Variables in the result:_D_whenCondition1,_D_whenCondition2,add.k[1],add.k[2],add.nu,add.significantDigits,add.u[1],add.u[2],add.y,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,linearDependency1.k1,linearDependency1.k2,linearDependency1.u1,linearDependency1.u2,linearDependency1.y,linearDependency1.y0,minMax.nu,minMax.u[1],minMax.u[2],minMax.yMax,minMax.yMin,multiSwitch.expr[1],multiSwitch.expr[2],multiSwitch.firstActiveIndex,multiSwitch.nu,multiSwitch.precision,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.y,multiSwitch.y_default,product.nu,product.significantDigits,product.u[1],product.u[2],product.y,showValue.number,showValue.numberPort,showValue.showNumber,showValue.significantDigits,showValue.use_numberPort,showValue1.number,showValue1.numberPort,showValue1.showNumber,showValue1.significantDigits,showValue1.use_numberPort,showValue3.number,showValue3.showNumber,showValue3.significantDigits,showValue3.use_numberPort,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,sine.y,time