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.063/2.063, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.421e-05/3.431e-05, allocations: 4 kB / 255.4 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09724/0.09731, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4682/0.5656, allocations: 73.04 MB / 373 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.5659, allocations: 68.34 kB / 373.1 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02699/0.5929, allocations: 6.177 MB / 379.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.593, allocations: 0 / 379.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.2e-05/0.593, allocations: 15.03 kB / 379.3 MB, free: 11.96 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.00134/0.5944, allocations: 0.6136 MB / 379.9 MB, free: 11.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.5944, allocations: 12.56 kB / 379.9 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001104/0.5946, allocations: 69.47 kB / 380 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.5947, allocations: 57.61 kB / 380 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005059/0.5952, allocations: 292.3 kB / 380.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.5953, allocations: 23.5 kB / 380.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-05/0.5953, allocations: 31.06 kB / 380.4 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008617/0.5962, allocations: 328.7 kB / 380.7 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.5963, allocations: 5.188 kB / 380.7 MB, free: 11.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.617e-05/0.5963, allocations: 13.59 kB / 380.7 MB, free: 11.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.5964, allocations: 15.3 kB / 380.7 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006896/0.5971, allocations: 232.1 kB / 380.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003225/0.6003, allocations: 1.43 MB / 382.4 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005711/0.6009, allocations: 218.2 kB / 382.6 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.6012, allocations: 94.45 kB / 382.7 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.6012, allocations: 2.656 kB / 382.7 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.6013, allocations: 34.31 kB / 382.7 MB, free: 10.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 4.128e-06/0.6013, allocations: 0 / 382.7 MB, free: 10.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008162/0.6021, allocations: 272.7 kB / 383 MB, free: 10.15 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.6022, allocations: 54.69 kB / 383 MB, free: 10.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004882/0.6027, allocations: 266.5 kB / 383.3 MB, free: 9.988 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/0.6027, allocations: 34.3 kB / 383.3 MB, free: 9.953 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.6029, allocations: 216.3 kB / 383.5 MB, free: 9.824 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.302e-05/0.603, allocations: 73.69 kB / 383.6 MB, free: 9.777 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/0.603, allocations: 4.812 kB / 383.6 MB, free: 9.777 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.653e-05/0.6031, allocations: 337.7 kB / 383.9 MB, free: 9.465 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.6034, allocations: 67.69 kB / 384 MB, free: 9.461 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.6036, allocations: 107.2 kB / 384.1 MB, free: 9.418 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.6039, allocations: 69.44 kB / 384.2 MB, free: 9.414 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.6039, allocations: 1.125 kB / 384.2 MB, free: 9.414 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001062/0.605, allocations: 336.7 kB / 384.5 MB, free: 9.316 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.605, allocations: 5.469 kB / 384.5 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.605, allocations: 7.375 kB / 384.5 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006661/0.6057, allocations: 111.5 kB / 384.6 MB, free: 9.289 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.6061, allocations: 40.58 kB / 384.7 MB, free: 9.281 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004506/0.6106, allocations: 4.435 MB / 389.1 MB, free: 21.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004985/0.6111, allocations: 37.77 kB / 389.1 MB, free: 21.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.6112, allocations: 10.94 kB / 389.1 MB, free: 21.21 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.0001565/0.6113, allocations: 115.7 kB / 389.3 MB, free: 21.1 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.796e-05/0.6114, allocations: 32.31 kB / 389.3 MB, free: 21.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.6116, allocations: 42.72 kB / 389.3 MB, free: 21.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.6116, allocations: 2.688 kB / 389.3 MB, free: 21.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6116, allocations: 1.406 kB / 389.3 MB, free: 21.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.6116, allocations: 4.078 kB / 389.3 MB, free: 21.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006142/0.6122, allocations: 373.6 kB / 389.7 MB, free: 20.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.6123, allocations: 1.406 kB / 389.7 MB, free: 20.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.6125, allocations: 28.42 kB / 389.7 MB, free: 20.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005285/0.613, allocations: 109.8 kB / 389.8 MB, free: 20.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.6131, allocations: 4.078 kB / 389.8 MB, free: 20.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004848/0.6179, allocations: 4.45 MB / 394.3 MB, free: 16.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.618, allocations: 0 / 394.3 MB, free: 16.78 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008159/0.6188, allocations: 364.9 kB / 394.7 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/0.6191, allocations: 130.7 kB / 394.8 MB, free: 16.49 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.905e-05/0.6192, allocations: 5.062 kB / 394.8 MB, free: 16.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/0.6196, allocations: 21.98 kB / 394.8 MB, free: 16.49 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.6198, allocations: 29.38 kB / 394.8 MB, free: 16.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.6198, allocations: 9.156 kB / 394.8 MB, free: 16.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00035/0.6202, allocations: 215.6 kB / 395.1 MB, free: 16.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.603e-06/0.6202, allocations: 0 / 395.1 MB, free: 16.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001017/0.6212, allocations: 111 kB / 395.2 MB, free: 16.39 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.00114/0.6224, allocations: 0.9097 MB / 396.1 MB, free: 15.69 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.6235, allocations: 0.5443 MB / 396.6 MB, free: 15.33 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6235, allocations: 0 / 396.6 MB, free: 15.33 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006373/0.6242, allocations: 466.6 kB / 397.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005979/0.6248, allocations: 60.72 kB / 397.1 MB, free: 14.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.6264, allocations: 472.2 kB / 397.6 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.6269, allocations: 0.804 MB / 398.4 MB, free: 14.05 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002136/0.6271, allocations: 25.72 kB / 398.4 MB, free: 14.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.6273, allocations: 105.1 kB / 398.5 MB, free: 14.04 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6273, allocations: 0 / 398.5 MB, free: 14.04 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03751/0.6648, allocations: 7.562 MB / 406.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003473/0.6653, allocations: 195.7 kB / 406.3 MB, free: 13.1 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.834/3.499, allocations: 0 / 406.3 MB, free: 13.1 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