Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.373/2.373, allocations: 205.8 MB / 218.9 MB, free: 9.355 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.304e-05/4.314e-05, allocations: 4 kB / 269.4 MB, free: 6.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.13, allocations: 47.58 MB / 317 MB, free: 6.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5773/0.7074, allocations: 77.3 MB / 394.3 MB, free: 10.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/0.7078, allocations: 65.22 kB / 394.4 MB, free: 10.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03998/0.7478, allocations: 6.264 MB / 400.7 MB, free: 4.961 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.7478, allocations: 0 / 400.7 MB, free: 4.961 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.201e-05/0.7479, allocations: 8 kB / 400.7 MB, free: 4.953 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002024/0.7499, allocations: 0.6153 MB / 401.3 MB, free: 4.312 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.968e-05/0.75, allocations: 8.031 kB / 401.3 MB, free: 4.305 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001834/0.7502, allocations: 83.47 kB / 401.4 MB, free: 4.234 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.7504, allocations: 47.44 kB / 401.4 MB, free: 4.188 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007901/0.7513, allocations: 304.6 kB / 401.7 MB, free: 3.883 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.841e-05/0.7513, allocations: 19.78 kB / 401.7 MB, free: 3.871 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.7514, allocations: 33.44 kB / 401.8 MB, free: 3.852 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.7527, allocations: 326.2 kB / 402.1 MB, free: 3.613 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.7527, allocations: 0 / 402.1 MB, free: 3.613 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.801e-05/0.7528, allocations: 20.44 kB / 402.1 MB, free: 3.605 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.7529, allocations: 8.766 kB / 402.1 MB, free: 3.598 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.7539, allocations: 234.9 kB / 402.3 MB, free: 3.445 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004733/0.7587, allocations: 1.428 MB / 403.8 MB, free: 2.141 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007538/0.7595, allocations: 206.4 kB / 404 MB, free: 2.004 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003595/0.7599, allocations: 94.92 kB / 404.1 MB, free: 1.941 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.7599, allocations: 0 / 404.1 MB, free: 1.941 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.76, allocations: 38.5 kB / 404.1 MB, free: 1.898 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 2.935e-06/0.76, allocations: 0 / 404.1 MB, free: 1.898 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.001184/0.7612, allocations: 270.5 kB / 404.4 MB, free: 1.684 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.7613, allocations: 59.41 kB / 404.4 MB, free: 1.613 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006909/0.762, allocations: 268.5 kB / 404.7 MB, free: 1.391 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.106e-05/0.7621, allocations: 33.64 kB / 404.7 MB, free: 1.355 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.7623, allocations: 206.3 kB / 404.9 MB, free: 1.195 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.7625, allocations: 85.94 kB / 405 MB, free: 1.125 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.7625, allocations: 0 / 405 MB, free: 1.125 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.7627, allocations: 342.4 kB / 405.3 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/0.7631, allocations: 59.31 kB / 405.4 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.7634, allocations: 110.9 kB / 405.5 MB, free: 0.668 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003494/0.7638, allocations: 74.91 kB / 405.6 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.7638, allocations: 0 / 405.6 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001534/0.7654, allocations: 332.4 kB / 405.9 MB, free: 360 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.7654, allocations: 4 kB / 405.9 MB, free: 356 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.7655, allocations: 0 / 405.9 MB, free: 356 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009091/0.7664, allocations: 116.8 kB / 406 MB, free: 256 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/0.7669, allocations: 31.86 kB / 406 MB, free: 228 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007407/0.7743, allocations: 4.439 MB / 410.5 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006288/0.775, allocations: 27.12 kB / 410.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.673e-05/0.7751, allocations: 15.61 kB / 410.5 MB, free: 11.61 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002151/0.7753, allocations: 123 kB / 410.6 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.7755, allocations: 31.62 kB / 410.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.7757, allocations: 38.36 kB / 410.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.7757, allocations: 0 / 410.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.7757, allocations: 0 / 410.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.7757, allocations: 7.984 kB / 410.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009534/0.7767, allocations: 373.6 kB / 411.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.7767, allocations: 3.984 kB / 411.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/0.7771, allocations: 31.11 kB / 411.1 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008205/0.7779, allocations: 112.6 kB / 411.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/0.778, allocations: 7.234 kB / 411.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007223/0.7852, allocations: 4.425 MB / 415.7 MB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.7853, allocations: 7.875 kB / 415.7 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.7865, allocations: 371.8 kB / 416 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003063/0.7868, allocations: 133.4 kB / 416.2 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.264e-05/0.7869, allocations: 4 kB / 416.2 MB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000615/0.7876, allocations: 26.11 kB / 416.2 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.7878, allocations: 23.2 kB / 416.2 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/0.7878, allocations: 8 kB / 416.2 MB, free: 5.902 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004813/0.7883, allocations: 215.9 kB / 416.4 MB, free: 5.738 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.31e-07/0.7883, allocations: 0 / 416.4 MB, free: 5.738 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001608/0.79, allocations: 117.9 kB / 416.6 MB, free: 5.633 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001535/0.7915, allocations: 0.9093 MB / 417.5 MB, free: 4.762 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.793, allocations: 0.5092 MB / 418 MB, free: 4.293 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.793, allocations: 0 / 418 MB, free: 4.293 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009087/0.794, allocations: 445.2 kB / 418.4 MB, free: 3.875 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007792/0.7948, allocations: 50.5 kB / 418.5 MB, free: 3.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.7971, allocations: 473.8 kB / 418.9 MB, free: 3.391 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006296/0.7977, allocations: 0.8028 MB / 419.7 MB, free: 2.559 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003216/0.7981, allocations: 30.95 kB / 419.7 MB, free: 2.527 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/0.7984, allocations: 115.2 kB / 419.9 MB, free: 2.492 MB / 330.7 MB Notification: Performance of SimCode: time 1.713e-06/0.7984, allocations: 0 / 419.9 MB, free: 2.492 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0481/0.8465, allocations: 7.524 MB / 427.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003158/0.8469, allocations: 186.4 kB / 427.6 MB, free: 10.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.796/3.643, allocations: 0 / 427.6 MB, free: 10.82 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat does not exist to compare? outputFormat=mat