Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.017/2.017, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.679e-05/3.711e-05, allocations: 2.031 kB / 292.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1117, allocations: 50.42 MB / 342.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5369/0.6486, allocations: 79.67 MB / 422.3 MB, free: 14.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/0.649, allocations: 72.89 kB / 422.4 MB, free: 14.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03077/0.6798, allocations: 7.224 MB / 429.6 MB, free: 8.156 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.6798, allocations: 0 / 429.6 MB, free: 8.156 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.6799, allocations: 8 kB / 429.6 MB, free: 8.148 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001146/0.681, allocations: 0.5899 MB / 430.2 MB, free: 7.516 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.6811, allocations: 8.031 kB / 430.2 MB, free: 7.508 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.6812, allocations: 66.72 kB / 430.3 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.428e-05/0.6813, allocations: 27.72 kB / 430.3 MB, free: 7.418 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005968/0.6819, allocations: 250.4 kB / 430.6 MB, free: 7.145 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.562e-05/0.682, allocations: 51.14 kB / 430.6 MB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.485e-05/0.6821, allocations: 22.89 kB / 430.6 MB, free: 7.078 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005942/0.6827, allocations: 227.5 kB / 430.8 MB, free: 6.914 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.6827, allocations: 0 / 430.8 MB, free: 6.914 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.871e-05/0.6828, allocations: 11.06 kB / 430.9 MB, free: 6.906 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.6828, allocations: 4 kB / 430.9 MB, free: 6.902 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004484/0.6833, allocations: 164.6 kB / 431 MB, free: 6.793 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.6853, allocations: 0.7604 MB / 431.8 MB, free: 6.094 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005929/0.6859, allocations: 257.8 kB / 432 MB, free: 5.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004506/0.6864, allocations: 207.1 kB / 432.2 MB, free: 5.777 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.6865, allocations: 4 kB / 432.2 MB, free: 5.773 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005641/0.687, allocations: 297.2 kB / 432.5 MB, free: 5.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 2.755e-06/0.687, allocations: 0 / 432.5 MB, free: 5.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.0009529/0.688, allocations: 388.5 kB / 432.9 MB, free: 5.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001698/0.6882, allocations: 237 kB / 433.1 MB, free: 4.902 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.6884, allocations: 163.1 kB / 433.3 MB, free: 4.758 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.042e-05/0.6885, allocations: 39.81 kB / 433.3 MB, free: 4.719 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.6886, allocations: 133.7 kB / 433.5 MB, free: 4.602 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.6888, allocations: 77.56 kB / 433.5 MB, free: 4.539 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.6888, allocations: 3.75 kB / 433.6 MB, free: 4.539 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.6889, allocations: 337.6 kB / 433.9 MB, free: 4.211 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.6892, allocations: 93.31 kB / 434 MB, free: 4.141 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.6895, allocations: 162.7 kB / 434.1 MB, free: 3.992 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/0.6899, allocations: 200.4 kB / 434.3 MB, free: 3.812 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.575e-06/0.6899, allocations: 8.031 kB / 434.3 MB, free: 3.805 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008502/0.6908, allocations: 403.7 kB / 434.7 MB, free: 3.453 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.962e-05/0.6909, allocations: 92.09 kB / 434.8 MB, free: 3.348 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.6909, allocations: 4 kB / 434.8 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.691, allocations: 4 kB / 434.8 MB, free: 3.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/0.6913, allocations: 43.28 kB / 434.9 MB, free: 3.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.6914, allocations: 3.938 kB / 434.9 MB, free: 3.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.6917, allocations: 35.94 kB / 434.9 MB, free: 3.266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.6918, allocations: 15.69 kB / 434.9 MB, free: 3.254 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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],$PRE.aD_Converter.y[2],aD_Converter.y[2],$PRE.aD_Converter.y[3],aD_Converter.y[3],$PRE.aD_Converter.y[4],aD_Converter.y[4],$PRE.aD_Converter.y[5],aD_Converter.y[5],$PRE.aD_Converter.y[6],aD_Converter.y[6],$PRE.aD_Converter.y[7],aD_Converter.y[7],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],$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 (39): * Single equations (assignments): 36 * 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.0002872/0.6921, allocations: 220.8 kB / 435.1 MB, free: 3.035 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.715e-05/0.6922, allocations: 27.72 kB / 435.2 MB, free: 3.008 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.145e-05/0.6923, allocations: 23.89 kB / 435.2 MB, free: 2.996 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.6923, allocations: 8 kB / 435.2 MB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.6923, allocations: 0 / 435.2 MB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.6923, allocations: 4 kB / 435.2 MB, free: 2.984 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.6941, allocations: 0.9419 MB / 436.1 MB, free: 2.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.6941, allocations: 4.031 kB / 436.1 MB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.6943, allocations: 24.11 kB / 436.2 MB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/0.6944, allocations: 3.953 kB / 436.2 MB, free: 2.094 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.6944, allocations: 19.55 kB / 436.2 MB, free: 2.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.6944, allocations: 0 / 436.2 MB, free: 2.078 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.6944, allocations: 0 / 436.2 MB, free: 2.078 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.6955, allocations: 0.5745 MB / 436.8 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.901e-05/0.6956, allocations: 92.83 kB / 436.9 MB, free: 1.457 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.6957, allocations: 27.05 kB / 436.9 MB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004012/0.6962, allocations: 23.3 kB / 436.9 MB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.6963, allocations: 27.45 kB / 436.9 MB, free: 1.395 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/0.6963, allocations: 11.56 kB / 436.9 MB, free: 1.387 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00016/0.6965, allocations: 131.2 kB / 437.1 MB, free: 1.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6965, allocations: 0 / 437.1 MB, free: 1.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005407/0.6971, allocations: 77.75 kB / 437.2 MB, free: 1.203 MB / 346.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.001532/0.6986, allocations: 1.216 MB / 438.4 MB, free: 48 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.6997, allocations: 0.49 MB / 438.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.6997, allocations: 0 / 438.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005778/0.7003, allocations: 371.9 kB / 439.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.7013, allocations: 128.7 kB / 439.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.7029, allocations: 444 kB / 439.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.7033, allocations: 0.7487 MB / 440.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002936/0.7036, allocations: 54.02 kB / 440.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.7038, allocations: 67.16 kB / 440.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.7038, allocations: 0 / 440.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.7337, allocations: 5.828 MB / 446.5 MB, free: 8.258 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004153/0.7342, allocations: 163.4 kB / 446.6 MB, free: 8.031 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.479/3.213, allocations: 0 / 446.6 MB, free: 8.031 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat does not exist to compare? outputFormat=mat