Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.757/1.757, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.91e-05/3.943e-05, allocations: 8 kB / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2854, allocations: 38.76 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1213/0.4067, allocations: 67.71 MB / 331.5 MB, free: 6.055 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.407, allocations: 63.97 kB / 331.6 MB, free: 5.992 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01134/0.4184, allocations: 2.673 MB / 334.3 MB, free: 3.301 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.477e-06/0.4184, allocations: 0 / 334.3 MB, free: 3.301 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.4185, allocations: 7.938 kB / 334.3 MB, free: 3.293 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006249/0.4191, allocations: 414.3 kB / 334.7 MB, free: 2.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.4192, allocations: 12.03 kB / 334.7 MB, free: 2.828 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.471e-05/0.4192, allocations: 46.55 kB / 334.7 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.4194, allocations: 15.81 kB / 334.8 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.4197, allocations: 206.8 kB / 335 MB, free: 2.516 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.4197, allocations: 8.234 kB / 335 MB, free: 2.508 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.4197, allocations: 15.89 kB / 335 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.42, allocations: 107.5 kB / 335.1 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4201, allocations: 0 / 335.1 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.4201, allocations: 12 kB / 335.1 MB, free: 2.371 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4201, allocations: 0 / 335.1 MB, free: 2.371 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/0.4204, allocations: 68.7 kB / 335.2 MB, free: 2.305 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.4215, allocations: 0.5381 MB / 335.7 MB, free: 1.707 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.4219, allocations: 74.64 kB / 335.8 MB, free: 1.625 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.868e-05/0.422, allocations: 32.98 kB / 335.8 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.422, allocations: 0 / 335.8 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.4221, allocations: 34.56 kB / 335.8 MB, free: 1.547 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.4221, allocations: 0 / 335.8 MB, free: 1.547 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004437/0.4225, allocations: 110.4 kB / 335.9 MB, free: 1.43 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.4226, allocations: 55.36 kB / 336 MB, free: 1.363 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.4228, allocations: 137.7 kB / 336.1 MB, free: 1.223 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.4228, allocations: 29.7 kB / 336.2 MB, free: 1.188 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.4229, allocations: 190 kB / 336.3 MB, free: 1 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.423, allocations: 15.72 kB / 336.4 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-06/0.423, allocations: 8 kB / 336.4 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4231, allocations: 318.8 kB / 336.7 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.288e-05/0.4232, allocations: 23.94 kB / 336.7 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.513e-05/0.4233, allocations: 34.58 kB / 336.7 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.61e-05/0.4234, allocations: 23.98 kB / 336.8 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4234, allocations: 0 / 336.8 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003663/0.4238, allocations: 126.3 kB / 336.9 MB, free: 444 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4238, allocations: 4 kB / 336.9 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4238, allocations: 192 / 336.9 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002637/0.4241, allocations: 40.83 kB / 336.9 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.4242, allocations: 12 kB / 336.9 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.4263, allocations: 1.53 MB / 338.5 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.4265, allocations: 7.906 kB / 338.5 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.4265, allocations: 8 kB / 338.5 MB, free: 14.7 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 9.516e-05/0.4266, allocations: 104.9 kB / 338.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.4267, allocations: 11.91 kB / 338.6 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.4267, allocations: 12.61 kB / 338.6 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.4268, allocations: 8.031 kB / 338.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.4268, allocations: 0 / 338.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4268, allocations: 4 kB / 338.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.4271, allocations: 217.5 kB / 338.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4271, allocations: 0 / 338.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.268e-05/0.4272, allocations: 4 kB / 338.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002175/0.4274, allocations: 44.77 kB / 338.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.4274, allocations: 128 / 338.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/0.4292, allocations: 1.495 MB / 340.4 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4293, allocations: 0 / 340.4 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.4297, allocations: 212.3 kB / 340.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.632e-05/0.4298, allocations: 92.84 kB / 340.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.4298, allocations: 11.95 kB / 340.7 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.43, allocations: 4 kB / 340.7 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.4301, allocations: 7.984 kB / 340.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.4301, allocations: 0 / 340.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001197/0.4302, allocations: 115.8 kB / 340.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4302, allocations: 0 / 340.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004696/0.4307, allocations: 40 kB / 340.9 MB, free: 12.1 MB / 298.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000701/0.4314, allocations: 0.7375 MB / 341.6 MB, free: 11.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004479/0.4319, allocations: 182.5 kB / 341.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4319, allocations: 0 / 341.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002672/0.4322, allocations: 154.5 kB / 341.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.4325, allocations: 19.78 kB / 341.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007018/0.4332, allocations: 198.3 kB / 342.1 MB, free: 10.72 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.4335, allocations: 0.716 MB / 342.9 MB, free: 9.977 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.358e-05/0.4336, allocations: 35.42 kB / 342.9 MB, free: 9.945 MB / 298.7 MB Notification: Performance of SimCode: time 1.392e-06/0.4337, allocations: 0 / 342.9 MB, free: 9.945 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.655/3.089, allocations: 2.44 MB / 345.3 MB, free: 7.508 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat does not exist to compare? outputFormat=mat