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.069/2.069, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.118e-05/2.127e-05, allocations: 4 kB / 249.7 MB, free: 14.79 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3123, allocations: 44.48 MB / 294.2 MB, free: 14.48 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1559/0.4683, allocations: 73.17 MB / 367.4 MB, free: 8.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.4686, allocations: 67.97 kB / 367.5 MB, free: 8.703 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02906/0.4977, allocations: 7.168 MB / 374.6 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4978, allocations: 0 / 374.6 MB, free: 1.531 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.4978, allocations: 4 kB / 374.6 MB, free: 1.527 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.001127/0.4989, allocations: 0.5609 MB / 375.2 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.499, allocations: 12.03 kB / 375.2 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.4991, allocations: 39.61 kB / 375.2 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005677/0.4997, allocations: 251.3 kB / 375.5 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-05/0.4998, allocations: 41.69 kB / 375.5 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.988e-05/0.4999, allocations: 16 kB / 375.5 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004369/0.5003, allocations: 148.4 kB / 375.7 MB, free: 372 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005228/0.5009, allocations: 208 kB / 375.9 MB, free: 156 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.5009, allocations: 4 kB / 375.9 MB, free: 152 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.81e-05/0.501, allocations: 3.938 kB / 375.9 MB, free: 148 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.501, allocations: 4 kB / 375.9 MB, free: 144 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.5032, allocations: 0.7228 MB / 376.6 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005515/0.5038, allocations: 255.4 kB / 376.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004375/0.5042, allocations: 193.4 kB / 377.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.5043, allocations: 4 kB / 377.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005493/0.5048, allocations: 286 kB / 377.3 MB, free: 14.6 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 2.665e-06/0.5048, allocations: 0 / 377.3 MB, free: 14.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008163/0.5057, allocations: 317.4 kB / 377.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/0.5058, allocations: 233.6 kB / 377.9 MB, free: 14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.5061, allocations: 153.5 kB / 378 MB, free: 13.85 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.5061, allocations: 33.69 kB / 378.1 MB, free: 13.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.5062, allocations: 128.5 kB / 378.2 MB, free: 13.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.5064, allocations: 79 kB / 378.3 MB, free: 13.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.5064, allocations: 0 / 378.3 MB, free: 13.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.5066, allocations: 334.8 kB / 378.6 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.5068, allocations: 76.73 kB / 378.7 MB, free: 13.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.5071, allocations: 181.4 kB / 378.8 MB, free: 12.97 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000284/0.5074, allocations: 99.91 kB / 378.9 MB, free: 12.87 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.5074, allocations: 0 / 378.9 MB, free: 12.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007182/0.5082, allocations: 301 kB / 379.2 MB, free: 12.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.232e-05/0.5083, allocations: 67.34 kB / 379.3 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.5083, allocations: 4 kB / 379.3 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.5083, allocations: 4 kB / 379.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.5086, allocations: 44.05 kB / 379.4 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.5087, allocations: 8 kB / 379.4 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003133/0.509, allocations: 23.83 kB / 379.4 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.509, allocations: 19.92 kB / 379.4 MB, free: 12.39 MB / 330.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.0002543/0.5093, allocations: 207.4 kB / 379.6 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008022/0.5101, allocations: 357.2 kB / 380 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.328e-05/0.5102, allocations: 19.81 kB / 380 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.498e-05/0.5103, allocations: 19.41 kB / 380 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.5103, allocations: 7.938 kB / 380 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5103, allocations: 0 / 380 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.5103, allocations: 3.984 kB / 380 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.5118, allocations: 0.8076 MB / 380.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5119, allocations: 0 / 380.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.5121, allocations: 23.98 kB / 380.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.5121, allocations: 0 / 380.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.5121, allocations: 11.94 kB / 380.8 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.5122, allocations: 4 kB / 380.9 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.5122, allocations: 4.031 kB / 380.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000877/0.5131, allocations: 475 kB / 381.3 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.834e-05/0.5131, allocations: 92.92 kB / 381.4 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.5133, allocations: 19.94 kB / 381.4 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003591/0.5136, allocations: 27.97 kB / 381.5 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.5138, allocations: 27.95 kB / 381.5 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.985e-05/0.5138, allocations: 12 kB / 381.5 MB, free: 10.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001275/0.514, allocations: 119.3 kB / 381.6 MB, free: 10.06 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.514, allocations: 0 / 381.6 MB, free: 10.06 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005269/0.5145, allocations: 64.03 kB / 381.7 MB, free: 10 MB / 330.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.001321/0.5158, allocations: 1.099 MB / 382.8 MB, free: 8.871 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000726/0.5166, allocations: 382.8 kB / 383.1 MB, free: 8.473 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5166, allocations: 4.25 kB / 383.2 MB, free: 8.469 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005395/0.5172, allocations: 362.7 kB / 383.5 MB, free: 8.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009355/0.5181, allocations: 116.2 kB / 383.6 MB, free: 7.977 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.5195, allocations: 420.2 kB / 384 MB, free: 7.535 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.5199, allocations: 0.7533 MB / 384.8 MB, free: 6.758 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002839/0.5202, allocations: 58.67 kB / 384.8 MB, free: 6.699 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.5204, allocations: 67.41 kB / 384.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5204, allocations: 3.938 kB / 384.9 MB, free: 6.629 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04709/0.5675, allocations: 5.339 MB / 390.2 MB, free: 1.316 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000292/0.5678, allocations: 141.4 kB / 390.4 MB, free: 1.125 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/3.097, allocations: 3.938 kB / 390.4 MB, free: 1.121 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