Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.153/2.153, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.294e-05/4.316e-05, allocations: 4 kB / 255.4 MB, free: 3.094 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1327, allocations: 44.51 MB / 299.9 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4555/0.5882, allocations: 76.07 MB / 376 MB, free: 12.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.5885, allocations: 67.89 kB / 376.1 MB, free: 12.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02777/0.6163, allocations: 6.353 MB / 382.4 MB, free: 11.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.6164, allocations: 6.703 kB / 382.4 MB, free: 11.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.27e-05/0.6164, allocations: 8.906 kB / 382.4 MB, free: 11.7 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001995/0.6184, allocations: 0.7155 MB / 383.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.6185, allocations: 9.625 kB / 383.2 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001116/0.6186, allocations: 76.25 kB / 383.2 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.6187, allocations: 48.23 kB / 383.3 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.6192, allocations: 296.5 kB / 383.6 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.6192, allocations: 27.41 kB / 383.6 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.91e-05/0.6194, allocations: 36 kB / 383.6 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.6204, allocations: 425.3 kB / 384 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.6204, allocations: 1.281 kB / 384 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.401e-05/0.6205, allocations: 13.53 kB / 384.1 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.6205, allocations: 9.031 kB / 384.1 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009821/0.6215, allocations: 354.6 kB / 384.4 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003629/0.6251, allocations: 1.427 MB / 385.8 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.6264, allocations: 363.3 kB / 386.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004564/0.6269, allocations: 190.3 kB / 386.4 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.351e-05/0.627, allocations: 13.34 kB / 386.4 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.6271, allocations: 39.97 kB / 386.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 2.415e-06/0.6271, allocations: 0 / 386.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.002087/0.6292, allocations: 0.5072 MB / 386.9 MB, free: 10.15 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.6292, allocations: 163.3 kB / 387.1 MB, free: 9.961 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/0.6296, allocations: 226.4 kB / 387.3 MB, free: 9.863 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.6296, allocations: 29.39 kB / 387.3 MB, free: 9.832 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.6298, allocations: 264.7 kB / 387.6 MB, free: 9.633 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.6299, allocations: 138.5 kB / 387.7 MB, free: 9.547 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.6299, allocations: 10.94 kB / 387.8 MB, free: 9.547 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.758e-05/0.63, allocations: 332.3 kB / 388.1 MB, free: 9.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003345/0.6303, allocations: 116.9 kB / 388.2 MB, free: 9.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004109/0.6308, allocations: 224.9 kB / 388.4 MB, free: 9.129 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003984/0.6312, allocations: 139.3 kB / 388.5 MB, free: 9.121 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6312, allocations: 0 / 388.5 MB, free: 9.121 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002503/0.6337, allocations: 0.6483 MB / 389.2 MB, free: 9.016 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.6337, allocations: 3.812 kB / 389.2 MB, free: 9.016 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.6338, allocations: 6.656 kB / 389.2 MB, free: 9.016 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001821/0.6356, allocations: 290.6 kB / 389.5 MB, free: 8.984 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/0.6363, allocations: 91.56 kB / 389.6 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.6375, allocations: 1.316 MB / 390.9 MB, free: 7.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008862/0.6385, allocations: 97.73 kB / 391 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.751e-05/0.6385, allocations: 16.92 kB / 391 MB, free: 7.883 MB / 314.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.0001464/0.6387, allocations: 125.8 kB / 391.1 MB, free: 7.773 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.038e-05/0.6388, allocations: 35 kB / 391.2 MB, free: 7.758 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/0.6413, allocations: 0.6287 MB / 391.8 MB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.6414, allocations: 7.609 kB / 391.8 MB, free: 7.668 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.6414, allocations: 0 / 391.8 MB, free: 7.668 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.6414, allocations: 2.672 kB / 391.8 MB, free: 7.668 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007264/0.6421, allocations: 456.7 kB / 392.2 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6422, allocations: 3.938 kB / 392.2 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005604/0.6427, allocations: 71.06 kB / 392.3 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001725/0.6445, allocations: 298.4 kB / 392.6 MB, free: 7.426 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/0.6445, allocations: 7.75 kB / 392.6 MB, free: 7.426 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.6457, allocations: 1.315 MB / 393.9 MB, free: 6.375 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6458, allocations: 0 / 393.9 MB, free: 6.375 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002915/0.6487, allocations: 0.8852 MB / 394.8 MB, free: 6.164 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.6489, allocations: 108.4 kB / 394.9 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.161e-05/0.649, allocations: 11.34 kB / 394.9 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007071/0.6497, allocations: 61.45 kB / 395 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.664e-05/0.6498, allocations: 24.66 kB / 395 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/0.6499, allocations: 13.31 kB / 395 MB, free: 6.043 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002261/0.6501, allocations: 176.6 kB / 395.2 MB, free: 5.965 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6501, allocations: 0 / 395.2 MB, free: 5.965 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005608/0.6507, allocations: 113.8 kB / 395.3 MB, free: 5.949 MB / 314.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.003599/0.6543, allocations: 1.434 MB / 396.8 MB, free: 21.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.6555, allocations: 361.2 kB / 397.1 MB, free: 21.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.6556, allocations: 8 kB / 397.1 MB, free: 21.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005857/0.6562, allocations: 198.8 kB / 397.3 MB, free: 21.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.6567, allocations: 40.3 kB / 397.3 MB, free: 21.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.6587, allocations: 0.6976 MB / 398 MB, free: 20.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.6592, allocations: 0.8033 MB / 398.8 MB, free: 20.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.6594, allocations: 131.6 kB / 399 MB, free: 20.13 MB / 330.7 MB Notification: Performance of SimCode: time 1.262e-06/0.6595, allocations: 0 / 399 MB, free: 20.13 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.919/3.578, allocations: 8.33 MB / 407.3 MB, free: 18.63 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat does not exist to compare? outputFormat=mat