Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.64/1.64, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.022e-05/3.026e-05, allocations: 7.984 kB / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2543, allocations: 38.77 MB / 263.9 MB, free: 9.715 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1477/0.4021, allocations: 71.5 MB / 335.3 MB, free: 2.109 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/0.4024, allocations: 71.97 kB / 335.4 MB, free: 2.039 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07364/0.4761, allocations: 13.94 MB / 349.4 MB, free: 4.043 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4761, allocations: 0 / 349.4 MB, free: 4.043 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.312e-05/0.4762, allocations: 16 kB / 349.4 MB, free: 4.027 MB / 298.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.006451/0.4827, allocations: 1.327 MB / 350.7 MB, free: 2.637 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/0.4827, allocations: 12.03 kB / 350.7 MB, free: 2.625 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003444/0.4831, allocations: 102.5 kB / 350.8 MB, free: 2.516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003472/0.4835, allocations: 86.97 kB / 350.9 MB, free: 2.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/0.4856, allocations: 0.5874 MB / 351.5 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.41e-05/0.4857, allocations: 49.31 kB / 351.5 MB, free: 1.754 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/0.4859, allocations: 60 kB / 351.6 MB, free: 1.695 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.4878, allocations: 0.6196 MB / 352.2 MB, free: 1.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/0.4879, allocations: 0 / 352.2 MB, free: 1.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.488, allocations: 20 kB / 352.2 MB, free: 1.051 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.4881, allocations: 16 kB / 352.2 MB, free: 1.035 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.49, allocations: 0.6378 MB / 352.9 MB, free: 404 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007104/0.4971, allocations: 2.362 MB / 355.2 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.4987, allocations: 0.5065 MB / 355.8 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008731/0.4996, allocations: 298.2 kB / 356 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.442e-05/0.4997, allocations: 8.422 kB / 356.1 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.5008, allocations: 409.6 kB / 356.5 MB, free: 12.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=54): time 5.771e-06/0.5009, allocations: 0 / 356.5 MB, free: 12.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.1034/0.6043, allocations: 10.56 MB / 367 MB, free: 2.062 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.6044, allocations: 149.3 kB / 367.2 MB, free: 1.887 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008875/0.6053, allocations: 452.8 kB / 367.6 MB, free: 1.445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002736/0.6056, allocations: 45.7 kB / 367.6 MB, free: 1.395 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003868/0.606, allocations: 375.8 kB / 368 MB, free: 1.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004519/0.6065, allocations: 315.4 kB / 368.3 MB, free: 0.707 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.6067, allocations: 20 kB / 368.3 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.6069, allocations: 382.8 kB / 368.7 MB, free: 312 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2147/0.8216, allocations: 0.5416 MB / 369.3 MB, free: 88.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002136/0.8238, allocations: 0.7526 MB / 370 MB, free: 88.47 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/0.8257, allocations: 0.6239 MB / 370.6 MB, free: 88.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.8257, allocations: 1.656 kB / 370.6 MB, free: 88.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.04914/0.8748, allocations: 6.201 MB / 376.8 MB, free: 88.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.388e-05/0.875, allocations: 69.77 kB / 376.9 MB, free: 88.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.875, allocations: 3.688 kB / 376.9 MB, free: 88.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05245/0.9275, allocations: 6.105 MB / 383 MB, free: 87.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.9288, allocations: 177 kB / 383.2 MB, free: 87.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007545/0.9364, allocations: 2.934 MB / 386.1 MB, free: 84.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003705/0.9402, allocations: 290.4 kB / 386.4 MB, free: 83.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002114/0.9404, allocations: 47.5 kB / 386.4 MB, free: 83.94 MB / 314.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.0004118/0.9408, allocations: 168 kB / 386.6 MB, free: 83.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/0.9411, allocations: 80.62 kB / 386.7 MB, free: 83.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03727/0.9784, allocations: 4.757 MB / 391.4 MB, free: 79.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/0.9784, allocations: 8 kB / 391.5 MB, free: 79.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.9784, allocations: 0 / 391.5 MB, free: 79.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.978e-05/0.9785, allocations: 5.062 kB / 391.5 MB, free: 79.47 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/0.9807, allocations: 1.26 MB / 392.7 MB, free: 78.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.9807, allocations: 2.812 kB / 392.7 MB, free: 78.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.9817, allocations: 127.9 kB / 392.8 MB, free: 78.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05179/1.034, allocations: 6.046 MB / 398.9 MB, free: 72.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003024/1.034, allocations: 23.97 kB / 398.9 MB, free: 71.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03935/1.073, allocations: 8.699 MB / 407.6 MB, free: 63.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.073, allocations: 3.953 kB / 407.6 MB, free: 63.13 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03926/1.113, allocations: 5.48 MB / 413.1 MB, free: 57.63 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/1.113, allocations: 144.2 kB / 413.2 MB, free: 57.47 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002626/1.113, allocations: 27.73 kB / 413.3 MB, free: 57.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003261/1.116, allocations: 287.7 kB / 413.5 MB, free: 57.17 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006827/1.117, allocations: 144.2 kB / 413.7 MB, free: 57.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/1.117, allocations: 31.98 kB / 413.7 MB, free: 57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005174/1.118, allocations: 337.6 kB / 414 MB, free: 56.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.118, allocations: 0 / 414 MB, free: 56.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001299/1.119, allocations: 332.9 kB / 414.4 MB, free: 56.36 MB / 314.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.03981/1.159, allocations: 6.059 MB / 420.4 MB, free: 50.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00643/1.165, allocations: 1.679 MB / 422.1 MB, free: 48.56 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.166, allocations: 1.125 kB / 422.1 MB, free: 48.56 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00667/1.172, allocations: 1.284 MB / 423.4 MB, free: 47.26 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/1.173, allocations: 106.4 kB / 423.5 MB, free: 47.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/1.183, allocations: 2.038 MB / 425.5 MB, free: 45.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/1.184, allocations: 0.9666 MB / 426.5 MB, free: 44.1 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004842/1.184, allocations: 61.28 kB / 426.6 MB, free: 44.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000443/1.185, allocations: 271.3 kB / 426.8 MB, free: 43.78 MB / 314.7 MB Notification: Performance of SimCode: time 1.162e-06/1.185, allocations: 0 / 426.8 MB, free: 43.78 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1021/1.287, allocations: 35.56 MB / 462.4 MB, free: 8.324 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001345/1.287, allocations: 186.9 kB / 462.6 MB, free: 8.098 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.108/5.395, allocations: 4 kB / 462.6 MB, free: 8.094 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate_res.mat does not exist to compare? outputFormat=mat