Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.093/2.093, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.18e-05/4.202e-05, allocations: 4 kB / 292.8 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1178, allocations: 50.41 MB / 343.2 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4531/0.571, allocations: 83.18 MB / 426.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/0.5714, allocations: 76.11 kB / 426.4 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1153/0.6868, allocations: 12.7 MB / 439.1 MB, free: 128 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6868, allocations: 0 / 439.1 MB, free: 128 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.207e-05/0.6869, allocations: 16 kB / 439.1 MB, free: 112 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.004454/0.6914, allocations: 1.069 MB / 440.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.6914, allocations: 11.97 kB / 440.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000347/0.6918, allocations: 107.1 kB / 440.3 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003298/0.6921, allocations: 90.97 kB / 440.4 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/0.6939, allocations: 0.5073 MB / 440.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.451e-05/0.694, allocations: 44.94 kB / 441 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000227/0.6942, allocations: 68.2 kB / 441 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.696, allocations: 0.5561 MB / 441.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/0.6961, allocations: 0 / 441.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.6962, allocations: 28.38 kB / 441.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.6962, allocations: 16 kB / 441.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.698, allocations: 0.5329 MB / 442.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01117/0.7092, allocations: 2.347 MB / 444.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002171/0.7114, allocations: 462.1 kB / 445 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/0.7128, allocations: 255.9 kB / 445.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.7129, allocations: 12.36 kB / 445.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001348/0.7143, allocations: 346 kB / 445.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=54): time 5.57e-06/0.7144, allocations: 0 / 445.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=94): time 0.1373/0.8517, allocations: 13.49 MB / 459 MB, free: 14.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.8519, allocations: 137.3 kB / 459.2 MB, free: 14.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009265/0.8528, allocations: 460.9 kB / 459.6 MB, free: 13.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002858/0.8531, allocations: 45.7 kB / 459.7 MB, free: 13.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003959/0.8535, allocations: 391.7 kB / 460.1 MB, free: 13.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004423/0.854, allocations: 311.5 kB / 460.4 MB, free: 13.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.8541, allocations: 24 kB / 460.4 MB, free: 13.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002056/0.8544, allocations: 386.7 kB / 460.8 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.8559, allocations: 474.3 kB / 461.2 MB, free: 12.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/0.8577, allocations: 0.6958 MB / 461.9 MB, free: 11.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.8593, allocations: 0.547 MB / 462.5 MB, free: 10.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.76e-05/0.8593, allocations: 4 kB / 462.5 MB, free: 10.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0399/0.8993, allocations: 4.836 MB / 467.3 MB, free: 5.984 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.605e-05/0.8994, allocations: 59.41 kB / 467.4 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.8994, allocations: 12.12 kB / 467.4 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06522/0.9647, allocations: 6.938 MB / 474.3 MB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.9662, allocations: 179.7 kB / 474.5 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009851/0.976, allocations: 2.822 MB / 477.3 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003407/0.9795, allocations: 231.7 kB / 477.5 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002873/0.9798, allocations: 51.92 kB / 477.6 MB, free: 11.62 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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.0004313/0.9803, allocations: 160.8 kB / 477.7 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002843/0.9806, allocations: 79.06 kB / 477.8 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03905/1.02, allocations: 4.685 MB / 482.5 MB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.014e-05/1.02, allocations: 12 kB / 482.5 MB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/1.02, allocations: 0 / 482.5 MB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-05/1.02, allocations: 3.984 kB / 482.5 MB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/1.022, allocations: 1.11 MB / 483.6 MB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/1.022, allocations: 4 kB / 483.6 MB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/1.023, allocations: 127.8 kB / 483.8 MB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.06405/1.088, allocations: 6.899 MB / 490.7 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003035/1.088, allocations: 27.97 kB / 490.7 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00955/1.097, allocations: 2.838 MB / 493.5 MB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/1.098, allocations: 0 / 493.5 MB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04115/1.139, allocations: 5.325 MB / 498.8 MB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/1.139, allocations: 144.2 kB / 499 MB, free: 6.016 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003105/1.139, allocations: 19.95 kB / 499 MB, free: 5.996 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003028/1.142, allocations: 211.8 kB / 499.2 MB, free: 5.789 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004722/1.143, allocations: 96.62 kB / 499.3 MB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001766/1.143, allocations: 35.97 kB / 499.3 MB, free: 5.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007029/1.144, allocations: 349.6 kB / 499.7 MB, free: 5.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.144, allocations: 0 / 499.7 MB, free: 5.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001376/1.145, allocations: 271.9 kB / 500 MB, free: 5.055 MB / 410.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.04208/1.187, allocations: 5.907 MB / 0.494 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008699/1.196, allocations: 1.653 MB / 0.4956 GB, free: 13.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.196, allocations: 0 / 0.4956 GB, free: 13.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006507/1.203, allocations: 0.9694 MB / 0.4966 GB, free: 12.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/1.204, allocations: 117.9 kB / 0.4967 GB, free: 12.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005961/1.21, allocations: 1.36 MB / 0.498 GB, free: 10.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007316/1.211, allocations: 0.9706 MB / 0.499 GB, free: 9.945 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005632/1.211, allocations: 54.28 kB / 0.499 GB, free: 9.891 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005923/1.212, allocations: 275.3 kB / 0.4993 GB, free: 9.621 MB / 426.7 MB Notification: Performance of SimCode: time 1.493e-06/1.212, allocations: 0 / 0.4993 GB, free: 9.621 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4067/1.619, allocations: 26.94 MB / 0.5256 GB, free: 147.1 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002568/1.619, allocations: 181.2 kB / 0.5257 GB, free: 146.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.021/5.64, allocations: 3.938 kB / 0.5258 GB, free: 146.8 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat does not exist to compare? outputFormat=mat