Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.824/1.824, allocations: 171.2 MB / 178.8 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.605e-05/3.618e-05, allocations: 8 kB / 219.5 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2692, allocations: 38.77 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.3981, allocations: 70.36 MB / 328.7 MB, free: 7.465 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.3983, allocations: 71.97 kB / 328.7 MB, free: 7.395 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02982/0.4282, allocations: 6.376 MB / 335.1 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4282, allocations: 0 / 335.1 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.743e-05/0.4283, allocations: 8 kB / 335.1 MB, free: 0.9766 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.002197/0.4305, allocations: 0.7011 MB / 335.8 MB, free: 232 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.4306, allocations: 11.97 kB / 335.8 MB, free: 220 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.4307, allocations: 51.44 kB / 335.9 MB, free: 168 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005346/0.4313, allocations: 301.4 kB / 336.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.4313, allocations: 12 kB / 336.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.272e-05/0.4314, allocations: 24 kB / 336.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009729/0.4324, allocations: 329.5 kB / 336.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009587/0.4334, allocations: 371.9 kB / 336.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.4334, allocations: 0 / 336.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.716e-05/0.4335, allocations: 4 kB / 336.9 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.4335, allocations: 8 kB / 336.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004053/0.4376, allocations: 1.339 MB / 338.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.4389, allocations: 351.1 kB / 338.6 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004248/0.4394, allocations: 181.9 kB / 338.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.26e-05/0.4394, allocations: 4.328 kB / 338.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.4395, allocations: 42.88 kB / 338.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 3.076e-06/0.4395, allocations: 0 / 338.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.002115/0.4416, allocations: 488.9 kB / 339.3 MB, free: 12.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.412e-05/0.4417, allocations: 158.2 kB / 339.5 MB, free: 12.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.4421, allocations: 218.3 kB / 339.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.799e-05/0.4422, allocations: 25.7 kB / 339.7 MB, free: 12.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.4424, allocations: 258.8 kB / 339.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.4425, allocations: 141.8 kB / 340.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.4426, allocations: 0 / 340.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.4427, allocations: 334.8 kB / 340.4 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.4431, allocations: 116.9 kB / 340.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004282/0.4435, allocations: 209.7 kB / 340.7 MB, free: 11.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/0.444, allocations: 131.9 kB / 340.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.444, allocations: 4 kB / 340.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002709/0.4467, allocations: 0.5964 MB / 341.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.4468, allocations: 8 kB / 341.5 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4468, allocations: 4.031 kB / 341.5 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.4482, allocations: 253.5 kB / 341.7 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007005/0.4489, allocations: 83.88 kB / 341.8 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/0.4506, allocations: 1.339 MB / 343.1 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008879/0.4516, allocations: 87.73 kB / 343.2 MB, free: 8.496 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.231e-05/0.4516, allocations: 12 kB / 343.2 MB, free: 8.484 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.0001765/0.4518, allocations: 112.9 kB / 343.3 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002002/0.4538, allocations: 0.4911 MB / 343.8 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.454, allocations: 39.61 kB / 343.9 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002655/0.4566, allocations: 0.5992 MB / 344.5 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.4567, allocations: 4 kB / 344.5 MB, free: 7.207 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.4567, allocations: 4.188 kB / 344.5 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.4567, allocations: 0 / 344.5 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008499/0.4576, allocations: 405.5 kB / 344.9 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.4576, allocations: 3.953 kB / 344.9 MB, free: 6.766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006064/0.4582, allocations: 75.88 kB / 345 MB, free: 6.691 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/0.4596, allocations: 253.5 kB / 345.2 MB, free: 6.438 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.154e-05/0.4597, allocations: 4 kB / 345.2 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.4613, allocations: 1.351 MB / 346.6 MB, free: 5.031 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.4614, allocations: 0 / 346.6 MB, free: 5.031 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00307/0.4644, allocations: 0.8322 MB / 347.4 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/0.4648, allocations: 144.6 kB / 347.5 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.884e-05/0.4649, allocations: 0 / 347.5 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007174/0.4656, allocations: 59.88 kB / 347.6 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.4657, allocations: 27.95 kB / 347.6 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.926e-05/0.4658, allocations: 12 kB / 347.6 MB, free: 3.918 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000229/0.466, allocations: 162 kB / 347.8 MB, free: 3.762 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.466, allocations: 0 / 347.8 MB, free: 3.762 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006086/0.4666, allocations: 95.78 kB / 347.9 MB, free: 3.668 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.4701, allocations: 1.385 MB / 349.3 MB, free: 2.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.4713, allocations: 343.9 kB / 349.6 MB, free: 1.914 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.4714, allocations: 4.125 kB / 349.6 MB, free: 1.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000633/0.472, allocations: 199.6 kB / 349.8 MB, free: 1.715 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.4725, allocations: 32.5 kB / 349.8 MB, free: 1.684 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.4755, allocations: 0.6613 MB / 350.5 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005755/0.4761, allocations: 0.8034 MB / 351.3 MB, free: 144 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004222/0.4766, allocations: 123.3 kB / 351.4 MB, free: 20 kB / 298.7 MB Notification: Performance of SimCode: time 1.683e-06/0.4766, allocations: 4 kB / 351.4 MB, free: 16 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.677/3.154, allocations: 8.25 MB / 359.7 MB, free: 7.758 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat does not exist to compare? outputFormat=mat