Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.727/1.727, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.046e-05/5.034e-05, allocations: 8 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2851, allocations: 38.76 MB / 263.9 MB, free: 9.723 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.4129, allocations: 67.79 MB / 331.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.4132, allocations: 71.97 kB / 331.7 MB, free: 5.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02789/0.4411, allocations: 6.029 MB / 337.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4412, allocations: 0 / 337.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.358e-05/0.4413, allocations: 12 kB / 337.8 MB, free: 15.69 MB / 298.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.001573/0.4428, allocations: 0.6113 MB / 338.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.4429, allocations: 12.03 kB / 338.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001346/0.4431, allocations: 66.53 kB / 338.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.4432, allocations: 47.81 kB / 338.5 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005662/0.4438, allocations: 306.1 kB / 338.8 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.4439, allocations: 24.78 kB / 338.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.439e-05/0.4439, allocations: 35.94 kB / 338.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008724/0.4448, allocations: 331.2 kB / 339.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.4449, allocations: 0 / 339.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.365e-05/0.4449, allocations: 15.94 kB / 339.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.445, allocations: 8 kB / 339.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007222/0.4457, allocations: 233.5 kB / 339.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003593/0.4493, allocations: 1.443 MB / 340.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006338/0.45, allocations: 202.5 kB / 341.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.4503, allocations: 92.86 kB / 341.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.4504, allocations: 0 / 341.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.4504, allocations: 50.45 kB / 341.2 MB, free: 12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 2.194e-06/0.4504, allocations: 0 / 341.2 MB, free: 12 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008579/0.4513, allocations: 264.1 kB / 341.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.4514, allocations: 51.41 kB / 341.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004983/0.4519, allocations: 274.7 kB / 341.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.4519, allocations: 29.7 kB / 341.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.4521, allocations: 216.1 kB / 342 MB, free: 11.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.588e-05/0.4523, allocations: 78.89 kB / 342.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/0.4523, allocations: 8 kB / 342.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4525, allocations: 334.8 kB / 342.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.4527, allocations: 64 kB / 342.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.453, allocations: 112.2 kB / 342.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.4532, allocations: 75.91 kB / 342.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.4532, allocations: 0 / 342.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001143/0.4544, allocations: 323.5 kB / 343 MB, free: 10.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.4545, allocations: 8 kB / 343 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4545, allocations: 0 / 343 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006502/0.4551, allocations: 118.6 kB / 343.1 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003502/0.4555, allocations: 39.92 kB / 343.2 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005533/0.4611, allocations: 4.441 MB / 347.6 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004758/0.4616, allocations: 27.69 kB / 347.6 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/0.4617, allocations: 11.98 kB / 347.7 MB, free: 5.07 MB / 298.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.0001486/0.4618, allocations: 117 kB / 347.8 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.254e-05/0.4619, allocations: 35.69 kB / 347.8 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.4621, allocations: 38.95 kB / 347.8 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.4621, allocations: 4 kB / 347.8 MB, free: 4.867 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.4621, allocations: 0 / 347.8 MB, free: 4.867 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.4621, allocations: 3.953 kB / 347.8 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006713/0.4628, allocations: 377.2 kB / 348.2 MB, free: 4.445 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.4628, allocations: 0 / 348.2 MB, free: 4.445 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.4631, allocations: 27.92 kB / 348.2 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000585/0.4637, allocations: 118.9 kB / 348.4 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.4638, allocations: 7.984 kB / 348.4 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005179/0.4689, allocations: 4.418 MB / 352.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.469, allocations: 3.938 kB / 352.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008786/0.4699, allocations: 378.3 kB / 353.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000244/0.4702, allocations: 128.6 kB / 353.3 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.507e-05/0.4702, allocations: 4 kB / 353.3 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004451/0.4707, allocations: 32.03 kB / 353.3 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.4709, allocations: 28.05 kB / 353.3 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.4709, allocations: 7.938 kB / 353.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003823/0.4713, allocations: 226.1 kB / 353.6 MB, free: 14.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4713, allocations: 0 / 353.6 MB, free: 14.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001028/0.4724, allocations: 115.7 kB / 353.7 MB, free: 14.53 MB / 314.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.001236/0.4736, allocations: 0.9101 MB / 354.6 MB, free: 13.58 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.4748, allocations: 0.5126 MB / 355.1 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.4748, allocations: 0 / 355.1 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000697/0.4756, allocations: 441.1 kB / 355.5 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006117/0.4762, allocations: 45.27 kB / 355.6 MB, free: 12.53 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.478, allocations: 482.2 kB / 356.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.4785, allocations: 0.8028 MB / 356.9 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002161/0.4788, allocations: 22.98 kB / 356.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.479, allocations: 112 kB / 357 MB, free: 11.06 MB / 314.7 MB Notification: Performance of SimCode: time 3.116e-06/0.479, allocations: 0 / 357 MB, free: 11.06 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04102/0.5201, allocations: 7.529 MB / 364.5 MB, free: 3.602 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003153/0.5204, allocations: 186.1 kB / 364.7 MB, free: 3.383 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.64/3.16, allocations: 4.062 kB / 364.7 MB, free: 3.379 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat does not exist to compare? outputFormat=mat