Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.706/1.706, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.155e-05/3.163e-05, allocations: 11.98 kB / 219.6 MB, free: 6.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2572, allocations: 38.75 MB / 258.3 MB, free: 12.21 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.3792, allocations: 68.07 MB / 326.4 MB, free: 9.723 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.3795, allocations: 67.91 kB / 326.5 MB, free: 9.656 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02957/0.4091, allocations: 7.23 MB / 333.7 MB, free: 2.414 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4091, allocations: 0 / 333.7 MB, free: 2.414 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.033e-05/0.4092, allocations: 4 kB / 333.7 MB, free: 2.41 MB / 282.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.001118/0.4103, allocations: 0.5688 MB / 334.3 MB, free: 1.785 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4103, allocations: 11.97 kB / 334.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.878e-05/0.4105, allocations: 27.72 kB / 334.3 MB, free: 1.746 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000583/0.411, allocations: 254.6 kB / 334.6 MB, free: 1.457 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.4112, allocations: 49.47 kB / 334.6 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/0.4112, allocations: 16 kB / 334.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004358/0.4117, allocations: 148.4 kB / 334.8 MB, free: 1.242 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000512/0.4122, allocations: 204.2 kB / 335 MB, free: 1.035 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.4122, allocations: 0 / 335 MB, free: 1.035 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.4123, allocations: 3.984 kB / 335 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.4123, allocations: 4 kB / 335 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.4142, allocations: 0.7292 MB / 335.7 MB, free: 252 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005385/0.4148, allocations: 247.6 kB / 336 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004335/0.4152, allocations: 193.4 kB / 336.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.4153, allocations: 3.938 kB / 336.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005176/0.4158, allocations: 285.9 kB / 336.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 3.116e-06/0.4158, allocations: 0 / 336.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.000822/0.4167, allocations: 314.9 kB / 336.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.4168, allocations: 229.6 kB / 337 MB, free: 14.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.417, allocations: 157.4 kB / 337.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/0.4171, allocations: 41.62 kB / 337.2 MB, free: 14.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.4172, allocations: 128.6 kB / 337.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.721e-05/0.4173, allocations: 75 kB / 337.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.917e-05/0.4174, allocations: 0 / 337.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4175, allocations: 334.8 kB / 337.7 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.4177, allocations: 84.77 kB / 337.8 MB, free: 14.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.418, allocations: 173.6 kB / 337.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.4183, allocations: 107.8 kB / 338 MB, free: 13.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.4183, allocations: 0 / 338 MB, free: 13.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007334/0.4191, allocations: 289 kB / 338.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.969e-05/0.4192, allocations: 63.39 kB / 338.4 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.4192, allocations: 4.125 kB / 338.4 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.4192, allocations: 12 kB / 338.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/0.4196, allocations: 39.86 kB / 338.4 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.4196, allocations: 7.984 kB / 338.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/0.4199, allocations: 27.8 kB / 338.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.42, allocations: 19.98 kB / 338.5 MB, free: 13.27 MB / 298.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.0002677/0.4203, allocations: 211.7 kB / 338.7 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008058/0.4211, allocations: 345.3 kB / 339 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/0.4212, allocations: 27.77 kB / 339.1 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.34e-05/0.4212, allocations: 23.39 kB / 339.1 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.4213, allocations: 0 / 339.1 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.4213, allocations: 4 kB / 339.1 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.4213, allocations: 3.984 kB / 339.1 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.4228, allocations: 0.8034 MB / 339.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.4228, allocations: 4 kB / 339.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.423, allocations: 27.92 kB / 339.9 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.423, allocations: 0 / 339.9 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.6e-05/0.4231, allocations: 12.03 kB / 339.9 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.4231, allocations: 4 kB / 339.9 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4231, allocations: 0 / 339.9 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008822/0.424, allocations: 470.8 kB / 340.4 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.4242, allocations: 120.8 kB / 340.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.857e-05/0.4243, allocations: 16.17 kB / 340.5 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.4247, allocations: 27.98 kB / 340.6 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.4249, allocations: 31.88 kB / 340.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.4249, allocations: 11.95 kB / 340.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001328/0.425, allocations: 120.3 kB / 340.7 MB, free: 10.92 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4251, allocations: 0 / 340.7 MB, free: 10.92 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005535/0.4256, allocations: 75.83 kB / 340.8 MB, free: 10.85 MB / 298.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.001332/0.427, allocations: 1.092 MB / 341.9 MB, free: 9.727 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007488/0.4277, allocations: 382.8 kB / 342.3 MB, free: 9.328 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4278, allocations: 0 / 342.3 MB, free: 9.328 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005354/0.4283, allocations: 366.7 kB / 342.6 MB, free: 8.945 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009751/0.4293, allocations: 112.2 kB / 342.7 MB, free: 8.836 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.4307, allocations: 409.2 kB / 343.1 MB, free: 8.402 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.4312, allocations: 0.7493 MB / 343.9 MB, free: 7.625 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002959/0.4315, allocations: 62 kB / 343.9 MB, free: 7.562 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.4317, allocations: 71.34 kB / 344 MB, free: 7.492 MB / 298.7 MB Notification: Performance of SimCode: time 9.31e-07/0.4317, allocations: 3.938 kB / 344 MB, free: 7.488 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04801/0.4797, allocations: 5.352 MB / 349.4 MB, free: 2.168 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003238/0.4801, allocations: 144.3 kB / 349.5 MB, free: 1.973 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/2.856, allocations: 0 / 349.5 MB, free: 1.973 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat does not exist to compare? outputFormat=mat