Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.532/2.532, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.899e-05/2.911e-05, allocations: 2.75 kB / 249.8 MB, free: 5.234 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1009, allocations: 44.5 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4721/0.573, allocations: 73.16 MB / 367.4 MB, free: 7.238 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.5734, allocations: 67.97 kB / 367.5 MB, free: 7.238 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03224/0.6056, allocations: 7.178 MB / 374.7 MB, free: 22.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.6057, allocations: 4 kB / 374.7 MB, free: 22.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.668e-05/0.6057, allocations: 3.875 kB / 374.7 MB, free: 22.5 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.001514/0.6073, allocations: 0.5609 MB / 375.3 MB, free: 22.03 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.429e-05/0.6074, allocations: 11.28 kB / 375.3 MB, free: 22.03 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.6076, allocations: 34.89 kB / 375.3 MB, free: 22.01 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008213/0.6084, allocations: 251.2 kB / 375.5 MB, free: 21.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.6086, allocations: 44.94 kB / 375.6 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.32e-05/0.6087, allocations: 11.72 kB / 375.6 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006891/0.6094, allocations: 155.2 kB / 375.7 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007832/0.6102, allocations: 208.1 kB / 376 MB, free: 21.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.6103, allocations: 0 / 376 MB, free: 21.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.979e-05/0.6103, allocations: 7.125 kB / 376 MB, free: 21.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.6104, allocations: 3.875 kB / 376 MB, free: 21.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003043/0.6134, allocations: 0.7167 MB / 376.7 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007796/0.6143, allocations: 250 kB / 376.9 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006214/0.6149, allocations: 194.1 kB / 377.1 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-05/0.615, allocations: 7.875 kB / 377.1 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007816/0.6158, allocations: 286 kB / 377.4 MB, free: 21.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 5.48e-06/0.6158, allocations: 3.938 kB / 377.4 MB, free: 21.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.001267/0.6171, allocations: 320.1 kB / 377.7 MB, free: 21.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.6173, allocations: 228.5 kB / 377.9 MB, free: 20.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.6176, allocations: 156.5 kB / 378.1 MB, free: 20.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.883e-05/0.6177, allocations: 33.33 kB / 378.1 MB, free: 20.74 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.6178, allocations: 132.8 kB / 378.3 MB, free: 20.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.618, allocations: 76.7 kB / 378.3 MB, free: 20.6 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.618, allocations: 0 / 378.3 MB, free: 20.6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.6183, allocations: 335.6 kB / 378.7 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/0.6186, allocations: 72.77 kB / 378.7 MB, free: 20.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/0.6191, allocations: 183.2 kB / 378.9 MB, free: 20.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/0.6195, allocations: 105.7 kB / 379 MB, free: 20.15 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.6195, allocations: 0 / 379 MB, free: 20.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007685/0.6203, allocations: 290.5 kB / 379.3 MB, free: 20.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.055e-05/0.6204, allocations: 67.73 kB / 379.4 MB, free: 20.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.6204, allocations: 3.844 kB / 379.4 MB, free: 20.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/0.6205, allocations: 3.969 kB / 379.4 MB, free: 20.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.6208, allocations: 45.19 kB / 379.4 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.6209, allocations: 12.06 kB / 379.4 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/0.6213, allocations: 26.05 kB / 379.5 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.6213, allocations: 22.47 kB / 379.5 MB, free: 20 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.0002965/0.6216, allocations: 210.5 kB / 379.7 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008231/0.6225, allocations: 352.4 kB / 380 MB, free: 19.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.6225, allocations: 27.19 kB / 380 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.993e-05/0.6226, allocations: 25.36 kB / 380.1 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.6226, allocations: 3.812 kB / 380.1 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.6227, allocations: 0 / 380.1 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.6227, allocations: 3.938 kB / 380.1 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.6242, allocations: 0.8002 MB / 380.9 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.6243, allocations: 3.875 kB / 380.9 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.6245, allocations: 23.23 kB / 380.9 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.6245, allocations: 0 / 380.9 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.6246, allocations: 3.875 kB / 380.9 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.83e-06/0.6246, allocations: 3.875 kB / 380.9 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.6246, allocations: 3.938 kB / 380.9 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008754/0.6255, allocations: 481.9 kB / 381.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.6256, allocations: 92.73 kB / 381.5 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.6257, allocations: 18.16 kB / 381.5 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/0.6262, allocations: 23.36 kB / 381.5 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.6263, allocations: 29.3 kB / 381.5 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/0.6264, allocations: 10.56 kB / 381.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001433/0.6265, allocations: 122 kB / 381.7 MB, free: 18.9 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6266, allocations: 0 / 381.7 MB, free: 18.9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006357/0.6272, allocations: 69.77 kB / 381.7 MB, free: 18.89 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.001398/0.6286, allocations: 1.093 MB / 382.8 MB, free: 18.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007615/0.6294, allocations: 375.7 kB / 383.2 MB, free: 17.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6294, allocations: 256 / 383.2 MB, free: 17.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005634/0.63, allocations: 369.7 kB / 383.6 MB, free: 17.78 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.6312, allocations: 112.1 kB / 383.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.6327, allocations: 421.5 kB / 384.1 MB, free: 17.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.6331, allocations: 0.7514 MB / 384.8 MB, free: 16.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003388/0.6335, allocations: 52.77 kB / 384.9 MB, free: 16.78 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.6337, allocations: 71.47 kB / 385 MB, free: 16.76 MB / 314.7 MB Notification: Performance of SimCode: time 1.343e-06/0.6337, allocations: 0 / 385 MB, free: 16.76 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05132/0.685, allocations: 5.34 MB / 390.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003026/0.6854, allocations: 157.8 kB / 390.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.179/3.864, allocations: 3.938 kB / 390.5 MB, free: 13.98 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat does not exist to compare? outputFormat=mat