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 1.905/1.905, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.258e-05/3.262e-05, allocations: 4 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1159, allocations: 44.51 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5317/0.6476, allocations: 76.64 MB / 376.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.6479, allocations: 75.33 kB / 376.7 MB, free: 12.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07446/0.7224, allocations: 13.87 MB / 390.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.7225, allocations: 1.203 kB / 390.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.277e-05/0.7225, allocations: 15.5 kB / 390.6 MB, free: 11.05 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.006315/0.7288, allocations: 1.328 MB / 391.9 MB, free: 10.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.7289, allocations: 7.875 kB / 391.9 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003592/0.7293, allocations: 103.3 kB / 392 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003053/0.7296, allocations: 93.02 kB / 392.1 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/0.7318, allocations: 0.5763 MB / 392.7 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-05/0.7319, allocations: 46.77 kB / 392.7 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/0.7321, allocations: 64.66 kB / 392.8 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.7339, allocations: 0.6126 MB / 393.4 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/0.7339, allocations: 0 / 393.4 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.7341, allocations: 23.81 kB / 393.4 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.7341, allocations: 19.55 kB / 393.4 MB, free: 9.977 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.7358, allocations: 0.6281 MB / 394.1 MB, free: 9.965 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006582/0.7424, allocations: 2.337 MB / 396.4 MB, free: 9.285 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.7439, allocations: 0.4973 MB / 396.9 MB, free: 9.254 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000747/0.7446, allocations: 292.2 kB / 397.2 MB, free: 9.242 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.035e-05/0.7447, allocations: 8.219 kB / 397.2 MB, free: 9.242 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009427/0.7457, allocations: 406.9 kB / 397.6 MB, free: 9.148 MB / 314.7 MB Notification: Performance of pre-optimization done (n=54): time 3.637e-06/0.7457, allocations: 0 / 397.6 MB, free: 9.148 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.08171/0.8274, allocations: 10.52 MB / 408.1 MB, free: 6.328 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.869e-05/0.8276, allocations: 145 kB / 408.3 MB, free: 6.164 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007686/0.8283, allocations: 445 kB / 408.7 MB, free: 6.012 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002788/0.8286, allocations: 48.89 kB / 408.7 MB, free: 5.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/0.8289, allocations: 372.9 kB / 409.1 MB, free: 5.746 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003445/0.8293, allocations: 312.8 kB / 409.4 MB, free: 5.523 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.8294, allocations: 17.47 kB / 409.4 MB, free: 5.523 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.8296, allocations: 391.6 kB / 409.8 MB, free: 5.184 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001508/0.8311, allocations: 0.5417 MB / 410.4 MB, free: 5.168 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.8327, allocations: 0.7491 MB / 411.1 MB, free: 4.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.8343, allocations: 0.624 MB / 411.7 MB, free: 4.801 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.8344, allocations: 0 / 411.7 MB, free: 4.801 MB / 314.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.05124/0.8856, allocations: 6.163 MB / 417.9 MB, free: 2.707 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.016e-05/0.8857, allocations: 63 kB / 418 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.8858, allocations: 7.281 kB / 418 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05353/0.9393, allocations: 6.065 MB / 424 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.9407, allocations: 185.9 kB / 424.2 MB, free: 0.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007691/0.9484, allocations: 2.907 MB / 427.1 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003884/0.9524, allocations: 299.5 kB / 427.4 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002363/0.9526, allocations: 46.44 kB / 427.4 MB, free: 15.16 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.0004392/0.9531, allocations: 159.9 kB / 427.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.9534, allocations: 76.25 kB / 427.7 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03943/0.9928, allocations: 4.753 MB / 432.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-05/0.9929, allocations: 11.98 kB / 432.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.9929, allocations: 0 / 432.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-05/0.993, allocations: 11.97 kB / 432.5 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002714/0.9957, allocations: 1.252 MB / 433.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.9957, allocations: 4 kB / 433.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/0.9968, allocations: 126.4 kB / 433.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05541/1.052, allocations: 6.033 MB / 439.9 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003526/1.053, allocations: 23.41 kB / 439.9 MB, free: 4.793 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06062/1.113, allocations: 8.637 MB / 448.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/1.113, allocations: 4 kB / 448.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06307/1.176, allocations: 5.473 MB / 454 MB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/1.178, allocations: 280 kB / 454.3 MB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003531/1.178, allocations: 19.95 kB / 454.3 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003835/1.182, allocations: 284 kB / 454.6 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008712/1.183, allocations: 140.4 kB / 454.7 MB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002091/1.183, allocations: 39.97 kB / 454.8 MB, free: 5.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007173/1.184, allocations: 337.6 kB / 455.1 MB, free: 5.508 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.184, allocations: 7.938 kB / 455.1 MB, free: 5.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001862/1.186, allocations: 331.9 kB / 455.4 MB, free: 5.176 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.04337/1.229, allocations: 6.037 MB / 461.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006894/1.236, allocations: 1.657 MB / 463.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.236, allocations: 0 / 463.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00882/1.245, allocations: 1.264 MB / 464.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/1.247, allocations: 110 kB / 464.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/1.263, allocations: 2.016 MB / 466.5 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009545/1.264, allocations: 0.9627 MB / 467.5 MB, free: 9 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007516/1.265, allocations: 66.16 kB / 467.5 MB, free: 8.934 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007501/1.265, allocations: 271.3 kB / 467.8 MB, free: 8.668 MB / 362.7 MB Notification: Performance of SimCode: time 1.603e-06/1.265, allocations: 0 / 467.8 MB, free: 8.668 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1089/1.374, allocations: 35.28 MB / 0.4913 GB, free: 5.406 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003006/1.375, allocations: 178 kB / 0.4914 GB, free: 5.188 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.527/5.902, allocations: 0 / 0.4914 GB, free: 5.188 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