Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.148/2.148, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.367e-05/3.372e-05, allocations: 4 kB / 269.4 MB, free: 6.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1263, allocations: 47.57 MB / 317 MB, free: 6.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.475/0.6013, allocations: 81.06 MB / 398.1 MB, free: 6.684 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.6017, allocations: 64.22 kB / 398.1 MB, free: 6.652 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05872/0.6604, allocations: 12.07 MB / 410.2 MB, free: 12.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6604, allocations: 0 / 410.2 MB, free: 12.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.97e-05/0.6605, allocations: 15.94 kB / 410.2 MB, free: 12.31 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.003757/0.6643, allocations: 1.047 MB / 411.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.6644, allocations: 8.031 kB / 411.3 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002306/0.6646, allocations: 105 kB / 411.4 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002591/0.6649, allocations: 86.97 kB / 411.5 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.6662, allocations: 498.6 kB / 412 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.423e-05/0.6663, allocations: 48.75 kB / 412 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.6664, allocations: 62.81 kB / 412.1 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.668, allocations: 0.5422 MB / 412.6 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/0.668, allocations: 0 / 412.6 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.629e-05/0.6681, allocations: 27.56 kB / 412.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.6682, allocations: 12 kB / 412.7 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.6697, allocations: 0.5276 MB / 413.2 MB, free: 9.832 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006255/0.6759, allocations: 2.291 MB / 415.5 MB, free: 7.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.6772, allocations: 458.9 kB / 415.9 MB, free: 7.633 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006209/0.6778, allocations: 260.8 kB / 416.2 MB, free: 7.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.008e-05/0.6779, allocations: 4.438 kB / 416.2 MB, free: 7.477 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008318/0.6787, allocations: 348.8 kB / 416.5 MB, free: 7.203 MB / 330.7 MB Notification: Performance of pre-optimization done (n=54): time 3.347e-06/0.6788, allocations: 0 / 416.5 MB, free: 7.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=94): time 0.1196/0.7983, allocations: 13.48 MB / 430 MB, free: 10.94 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.7985, allocations: 141.3 kB / 430.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008849/0.7994, allocations: 428.8 kB / 430.6 MB, free: 10.44 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002959/0.7997, allocations: 44.14 kB / 430.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003708/0.8001, allocations: 358 kB / 431 MB, free: 10.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004561/0.8006, allocations: 313.9 kB / 431.3 MB, free: 9.875 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.8007, allocations: 25 kB / 431.3 MB, free: 9.867 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002288/0.801, allocations: 382.6 kB / 431.7 MB, free: 9.516 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/0.8024, allocations: 472.1 kB / 432.1 MB, free: 9.262 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001672/0.8041, allocations: 0.665 MB / 432.8 MB, free: 8.742 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.8056, allocations: 0.545 MB / 433.3 MB, free: 8.387 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.908e-06/0.8057, allocations: 0 / 433.3 MB, free: 8.387 MB / 346.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.03988/0.8456, allocations: 4.81 MB / 438.1 MB, free: 4.184 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.364e-05/0.8457, allocations: 59.41 kB / 438.2 MB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.8457, allocations: 7.984 kB / 438.2 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.069/0.9147, allocations: 6.944 MB / 445.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/0.9169, allocations: 175.4 kB / 445.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01427/0.9312, allocations: 2.814 MB / 448.1 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004628/0.9359, allocations: 234.6 kB / 448.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003304/0.9363, allocations: 51.11 kB / 448.4 MB, free: 10.8 MB / 362.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 (50): * Single equations (assignments): 46 * 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.0005696/0.9368, allocations: 154 kB / 448.6 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003632/0.9372, allocations: 71.16 kB / 448.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05772/0.995, allocations: 4.681 MB / 453.3 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.212e-05/0.9951, allocations: 11.94 kB / 453.3 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.9951, allocations: 4 kB / 453.3 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-05/0.9952, allocations: 3.984 kB / 453.3 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/0.9979, allocations: 1.114 MB / 454.4 MB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.9979, allocations: 0 / 454.4 MB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/0.9991, allocations: 127.8 kB / 454.6 MB, free: 5.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.06572/1.065, allocations: 6.903 MB / 461.5 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003133/1.065, allocations: 27.97 kB / 461.5 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009489/1.075, allocations: 2.845 MB / 464.3 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.075, allocations: 4 kB / 464.3 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06369/1.138, allocations: 5.302 MB / 469.6 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004198/1.139, allocations: 144.2 kB / 469.8 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004407/1.139, allocations: 19.95 kB / 469.8 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00453/1.144, allocations: 211.8 kB / 470 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006981/1.145, allocations: 104.6 kB / 470.1 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002676/1.145, allocations: 31.97 kB / 470.2 MB, free: 5.496 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009484/1.146, allocations: 329.6 kB / 470.5 MB, free: 5.176 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.132e-06/1.146, allocations: 7.938 kB / 470.5 MB, free: 5.168 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002006/1.148, allocations: 264 kB / 470.7 MB, free: 4.91 MB / 378.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.05632/1.204, allocations: 5.89 MB / 476.6 MB, free: 14.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01111/1.216, allocations: 1.649 MB / 478.3 MB, free: 13.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.216, allocations: 0 / 478.3 MB, free: 13.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008818/1.225, allocations: 0.9691 MB / 479.2 MB, free: 12.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/1.226, allocations: 113.9 kB / 479.4 MB, free: 12.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008128/1.234, allocations: 1.331 MB / 480.7 MB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008796/1.235, allocations: 0.9548 MB / 481.6 MB, free: 9.871 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007164/1.236, allocations: 54.02 kB / 481.7 MB, free: 9.816 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007063/1.237, allocations: 263.3 kB / 482 MB, free: 9.559 MB / 394.7 MB Notification: Performance of SimCode: time 1.843e-06/1.237, allocations: 0 / 482 MB, free: 9.559 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1317/1.369, allocations: 26.57 MB / 0.4966 GB, free: 15.04 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003262/1.369, allocations: 185.9 kB / 0.4968 GB, free: 14.82 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.942/5.311, allocations: 0 / 0.4968 GB, free: 14.82 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate_res.mat does not exist to compare? outputFormat=mat