Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.078/1.078, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.246e-05/3.259e-05, allocations: 4 kB / 151.5 MB, free: 15.53 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2053, allocations: 25.15 MB / 176.6 MB, free: 15.77 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06174/0.2671, allocations: 35.3 MB / 211.9 MB, free: 13.94 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.2674, allocations: 63.97 kB / 212 MB, free: 13.88 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02531/0.2927, allocations: 5.965 MB / 218 MB, free: 7.887 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2928, allocations: 0 / 218 MB, free: 7.887 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.866e-05/0.2928, allocations: 8.375 kB / 218 MB, free: 7.879 MB / 186.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.00133/0.2941, allocations: 0.6269 MB / 218.6 MB, free: 7.207 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.2942, allocations: 8.031 kB / 218.6 MB, free: 7.199 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.2943, allocations: 70.53 kB / 218.7 MB, free: 7.121 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.2944, allocations: 47.44 kB / 218.7 MB, free: 7.074 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004932/0.2949, allocations: 294.2 kB / 219 MB, free: 6.75 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.295, allocations: 24.78 kB / 219 MB, free: 6.727 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-05/0.2951, allocations: 35.95 kB / 219.1 MB, free: 6.691 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000819/0.2959, allocations: 323.2 kB / 219.4 MB, free: 6.355 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.2959, allocations: 0 / 219.4 MB, free: 6.355 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.714e-05/0.296, allocations: 16 kB / 219.4 MB, free: 6.34 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.296, allocations: 15.97 kB / 219.4 MB, free: 6.324 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006711/0.2967, allocations: 229.5 kB / 219.6 MB, free: 6.102 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003039/0.2998, allocations: 1.435 MB / 221.1 MB, free: 4.566 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005637/0.3004, allocations: 198.5 kB / 221.3 MB, free: 4.363 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.3006, allocations: 96.78 kB / 221.4 MB, free: 4.266 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.3007, allocations: 4 kB / 221.4 MB, free: 4.262 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.3007, allocations: 34.97 kB / 221.4 MB, free: 4.219 MB / 186.7 MB Notification: Performance of pre-optimization done (n=24): time 2.766e-06/0.3007, allocations: 0 / 221.4 MB, free: 4.219 MB / 186.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007609/0.3015, allocations: 267.2 kB / 221.7 MB, free: 3.945 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.3016, allocations: 63.36 kB / 221.7 MB, free: 3.871 MB / 186.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Sources.mo:361:5-361:68:writable] Warning: Parameter SineVoltage3.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Sources.mo:361:5-361:68:writable] Warning: Parameter SineVoltage2.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Sources.mo:361:5-361:68:writable] Warning: Parameter SineVoltage1.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Ideal.mo:1014:11-1015:34:writable] Warning: Parameter With_Ron_Goff.Vknee has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Ideal.mo:1014:11-1015:34:writable] Warning: Parameter Ideal.Vknee has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005196/0.3021, allocations: 283.3 kB / 222 MB, free: 3.59 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.3021, allocations: 29.7 kB / 222 MB, free: 3.555 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.3023, allocations: 270.5 kB / 222.3 MB, free: 3.289 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.471e-05/0.3024, allocations: 74.91 kB / 222.4 MB, free: 3.215 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.895e-05/0.3025, allocations: 4 kB / 222.4 MB, free: 3.211 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3026, allocations: 322.8 kB / 222.7 MB, free: 2.887 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.3028, allocations: 67.92 kB / 222.8 MB, free: 2.82 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.3031, allocations: 101.3 kB / 222.8 MB, free: 2.707 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.3033, allocations: 67.91 kB / 222.9 MB, free: 2.641 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3033, allocations: 4 kB / 222.9 MB, free: 2.637 MB / 186.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009794/0.3043, allocations: 307.8 kB / 223.2 MB, free: 2.32 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.3043, allocations: 8 kB / 223.2 MB, free: 2.312 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.3043, allocations: 0 / 223.2 MB, free: 2.312 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006051/0.305, allocations: 114.6 kB / 223.3 MB, free: 2.191 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.3053, allocations: 39.91 kB / 223.4 MB, free: 2.152 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004834/0.3101, allocations: 4.438 MB / 227.8 MB, free: 13.3 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004319/0.3106, allocations: 31.67 kB / 227.8 MB, free: 13.27 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.3107, allocations: 12 kB / 227.9 MB, free: 13.26 MB / 202.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.0001356/0.3108, allocations: 120.9 kB / 228 MB, free: 13.14 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-05/0.3109, allocations: 31.62 kB / 228 MB, free: 13.11 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.311, allocations: 35.05 kB / 228 MB, free: 13.07 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/0.311, allocations: 8.047 kB / 228.1 MB, free: 13.06 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.3111, allocations: 4 kB / 228.1 MB, free: 13.05 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.3111, allocations: 0 / 228.1 MB, free: 13.05 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006284/0.3117, allocations: 389.1 kB / 228.4 MB, free: 12.62 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3117, allocations: 0 / 228.4 MB, free: 12.62 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.312, allocations: 23.98 kB / 228.5 MB, free: 12.6 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000527/0.3125, allocations: 106.5 kB / 228.6 MB, free: 12.49 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.3125, allocations: 12 kB / 228.6 MB, free: 12.48 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004611/0.3172, allocations: 4.422 MB / 233 MB, free: 7.656 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3172, allocations: 0 / 233 MB, free: 7.656 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007817/0.318, allocations: 377.5 kB / 233.4 MB, free: 7.262 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.3182, allocations: 136.6 kB / 233.5 MB, free: 7.109 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-05/0.3183, allocations: 0 / 233.5 MB, free: 7.109 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004207/0.3187, allocations: 23.98 kB / 233.5 MB, free: 7.086 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.3189, allocations: 31.91 kB / 233.6 MB, free: 7.055 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.3189, allocations: 11.94 kB / 233.6 MB, free: 7.043 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.00033/0.3192, allocations: 218.2 kB / 233.8 MB, free: 6.832 MB / 202.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.3193, allocations: 0 / 233.8 MB, free: 6.832 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0009782/0.3202, allocations: 115.8 kB / 233.9 MB, free: 6.719 MB / 202.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.001058/0.3213, allocations: 0.9125 MB / 234.8 MB, free: 5.773 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0009945/0.3223, allocations: 0.505 MB / 235.3 MB, free: 5.238 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3223, allocations: 4.062 kB / 235.3 MB, free: 5.234 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006175/0.323, allocations: 441 kB / 235.7 MB, free: 4.773 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008694/0.3239, allocations: 85.64 kB / 235.8 MB, free: 4.691 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.3254, allocations: 497.4 kB / 236.3 MB, free: 4.164 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.3258, allocations: 0.8067 MB / 237.1 MB, free: 3.332 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.3261, allocations: 111.4 kB / 237.2 MB, free: 3.223 MB / 202.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3261, allocations: 0 / 237.2 MB, free: 3.223 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.746/3.072, allocations: 9.6 MB / 246.8 MB, free: 9.629 MB / 218.7 MB