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.674/1.674, allocations: 171.2 MB / 183.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.363e-05, allocations: 7.984 kB / 225.1 MB, free: 2.207 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2505, allocations: 38.77 MB / 263.9 MB, free: 9.781 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1199/0.3705, allocations: 67.78 MB / 331.6 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.3708, allocations: 67.95 kB / 331.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02609/0.3969, allocations: 6.025 MB / 337.7 MB, free: 15.78 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3969, allocations: 0 / 337.7 MB, free: 15.78 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.293e-05/0.397, allocations: 12 kB / 337.7 MB, free: 15.77 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.001317/0.3983, allocations: 0.6152 MB / 338.4 MB, free: 15.1 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.3984, allocations: 8.031 kB / 338.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001101/0.3985, allocations: 74.53 kB / 338.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.3986, allocations: 47.44 kB / 338.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005086/0.3992, allocations: 302.5 kB / 338.8 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.3992, allocations: 24.78 kB / 338.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.84e-05/0.3993, allocations: 28 kB / 338.8 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008499/0.4001, allocations: 336.7 kB / 339.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.4002, allocations: 0 / 339.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.229e-05/0.4002, allocations: 16 kB / 339.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.4003, allocations: 8 kB / 339.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006896/0.401, allocations: 239 kB / 339.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003108/0.4041, allocations: 1.439 MB / 340.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005768/0.4047, allocations: 209 kB / 341.1 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.405, allocations: 88.86 kB / 341.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.863e-05/0.405, allocations: 7.984 kB / 341.2 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.479e-05/0.4051, allocations: 38.45 kB / 341.2 MB, free: 12.08 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 3.307e-06/0.4051, allocations: 0 / 341.2 MB, free: 12.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007853/0.4059, allocations: 272.1 kB / 341.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.4059, allocations: 55.41 kB / 341.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004439/0.4064, allocations: 270.8 kB / 341.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.4065, allocations: 37.64 kB / 341.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.4066, allocations: 212.1 kB / 342 MB, free: 11.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.429e-05/0.4067, allocations: 74.89 kB / 342.1 MB, free: 11.13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/0.4068, allocations: 4 kB / 342.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4069, allocations: 338.8 kB / 342.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.4071, allocations: 67.98 kB / 342.5 MB, free: 10.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.4074, allocations: 112.2 kB / 342.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.4076, allocations: 63.97 kB / 342.7 MB, free: 10.53 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.4077, allocations: 4 kB / 342.7 MB, free: 10.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001057/0.4087, allocations: 335.5 kB / 343 MB, free: 10.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.4088, allocations: 9.875 kB / 343 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.4088, allocations: 0 / 343 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006102/0.4094, allocations: 118.5 kB / 343.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.4097, allocations: 40 kB / 343.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00485/0.4146, allocations: 4.441 MB / 347.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004502/0.4151, allocations: 35.83 kB / 347.6 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.4152, allocations: 4 kB / 347.6 MB, free: 5.133 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.0001377/0.4153, allocations: 117 kB / 347.8 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.002e-05/0.4154, allocations: 31.62 kB / 347.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.4155, allocations: 42.89 kB / 347.8 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.4155, allocations: 0 / 347.8 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.4156, allocations: 4 kB / 347.8 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.4156, allocations: 7.938 kB / 347.8 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006511/0.4162, allocations: 373.3 kB / 348.2 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.4163, allocations: 4 kB / 348.2 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.4165, allocations: 28.09 kB / 348.2 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000534/0.417, allocations: 110.5 kB / 348.3 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.4171, allocations: 4 kB / 348.3 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004649/0.4218, allocations: 4.43 MB / 352.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4218, allocations: 0 / 352.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008043/0.4226, allocations: 381.3 kB / 353.1 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.4228, allocations: 136.6 kB / 353.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.065e-05/0.4229, allocations: 4 kB / 353.3 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/0.4234, allocations: 23.98 kB / 353.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.4235, allocations: 23.97 kB / 353.3 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.4235, allocations: 7.984 kB / 353.3 MB, free: 14.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000355/0.4239, allocations: 226.1 kB / 353.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4239, allocations: 0 / 353.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009566/0.4249, allocations: 115.7 kB / 353.7 MB, free: 14.58 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.001166/0.4261, allocations: 0.91 MB / 354.6 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.4272, allocations: 0.5307 MB / 355.1 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.4273, allocations: 0 / 355.1 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007026/0.428, allocations: 464.3 kB / 355.6 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.0005721/0.4286, allocations: 53.27 kB / 355.6 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.4302, allocations: 486.2 kB / 356.1 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.4306, allocations: 0.8067 MB / 356.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001981/0.4309, allocations: 22.98 kB / 356.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.4311, allocations: 107.4 kB / 357 MB, free: 11.05 MB / 314.7 MB Notification: Performance of SimCode: time 1.212e-06/0.4311, allocations: 0 / 357 MB, free: 11.05 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04015/0.4712, allocations: 7.564 MB / 364.6 MB, free: 3.562 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002801/0.4716, allocations: 199.3 kB / 364.8 MB, free: 3.332 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.704/3.176, allocations: 8 kB / 364.8 MB, free: 3.324 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