Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.005/2.005, allocations: 194.9 MB / 208.4 MB, free: 3.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.796e-05/3.807e-05, allocations: 4 kB / 255.4 MB, free: 3.109 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09177/0.09185, allocations: 44.5 MB / 299.9 MB, free: 6.543 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4259/0.5178, allocations: 89.13 MB / 389.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.5181, allocations: 84.38 kB / 389.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08708/0.6052, allocations: 23.79 MB / 412.9 MB, free: 6.363 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6053, allocations: 0 / 412.9 MB, free: 6.363 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.384e-05/0.6054, allocations: 23.44 kB / 413 MB, free: 6.359 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001961/0.6073, allocations: 1.009 MB / 414 MB, free: 5.641 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.6074, allocations: 7.656 kB / 414 MB, free: 5.641 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001862/0.6076, allocations: 140 kB / 414.1 MB, free: 5.574 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006485/0.6083, allocations: 147.7 kB / 414.3 MB, free: 5.508 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.6097, allocations: 0.6756 MB / 414.9 MB, free: 5.113 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.314e-05/0.6098, allocations: 66.88 kB / 415 MB, free: 5.105 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.61, allocations: 80.84 kB / 415.1 MB, free: 5.105 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.6116, allocations: 0.7856 MB / 415.9 MB, free: 4.895 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.869e-05/0.6117, allocations: 4.562 kB / 415.9 MB, free: 4.891 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.831e-05/0.6118, allocations: 33 kB / 415.9 MB, free: 4.891 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.6118, allocations: 27.23 kB / 415.9 MB, free: 4.887 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.6131, allocations: 499.2 kB / 416.4 MB, free: 4.867 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005342/0.6184, allocations: 3.503 MB / 419.9 MB, free: 2.586 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005765/0.619, allocations: 219.9 kB / 420.1 MB, free: 2.547 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.6193, allocations: 103 kB / 420.2 MB, free: 2.535 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.6193, allocations: 4 kB / 420.2 MB, free: 2.531 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.6194, allocations: 42.28 kB / 420.3 MB, free: 2.488 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 3.346e-06/0.6194, allocations: 0 / 420.3 MB, free: 2.488 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001745/0.6211, allocations: 0.8376 MB / 421.1 MB, free: 2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.6212, allocations: 80.98 kB / 421.2 MB, free: 1.906 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.6223, allocations: 0.6823 MB / 421.9 MB, free: 1.719 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.6224, allocations: 33.45 kB / 421.9 MB, free: 1.684 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003053/0.6227, allocations: 0.5195 MB / 422.4 MB, free: 1.332 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.622e-05/0.6228, allocations: 107.9 kB / 422.5 MB, free: 1.254 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.6228, allocations: 13.72 kB / 422.5 MB, free: 1.254 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.473e-05/0.6229, allocations: 336.7 kB / 422.9 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002687/0.6232, allocations: 109.7 kB / 423 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004064/0.6236, allocations: 396.5 kB / 423.4 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/0.624, allocations: 179.1 kB / 423.5 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.624, allocations: 3.875 kB / 423.5 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001108/0.6251, allocations: 0.537 MB / 424.1 MB, free: 344 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.6252, allocations: 7.688 kB / 424.1 MB, free: 344 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.6252, allocations: 11.66 kB / 424.1 MB, free: 344 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000204/0.6254, allocations: 32.02 kB / 424.1 MB, free: 336 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008178/0.6262, allocations: 153.6 kB / 424.3 MB, free: 300 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.6274, allocations: 1.298 MB / 425.6 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008288/0.6282, allocations: 45.84 kB / 425.6 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.6283, allocations: 31.31 kB / 425.7 MB, free: 14.98 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.6285, allocations: 145.7 kB / 425.8 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.6286, allocations: 81.59 kB / 425.9 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007527/0.6294, allocations: 307.1 kB / 426.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.6294, allocations: 3.812 kB / 426.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.6294, allocations: 7.891 kB / 426.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.6295, allocations: 0 / 426.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/0.6314, allocations: 1.067 MB / 427.3 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.6314, allocations: 0 / 427.3 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005135/0.632, allocations: 66.34 kB / 427.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001196/0.6321, allocations: 28.09 kB / 427.4 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.6321, allocations: 7.562 kB / 427.4 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.6332, allocations: 1.271 MB / 428.6 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.6333, allocations: 3.875 kB / 428.6 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.6343, allocations: 0.6134 MB / 429.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003325/0.6346, allocations: 180.7 kB / 429.4 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.6348, allocations: 10.44 kB / 429.4 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006061/0.6354, allocations: 21.92 kB / 429.5 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.396e-05/0.6355, allocations: 30.23 kB / 429.5 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.6355, allocations: 10.81 kB / 429.5 MB, free: 12.24 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009216/0.6365, allocations: 0.5169 MB / 430 MB, free: 12.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6365, allocations: 0 / 430 MB, free: 12.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009952/0.6375, allocations: 201.6 kB / 430.2 MB, free: 12.11 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00194/0.6394, allocations: 1.865 MB / 432.1 MB, free: 10.63 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000946/0.6404, allocations: 430 kB / 432.5 MB, free: 10.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6404, allocations: 1.875 kB / 432.5 MB, free: 10.47 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004155/0.6409, allocations: 222.2 kB / 432.7 MB, free: 10.35 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.6424, allocations: 213.1 kB / 432.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/0.6456, allocations: 1.247 MB / 434.2 MB, free: 9.559 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006389/0.6462, allocations: 0.9715 MB / 435.1 MB, free: 8.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005337/0.6468, allocations: 321.1 kB / 435.5 MB, free: 8.695 MB / 330.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6468, allocations: 0 / 435.5 MB, free: 8.695 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.061/3.708, allocations: 18.71 MB / 454.2 MB, free: 8.516 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat does not exist to compare? outputFormat=mat