Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.79/1.79, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.745e-05/2.756e-05, allocations: 8 kB / 219.6 MB, free: 6.941 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3288, allocations: 38.76 MB / 258.3 MB, free: 12.2 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.158/0.4869, allocations: 70.36 MB / 328.7 MB, free: 7.43 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.4872, allocations: 71.95 kB / 328.8 MB, free: 7.359 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02881/0.516, allocations: 6.365 MB / 335.1 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5161, allocations: 4 kB / 335.1 MB, free: 0.957 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.441e-05/0.5161, allocations: 8 kB / 335.1 MB, free: 0.9492 MB / 282.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.002109/0.5182, allocations: 0.705 MB / 335.8 MB, free: 200 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.5183, allocations: 12.03 kB / 335.9 MB, free: 188 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.5184, allocations: 47.44 kB / 335.9 MB, free: 140 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005274/0.519, allocations: 305.3 kB / 336.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.519, allocations: 12 kB / 336.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.343e-05/0.5191, allocations: 20 kB / 336.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000969/0.5201, allocations: 329.5 kB / 336.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009411/0.5211, allocations: 371.9 kB / 336.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.5211, allocations: 0 / 336.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.362e-05/0.5212, allocations: 0 / 336.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.5212, allocations: 16 kB / 336.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003801/0.525, allocations: 1.339 MB / 338.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.5263, allocations: 352.9 kB / 338.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004225/0.5267, allocations: 169.9 kB / 338.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-05/0.5268, allocations: 20.3 kB / 338.8 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.5268, allocations: 38.89 kB / 338.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 3.377e-06/0.5268, allocations: 0 / 338.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.002047/0.5289, allocations: 492.9 kB / 339.3 MB, free: 12.56 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.537e-05/0.529, allocations: 158.2 kB / 339.5 MB, free: 12.37 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.5293, allocations: 210.4 kB / 339.7 MB, free: 12.15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/0.5294, allocations: 33.64 kB / 339.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.5296, allocations: 204.3 kB / 339.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.5297, allocations: 138 kB / 340.1 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.5298, allocations: 0 / 340.1 MB, free: 11.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.53, allocations: 346.8 kB / 340.4 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.5303, allocations: 116.8 kB / 340.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/0.5308, allocations: 213.7 kB / 340.7 MB, free: 11.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004453/0.5312, allocations: 131.2 kB / 340.8 MB, free: 10.94 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5312, allocations: 3.938 kB / 340.8 MB, free: 10.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002667/0.5339, allocations: 0.6158 MB / 341.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.534, allocations: 8 kB / 341.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.534, allocations: 4 kB / 341.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.5354, allocations: 257.5 kB / 341.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006588/0.536, allocations: 83.88 kB / 341.8 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/0.5377, allocations: 1.339 MB / 343.1 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008648/0.5386, allocations: 83.78 kB / 343.2 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/0.5386, allocations: 19.98 kB / 343.2 MB, free: 8.461 MB / 298.7 MB 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.0001662/0.5388, allocations: 112.9 kB / 343.4 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001955/0.5408, allocations: 498.9 kB / 343.8 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.5409, allocations: 35.58 kB / 343.9 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002653/0.5435, allocations: 0.5955 MB / 344.5 MB, free: 7.199 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.5436, allocations: 4 kB / 344.5 MB, free: 7.195 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.5436, allocations: 7.922 kB / 344.5 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.5436, allocations: 4.031 kB / 344.5 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007826/0.5444, allocations: 405.5 kB / 344.9 MB, free: 6.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/0.5444, allocations: 7.953 kB / 344.9 MB, free: 6.742 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005761/0.545, allocations: 67.88 kB / 345 MB, free: 6.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001333/0.5464, allocations: 253.5 kB / 345.2 MB, free: 6.422 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.116e-05/0.5464, allocations: 4 kB / 345.2 MB, free: 6.418 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.5481, allocations: 1.35 MB / 346.6 MB, free: 5.016 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.5481, allocations: 0 / 346.6 MB, free: 5.016 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003058/0.5512, allocations: 0.8283 MB / 347.4 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/0.5515, allocations: 148.5 kB / 347.5 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.255e-05/0.5516, allocations: 3.984 kB / 347.5 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000683/0.5523, allocations: 55.97 kB / 347.6 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.536e-05/0.5524, allocations: 27.95 kB / 347.6 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/0.5524, allocations: 12 kB / 347.6 MB, free: 3.902 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002301/0.5527, allocations: 166 kB / 347.8 MB, free: 3.742 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5527, allocations: 0 / 347.8 MB, free: 3.742 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006221/0.5533, allocations: 95.78 kB / 347.9 MB, free: 3.648 MB / 298.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.003484/0.5568, allocations: 1.381 MB / 349.3 MB, free: 2.234 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.558, allocations: 343.5 kB / 349.6 MB, free: 1.898 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/0.558, allocations: 4.5 kB / 349.6 MB, free: 1.895 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006127/0.5586, allocations: 204.1 kB / 349.8 MB, free: 1.695 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.5591, allocations: 28.5 kB / 349.8 MB, free: 1.668 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.5611, allocations: 0.6285 MB / 350.5 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.5616, allocations: 0.8073 MB / 351.3 MB, free: 164 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002618/0.5618, allocations: 35.28 kB / 351.3 MB, free: 132 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.5621, allocations: 115.4 kB / 351.4 MB, free: 16 kB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.5621, allocations: 0 / 351.4 MB, free: 16 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05222/0.6144, allocations: 7.623 MB / 359 MB, free: 8.414 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003117/0.6147, allocations: 146.6 kB / 359.2 MB, free: 8.219 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.583/3.197, allocations: 0 / 359.2 MB, free: 8.219 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat does not exist to compare? outputFormat=mat