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.279/2.279, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.04e-05/2.048e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3252, allocations: 44.5 MB / 294.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1463/0.4716, allocations: 75.98 MB / 370.2 MB, free: 5.945 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003318/0.472, allocations: 67.95 kB / 370.3 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.106/0.5781, allocations: 13.75 MB / 384 MB, free: 8.086 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.5781, allocations: 0 / 384 MB, free: 8.086 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.338e-05/0.5782, allocations: 16 kB / 384 MB, free: 8.07 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.006649/0.5849, allocations: 1.323 MB / 385.4 MB, free: 6.688 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/0.585, allocations: 8.031 kB / 385.4 MB, free: 6.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004914/0.5855, allocations: 94.92 kB / 385.5 MB, free: 6.586 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002263/0.5877, allocations: 0.5818 MB / 386 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.3e-05/0.5878, allocations: 20 kB / 386.1 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/0.588, allocations: 39.91 kB / 386.1 MB, free: 5.902 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001869/0.5899, allocations: 0.5962 MB / 386.7 MB, free: 5.309 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.5915, allocations: 0.535 MB / 387.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/0.5916, allocations: 4 kB / 387.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.686e-05/0.5917, allocations: 0 / 387.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.5918, allocations: 19.95 kB / 387.3 MB, free: 4.738 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007349/0.5991, allocations: 2.235 MB / 389.5 MB, free: 2.418 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.6006, allocations: 491.9 kB / 390 MB, free: 1.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007488/0.6014, allocations: 278.2 kB / 390.2 MB, free: 1.652 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.925e-05/0.6015, allocations: 16.42 kB / 390.3 MB, free: 1.637 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009857/0.6025, allocations: 380.7 kB / 390.6 MB, free: 1.242 MB / 330.7 MB Notification: Performance of pre-optimization done (n=54): time 2.806e-06/0.6025, allocations: 0 / 390.6 MB, free: 1.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=94): time 0.08657/0.6891, allocations: 10.35 MB / 401 MB, free: 6.816 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.6893, allocations: 149.3 kB / 401.1 MB, free: 6.641 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000844/0.6901, allocations: 406.2 kB / 401.5 MB, free: 6.234 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002781/0.6904, allocations: 29.7 kB / 401.6 MB, free: 6.199 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/0.6908, allocations: 379.7 kB / 401.9 MB, free: 5.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004344/0.6913, allocations: 295.5 kB / 402.2 MB, free: 5.527 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.6914, allocations: 0 / 402.2 MB, free: 5.527 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000231/0.6917, allocations: 386.8 kB / 402.6 MB, free: 5.141 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.6933, allocations: 0.526 MB / 403.1 MB, free: 4.613 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001817/0.6951, allocations: 0.733 MB / 403.9 MB, free: 3.809 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001901/0.697, allocations: 0.5647 MB / 404.4 MB, free: 3.246 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/0.6971, allocations: 4 kB / 404.4 MB, free: 3.242 MB / 346.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.05208/0.7491, allocations: 6.037 MB / 410.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.737e-05/0.7493, allocations: 63.34 kB / 410.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/0.7493, allocations: 8 kB / 410.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.054/0.8033, allocations: 5.955 MB / 416.5 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.8048, allocations: 187.7 kB / 416.7 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009059/0.8139, allocations: 3.157 MB / 419.8 MB, free: 3.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003868/0.8178, allocations: 275.8 kB / 420.1 MB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002931/0.8181, allocations: 47.97 kB / 420.1 MB, free: 3.422 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.T2.vbc:DUMMY_DER(fixed = false ) type: Real $DER.T1.vbe:DUMMY_DER(fixed = false ) type: Real $DER.T1.vbc:DUMMY_DER(fixed = false ) type: Real $DER.T1.T_heatPort:DUMMY_DER(fixed = false ) "Temperature of heatPort" type: Real $DER.T2.T_heatPort:DUMMY_DER(fixed = false ) "Temperature of heatPort" type: Real 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.0005417/0.8187, allocations: 129.1 kB / 420.3 MB, free: 3.285 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.2975/1.116, allocations: 5.016 MB / 425.3 MB, free: 108.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004337/1.117, allocations: 75.91 kB / 425.4 MB, free: 108.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03834/1.155, allocations: 4.644 MB / 430 MB, free: 108.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.993e-05/1.155, allocations: 13.61 kB / 430 MB, free: 108.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/1.155, allocations: 1.312 kB / 430 MB, free: 108.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.852e-05/1.155, allocations: 7.438 kB / 430 MB, free: 108.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/1.157, allocations: 1.152 MB / 431.2 MB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/1.157, allocations: 3.891 kB / 431.2 MB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/1.159, allocations: 127.2 kB / 431.3 MB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05126/1.21, allocations: 5.956 MB / 437.3 MB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003299/1.21, allocations: 10.39 kB / 437.3 MB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04119/1.251, allocations: 8.634 MB / 445.9 MB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/1.252, allocations: 3.719 kB / 445.9 MB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04637/1.298, allocations: 5.377 MB / 451.3 MB, free: 97.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007502/1.299, allocations: 294.5 kB / 451.6 MB, free: 97.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003017/1.299, allocations: 4 kB / 451.6 MB, free: 97.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00334/1.302, allocations: 267.8 kB / 451.8 MB, free: 97.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007099/1.303, allocations: 144.3 kB / 452 MB, free: 97.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/1.303, allocations: 28.67 kB / 452 MB, free: 97.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000522/1.304, allocations: 307 kB / 452.3 MB, free: 96.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.304, allocations: 0 / 452.3 MB, free: 96.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001383/1.305, allocations: 294.4 kB / 452.6 MB, free: 96.59 MB / 362.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.03907/1.344, allocations: 5.945 MB / 458.5 MB, free: 90.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005613/1.35, allocations: 1.612 MB / 460.1 MB, free: 89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.35, allocations: 320 / 460.1 MB, free: 89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006511/1.357, allocations: 1.236 MB / 461.4 MB, free: 87.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/1.358, allocations: 103.3 kB / 461.5 MB, free: 87.67 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009802/1.367, allocations: 1.95 MB / 463.4 MB, free: 85.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/1.368, allocations: 0.9705 MB / 464.4 MB, free: 84.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000512/1.368, allocations: 55.95 kB / 464.5 MB, free: 84.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004441/1.369, allocations: 263.3 kB / 464.7 MB, free: 84.37 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/1.369, allocations: 0 / 464.7 MB, free: 84.37 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1338/1.503, allocations: 33.26 MB / 498 MB, free: 51.15 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/1.503, allocations: 150.4 kB / 498.1 MB, free: 50.95 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.411/5.914, allocations: 0 / 498.1 MB, free: 50.95 MB / 362.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