Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.035/2.035, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.011e-05/3.017e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1145, allocations: 44.51 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4607/0.5752, allocations: 73.82 MB / 373.8 MB, free: 12.42 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.5756, allocations: 66.14 kB / 373.9 MB, free: 12.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02928/0.6049, allocations: 7.221 MB / 381.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6049, allocations: 4.125 kB / 381.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.978e-05/0.605, allocations: 8.219 kB / 381.1 MB, free: 11.67 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.00104/0.606, allocations: 0.5595 MB / 381.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.6061, allocations: 10.41 kB / 381.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.831e-05/0.6062, allocations: 55.52 kB / 381.7 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.349e-05/0.6063, allocations: 37.2 kB / 381.8 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000494/0.6068, allocations: 255.5 kB / 382 MB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.999e-05/0.6069, allocations: 51.73 kB / 382.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.125e-05/0.6069, allocations: 23.22 kB / 382.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005645/0.6075, allocations: 224 kB / 382.3 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.6075, allocations: 1.469 kB / 382.3 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.6076, allocations: 6.375 kB / 382.3 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.6076, allocations: 8.031 kB / 382.3 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.6081, allocations: 164.5 kB / 382.5 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.6099, allocations: 0.768 MB / 383.2 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005473/0.6105, allocations: 253.1 kB / 383.5 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004434/0.6109, allocations: 203.6 kB / 383.7 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.611, allocations: 3.031 kB / 383.7 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005077/0.6115, allocations: 302.8 kB / 384 MB, free: 10.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 2.665e-06/0.6115, allocations: 0 / 384 MB, free: 10.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008733/0.6124, allocations: 395.3 kB / 384.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.73e-05/0.6125, allocations: 233.3 kB / 384.6 MB, free: 9.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.6127, allocations: 171.5 kB / 384.8 MB, free: 9.805 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.6128, allocations: 40.28 kB / 384.8 MB, free: 9.773 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.395e-05/0.6129, allocations: 131.8 kB / 384.9 MB, free: 9.672 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.528e-05/0.613, allocations: 79.06 kB / 385 MB, free: 9.629 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.613, allocations: 7.438 kB / 385 MB, free: 9.629 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.041e-05/0.6131, allocations: 334.4 kB / 385.4 MB, free: 9.316 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.6134, allocations: 87.75 kB / 385.4 MB, free: 9.312 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.6137, allocations: 187.9 kB / 385.6 MB, free: 9.191 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.614, allocations: 168.1 kB / 385.8 MB, free: 9.117 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.614, allocations: 4.703 kB / 385.8 MB, free: 9.117 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000821/0.6149, allocations: 369.6 kB / 386.2 MB, free: 8.996 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/0.6149, allocations: 61.23 kB / 386.2 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.6149, allocations: 7.812 kB / 386.2 MB, free: 8.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.615, allocations: 4.969 kB / 386.2 MB, free: 8.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.6153, allocations: 52.22 kB / 386.3 MB, free: 8.918 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.6154, allocations: 7.891 kB / 386.3 MB, free: 8.914 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.6157, allocations: 32.12 kB / 386.3 MB, free: 8.906 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.6158, allocations: 18.19 kB / 386.3 MB, free: 8.906 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.dA_Converter.y,dA_Converter.y,$PRE.aD_Converter.z,aD_Converter.z,$PRE.aD_Converter.y[1],aD_Converter.y[1],dA_Converter.x[1],$PRE.aD_Converter.y[2],aD_Converter.y[2],dA_Converter.x[2],$PRE.aD_Converter.y[3],aD_Converter.y[3],dA_Converter.x[3],$PRE.aD_Converter.y[4],aD_Converter.y[4],dA_Converter.x[4],$PRE.aD_Converter.y[5],aD_Converter.y[5],dA_Converter.x[5],$PRE.aD_Converter.y[6],aD_Converter.y[6],dA_Converter.x[6],$PRE.aD_Converter.y[7],aD_Converter.y[7],dA_Converter.x[7],$whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.trig,$PRE.pulse.T0,pulse.T0,$PRE.pulse.np,pulse.np,pulse.sampling,$PRE.dA_Converter.vout,dA_Converter.vout) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * 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.0002351/0.616, allocations: 218.1 kB / 386.5 MB, free: 8.727 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.39e-05/0.6161, allocations: 33.5 kB / 386.6 MB, free: 8.711 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.524e-05/0.6162, allocations: 23.05 kB / 386.6 MB, free: 8.703 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.6162, allocations: 6.766 kB / 386.6 MB, free: 8.699 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.6162, allocations: 0 / 386.6 MB, free: 8.699 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.6162, allocations: 4.328 kB / 386.6 MB, free: 8.699 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.6179, allocations: 0.9604 MB / 387.6 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.6179, allocations: 0 / 387.6 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.6182, allocations: 19.62 kB / 387.6 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.6182, allocations: 1.281 kB / 387.6 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.419e-05/0.6183, allocations: 11.08 kB / 387.6 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.6183, allocations: 5.188 kB / 387.6 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.6183, allocations: 1.375 kB / 387.6 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.6196, allocations: 0.5758 MB / 388.2 MB, free: 7.988 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.6198, allocations: 100.1 kB / 388.3 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.6199, allocations: 16.45 kB / 388.3 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005341/0.6204, allocations: 27.25 kB / 388.3 MB, free: 7.879 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.6206, allocations: 31.09 kB / 388.4 MB, free: 7.871 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.547e-05/0.6207, allocations: 13.66 kB / 388.4 MB, free: 7.871 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001836/0.6209, allocations: 131 kB / 388.5 MB, free: 7.793 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6209, allocations: 0 / 388.5 MB, free: 7.793 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008944/0.6218, allocations: 77.72 kB / 388.6 MB, free: 7.789 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: 24 ($whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.y[1],aD_Converter.y[2],aD_Converter.y[3],aD_Converter.y[4],aD_Converter.y[5],aD_Converter.y[6],aD_Converter.y[7],aD_Converter.trig,aD_Converter.z,pulse.T0,pulse.np,pulse.sampling,dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],dA_Converter.vout,dA_Converter.y) * Number of discrete states: 13 (pulse.np,aD_Converter.y[7],aD_Converter.y[6],aD_Converter.y[5],aD_Converter.y[4],aD_Converter.y[3],aD_Converter.y[2],aD_Converter.y[1],aD_Converter.z,$whenCondition1,dA_Converter.vout,dA_Converter.y,$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * 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.001525/0.6233, allocations: 1.217 MB / 389.8 MB, free: 6.945 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008949/0.6243, allocations: 385.5 kB / 390.2 MB, free: 6.805 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6243, allocations: 1.375 kB / 390.2 MB, free: 6.805 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006597/0.625, allocations: 380.7 kB / 390.5 MB, free: 6.672 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.6262, allocations: 118.1 kB / 390.7 MB, free: 6.668 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.6281, allocations: 430.8 kB / 391.1 MB, free: 6.504 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006385/0.6288, allocations: 0.749 MB / 391.8 MB, free: 21.8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003979/0.6292, allocations: 58.61 kB / 391.9 MB, free: 21.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.6294, allocations: 70.16 kB / 391.9 MB, free: 21.78 MB / 330.7 MB Notification: Performance of SimCode: time 3.497e-06/0.6294, allocations: 0 / 391.9 MB, free: 21.78 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.078/0.7075, allocations: 5.773 MB / 397.7 MB, free: 21.2 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/0.7078, allocations: 150.1 kB / 397.9 MB, free: 20.98 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.775/3.483, allocations: 0 / 397.9 MB, free: 20.98 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat does not exist to compare? outputFormat=mat