Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.207/2.207, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.167e-05/3.214e-05, allocations: 4 kB / 255.5 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1341, allocations: 44.51 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4532/0.5873, allocations: 73.06 MB / 373 MB, free: 12.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.5877, allocations: 67.06 kB / 373.1 MB, free: 12.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02668/0.6144, allocations: 6.178 MB / 379.3 MB, free: 11.63 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.6144, allocations: 0 / 379.3 MB, free: 11.63 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.541e-05/0.6145, allocations: 17.12 kB / 379.3 MB, free: 11.62 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.001602/0.6161, allocations: 0.611 MB / 379.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.74e-05/0.6162, allocations: 10.92 kB / 379.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001855/0.6164, allocations: 66.92 kB / 380 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.6166, allocations: 51.27 kB / 380 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006752/0.6173, allocations: 297.5 kB / 380.3 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.6173, allocations: 24.3 kB / 380.3 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.278e-05/0.6174, allocations: 30.12 kB / 380.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009378/0.6184, allocations: 335.1 kB / 380.7 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.6184, allocations: 0 / 380.7 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.264e-05/0.6185, allocations: 12.97 kB / 380.7 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.6185, allocations: 8.156 kB / 380.7 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007217/0.6192, allocations: 232.6 kB / 381 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003273/0.6225, allocations: 1.443 MB / 382.4 MB, free: 9.984 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005619/0.6231, allocations: 211.7 kB / 382.6 MB, free: 9.949 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/0.6234, allocations: 93.34 kB / 382.7 MB, free: 9.941 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.6235, allocations: 2.562 kB / 382.7 MB, free: 9.941 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.6235, allocations: 34.67 kB / 382.7 MB, free: 9.902 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 3.377e-06/0.6235, allocations: 4 kB / 382.7 MB, free: 9.898 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008022/0.6244, allocations: 262.7 kB / 383 MB, free: 9.824 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.6244, allocations: 58.5 kB / 383 MB, free: 9.758 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004404/0.6249, allocations: 268.5 kB / 383.3 MB, free: 9.652 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.6249, allocations: 29.58 kB / 383.3 MB, free: 9.621 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.625, allocations: 211.6 kB / 383.5 MB, free: 9.492 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.973e-05/0.6251, allocations: 76.38 kB / 383.6 MB, free: 9.445 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.6252, allocations: 8.531 kB / 383.6 MB, free: 9.441 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.236e-05/0.6253, allocations: 338.2 kB / 384 MB, free: 9.129 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.6255, allocations: 63.81 kB / 384 MB, free: 9.129 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.6257, allocations: 102.6 kB / 384.1 MB, free: 9.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.626, allocations: 72.38 kB / 384.2 MB, free: 9.082 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.626, allocations: 9.219 kB / 384.2 MB, free: 9.074 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001115/0.6271, allocations: 325 kB / 384.5 MB, free: 8.988 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.6272, allocations: 5.938 kB / 384.5 MB, free: 8.988 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.6272, allocations: 5.359 kB / 384.5 MB, free: 8.984 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006971/0.6279, allocations: 121.5 kB / 384.6 MB, free: 8.953 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.6283, allocations: 32.98 kB / 384.7 MB, free: 8.953 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005066/0.6333, allocations: 4.432 MB / 389.1 MB, free: 20.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005092/0.6339, allocations: 35 kB / 389.1 MB, free: 20.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.634, allocations: 8.406 kB / 389.2 MB, free: 20.88 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.0001504/0.6341, allocations: 120.2 kB / 389.3 MB, free: 20.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.675e-05/0.6342, allocations: 32.12 kB / 389.3 MB, free: 20.76 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.6343, allocations: 42.38 kB / 389.3 MB, free: 20.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.6343, allocations: 6.812 kB / 389.3 MB, free: 20.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6344, allocations: 1.375 kB / 389.4 MB, free: 20.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.6344, allocations: 0 / 389.4 MB, free: 20.74 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006363/0.635, allocations: 375.9 kB / 389.7 MB, free: 20.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.635, allocations: 0 / 389.7 MB, free: 20.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.6353, allocations: 22.16 kB / 389.7 MB, free: 20.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005398/0.6359, allocations: 118.1 kB / 389.9 MB, free: 20.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.6359, allocations: 8.75 kB / 389.9 MB, free: 20.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004973/0.6409, allocations: 4.433 MB / 394.3 MB, free: 16.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6409, allocations: 0 / 394.3 MB, free: 16.46 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008371/0.6418, allocations: 372.3 kB / 394.7 MB, free: 16.28 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.642, allocations: 131.1 kB / 394.8 MB, free: 16.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.014e-05/0.6421, allocations: 4.688 kB / 394.8 MB, free: 16.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004401/0.6426, allocations: 29.72 kB / 394.8 MB, free: 16.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.6427, allocations: 27.86 kB / 394.8 MB, free: 16.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.6428, allocations: 7.469 kB / 394.9 MB, free: 16.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003727/0.6431, allocations: 216.7 kB / 395.1 MB, free: 16.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6432, allocations: 0 / 395.1 MB, free: 16.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001065/0.6442, allocations: 110.6 kB / 395.2 MB, free: 16.06 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.001128/0.6454, allocations: 0.9093 MB / 396.1 MB, free: 15.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.6464, allocations: 0.5175 MB / 396.6 MB, free: 15.03 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6465, allocations: 0 / 396.6 MB, free: 15.03 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005967/0.6471, allocations: 441 kB / 397 MB, free: 14.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006525/0.6477, allocations: 55.47 kB / 397.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.6493, allocations: 474.5 kB / 397.6 MB, free: 14.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.6497, allocations: 0.8037 MB / 398.4 MB, free: 13.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001942/0.6499, allocations: 29.69 kB / 398.4 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.6501, allocations: 111.4 kB / 398.5 MB, free: 13.76 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6501, allocations: 0 / 398.5 MB, free: 13.76 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03836/0.6885, allocations: 7.512 MB / 406 MB, free: 13.05 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003139/0.6889, allocations: 198.3 kB / 406.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.854/3.543, allocations: 0 / 406.2 MB, free: 12.82 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat does not exist to compare? outputFormat=mat