Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 0.988/0.988, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.193e-05/3.21e-05, allocations: 4 kB / 151.5 MB, free: 15.49 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1733, allocations: 25.15 MB / 176.6 MB, free: 15.9 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06958/0.243, allocations: 38.55 MB / 215.2 MB, free: 10.78 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.2433, allocations: 67.95 kB / 215.3 MB, free: 10.71 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02921/0.2725, allocations: 6.404 MB / 221.7 MB, free: 4.281 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2726, allocations: 0 / 221.7 MB, free: 4.281 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.533e-05/0.2726, allocations: 8 kB / 221.7 MB, free: 4.273 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00217/0.2748, allocations: 0.7089 MB / 222.4 MB, free: 3.52 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.2749, allocations: 12.03 kB / 222.4 MB, free: 3.508 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001363/0.275, allocations: 70.53 kB / 222.5 MB, free: 3.43 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.2751, allocations: 47.44 kB / 222.5 MB, free: 3.383 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005231/0.2757, allocations: 293.4 kB / 222.8 MB, free: 3.059 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.645e-05/0.2757, allocations: 32.77 kB / 222.8 MB, free: 3.023 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.2759, allocations: 43.91 kB / 222.9 MB, free: 2.98 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.277, allocations: 420 kB / 223.3 MB, free: 2.551 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.277, allocations: 0 / 223.3 MB, free: 2.551 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.038e-05/0.2771, allocations: 16 kB / 223.3 MB, free: 2.535 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.2771, allocations: 8 kB / 223.3 MB, free: 2.527 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.2781, allocations: 345.4 kB / 223.6 MB, free: 2.188 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004041/0.2822, allocations: 1.424 MB / 225.1 MB, free: 0.6875 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.2836, allocations: 364.3 kB / 225.4 MB, free: 332 kB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004869/0.2841, allocations: 186.6 kB / 225.6 MB, free: 140 kB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.395e-05/0.2842, allocations: 12.31 kB / 225.6 MB, free: 128 kB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.2843, allocations: 46.83 kB / 225.7 MB, free: 72 kB / 186.7 MB Notification: Performance of pre-optimization done (n=40): time 3.367e-06/0.2843, allocations: 0 / 225.7 MB, free: 72 kB / 186.7 MB Notification: Performance of matching and sorting (n=40): time 0.00218/0.2865, allocations: 0.5009 MB / 226.2 MB, free: 15.56 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.2866, allocations: 162.2 kB / 226.3 MB, free: 15.36 MB / 202.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 Sin.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.287, allocations: 223.5 kB / 226.5 MB, free: 15.14 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 5.573e-05/0.2871, allocations: 33.7 kB / 226.6 MB, free: 15.1 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.2873, allocations: 262.7 kB / 226.8 MB, free: 14.84 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.2875, allocations: 138 kB / 227 MB, free: 14.71 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.2875, allocations: 12 kB / 227 MB, free: 14.7 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2877, allocations: 330.8 kB / 227.3 MB, free: 14.36 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003886/0.2881, allocations: 120.9 kB / 227.4 MB, free: 14.24 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004926/0.2886, allocations: 221.7 kB / 227.6 MB, free: 13.99 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000412/0.289, allocations: 129.4 kB / 227.8 MB, free: 13.86 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.289, allocations: 4 kB / 227.8 MB, free: 13.86 MB / 202.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002827/0.2918, allocations: 0.6393 MB / 228.4 MB, free: 13.21 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.2919, allocations: 4 kB / 228.4 MB, free: 13.2 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.2919, allocations: 4 kB / 228.4 MB, free: 13.2 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001955/0.2939, allocations: 297.5 kB / 228.7 MB, free: 12.9 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000706/0.2946, allocations: 87.88 kB / 228.8 MB, free: 12.82 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/0.2962, allocations: 1.304 MB / 230.1 MB, free: 11.46 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009295/0.2972, allocations: 103.6 kB / 230.2 MB, free: 11.36 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.503e-05/0.2972, allocations: 19.98 kB / 230.2 MB, free: 11.34 MB / 202.7 MB Warning: Assuming fixed start value for the following 2 variables: HeatCapacitor1.T:VARIABLE(min = max(1.0, max(1.0, max(1.0, max(1.0, 1.0)))) max = min(6000.0, min(6000.0, min(6000.0, min(6000.0, 6000.0)))) start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002834/0.2975, allocations: 146.1 kB / 230.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.2977, allocations: 35.62 kB / 230.4 MB, free: 11.16 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002851/0.3005, allocations: 0.6341 MB / 231 MB, free: 10.5 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.3006, allocations: 4 kB / 231 MB, free: 10.5 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3006, allocations: 0 / 231 MB, free: 10.5 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.3006, allocations: 0 / 231 MB, free: 10.5 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009383/0.3015, allocations: 476.8 kB / 231.5 MB, free: 9.98 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3016, allocations: 0 / 231.5 MB, free: 9.98 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006054/0.3022, allocations: 63.95 kB / 231.5 MB, free: 9.918 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001873/0.3041, allocations: 297.4 kB / 231.8 MB, free: 9.621 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.559e-05/0.3041, allocations: 8.031 kB / 231.8 MB, free: 9.613 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.3057, allocations: 1.319 MB / 233.2 MB, free: 8.242 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.3058, allocations: 3.984 kB / 233.2 MB, free: 8.238 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00322/0.309, allocations: 0.8676 MB / 234 MB, free: 7.348 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002572/0.3093, allocations: 148.6 kB / 234.2 MB, free: 7.184 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.383e-05/0.3094, allocations: 12 kB / 234.2 MB, free: 7.172 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007383/0.3101, allocations: 67.94 kB / 234.3 MB, free: 7.105 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-05/0.3102, allocations: 23.97 kB / 234.3 MB, free: 7.082 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/0.3103, allocations: 15.98 kB / 234.3 MB, free: 7.066 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002678/0.3106, allocations: 175.1 kB / 234.5 MB, free: 6.895 MB / 202.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3106, allocations: 0 / 234.5 MB, free: 6.895 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0006112/0.3112, allocations: 119.7 kB / 234.6 MB, free: 6.777 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.003617/0.3148, allocations: 1.428 MB / 236 MB, free: 5.316 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.3161, allocations: 359.9 kB / 236.4 MB, free: 4.965 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.3161, allocations: 0 / 236.4 MB, free: 4.965 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006799/0.3168, allocations: 220.8 kB / 236.6 MB, free: 4.75 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008031/0.3176, allocations: 75.39 kB / 236.7 MB, free: 4.68 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.3197, allocations: 0.6874 MB / 237.3 MB, free: 3.949 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.3202, allocations: 0.8037 MB / 238.1 MB, free: 3.117 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002837/0.3205, allocations: 127.4 kB / 238.3 MB, free: 2.992 MB / 202.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3205, allocations: 0 / 238.3 MB, free: 2.992 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.764/3.084, allocations: 8.4 MB / 246.7 MB, free: 10.59 MB / 218.7 MB