Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.011/2.011, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.017e-05/4.039e-05, allocations: 0 / 255.4 MB, free: 2.645 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1131, allocations: 44.53 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4827/0.5958, allocations: 76.63 MB / 376.6 MB, free: 12.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.5961, allocations: 67.67 kB / 376.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07045/0.6666, allocations: 13.86 MB / 390.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6666, allocations: 1.203 kB / 390.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.71e-05/0.6667, allocations: 15.5 kB / 390.5 MB, free: 11.59 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.006279/0.673, allocations: 1.329 MB / 391.9 MB, free: 10.94 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.6731, allocations: 15.66 kB / 391.9 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003689/0.6734, allocations: 104.2 kB / 392 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003003/0.6737, allocations: 101.2 kB / 392.1 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/0.6758, allocations: 0.566 MB / 392.7 MB, free: 10.56 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.364e-05/0.6759, allocations: 51 kB / 392.7 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/0.6761, allocations: 68.72 kB / 392.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.6778, allocations: 0.6161 MB / 393.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.6778, allocations: 0 / 393.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.678, allocations: 27.09 kB / 393.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.678, allocations: 11.75 kB / 393.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.6797, allocations: 0.6343 MB / 394.1 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006253/0.686, allocations: 2.344 MB / 396.4 MB, free: 9.812 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.6873, allocations: 0.5033 MB / 396.9 MB, free: 9.773 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006931/0.688, allocations: 292.6 kB / 397.2 MB, free: 9.762 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.862e-05/0.6881, allocations: 11.38 kB / 397.2 MB, free: 9.762 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009087/0.689, allocations: 405.5 kB / 397.6 MB, free: 9.672 MB / 314.7 MB Notification: Performance of pre-optimization done (n=54): time 2.786e-06/0.6891, allocations: 0 / 397.6 MB, free: 9.672 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.08418/0.7732, allocations: 10.52 MB / 408.1 MB, free: 6.836 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.697e-05/0.7734, allocations: 145 kB / 408.3 MB, free: 6.672 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007623/0.7742, allocations: 446.4 kB / 408.7 MB, free: 6.516 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003314/0.7745, allocations: 47.02 kB / 408.7 MB, free: 6.484 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.7748, allocations: 372.5 kB / 409.1 MB, free: 6.254 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003928/0.7753, allocations: 320.3 kB / 409.4 MB, free: 6.027 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.7754, allocations: 17.69 kB / 409.4 MB, free: 6.027 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.7756, allocations: 390.8 kB / 409.8 MB, free: 5.684 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/0.7771, allocations: 0.5446 MB / 410.4 MB, free: 5.672 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/0.7789, allocations: 0.7503 MB / 411.1 MB, free: 5.434 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.7806, allocations: 0.6246 MB / 411.7 MB, free: 5.293 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.7806, allocations: 0 / 411.7 MB, free: 5.293 MB / 314.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.06666/0.8473, allocations: 6.179 MB / 417.9 MB, free: 3.203 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.175e-05/0.8474, allocations: 63.03 kB / 418 MB, free: 3.141 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.8475, allocations: 3.938 kB / 418 MB, free: 3.141 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0623/0.9098, allocations: 6.073 MB / 424.1 MB, free: 1.039 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.9112, allocations: 180.4 kB / 424.2 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007867/0.9191, allocations: 2.912 MB / 427.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004072/0.9233, allocations: 298.4 kB / 427.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002767/0.9236, allocations: 47.31 kB / 427.5 MB, free: 15.66 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.V1.signalSource.T_start,V1.signalSource.T_start,$PRE.V1.signalSource.count,V1.signalSource.count,$PRE.V2.signalSource.T_start,V2.signalSource.T_start,$PRE.V2.signalSource.count,V2.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 2 * 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 {5 32,5 32} Notification: Performance of prepare postOptimizeDAE: time 0.0004623/0.9241, allocations: 158.2 kB / 427.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000313/0.9244, allocations: 81.42 kB / 427.7 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04091/0.9653, allocations: 4.74 MB / 432.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.697e-05/0.9654, allocations: 8 kB / 432.5 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.9654, allocations: 4 kB / 432.5 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.4e-05/0.9655, allocations: 7.969 kB / 432.5 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/0.9683, allocations: 1.252 MB / 433.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.9684, allocations: 4 kB / 433.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/0.9695, allocations: 130.4 kB / 433.9 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05907/1.029, allocations: 6.031 MB / 439.9 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003575/1.029, allocations: 27.97 kB / 439.9 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04468/1.074, allocations: 8.631 MB / 448.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.074, allocations: 4 kB / 448.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04393/1.118, allocations: 5.469 MB / 454 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/1.119, allocations: 284 kB / 454.3 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003405/1.119, allocations: 19.95 kB / 454.3 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003891/1.123, allocations: 279.8 kB / 454.6 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008788/1.124, allocations: 144.5 kB / 454.7 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002094/1.124, allocations: 35.91 kB / 454.8 MB, free: 5.941 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007356/1.125, allocations: 333.6 kB / 455.1 MB, free: 5.617 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.125, allocations: 0 / 455.1 MB, free: 5.617 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001915/1.127, allocations: 335.9 kB / 455.4 MB, free: 5.289 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (HeatCapacitor1.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,V1.signalSource.T_start,V1.signalSource.count,V2.signalSource.T_start,V2.signalSource.count) * Number of discrete states: 2 (V2.signalSource.count,V1.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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 {5 32,5 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.05151/1.179, allocations: 6.045 MB / 461.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006954/1.186, allocations: 1.672 MB / 463.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.186, allocations: 0 / 463.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007337/1.193, allocations: 1.286 MB / 464.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/1.194, allocations: 110 kB / 464.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/1.206, allocations: 2.03 MB / 466.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007069/1.206, allocations: 0.9627 MB / 467.5 MB, free: 9.043 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005446/1.207, allocations: 62.22 kB / 467.6 MB, free: 8.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005349/1.208, allocations: 263.3 kB / 467.8 MB, free: 8.723 MB / 362.7 MB Notification: Performance of SimCode: time 1.433e-06/1.208, allocations: 4 kB / 467.8 MB, free: 8.719 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1105/1.318, allocations: 35.35 MB / 0.4914 GB, free: 5.387 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003082/1.318, allocations: 187.2 kB / 0.4916 GB, free: 5.16 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.576/5.895, allocations: 0 / 0.4916 GB, free: 5.16 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate_res.mat does not exist to compare? outputFormat=mat