Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.005/2.005, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.378e-05/3.412e-05, allocations: 4 kB / 269.4 MB, free: 6.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1027, allocations: 47.57 MB / 317 MB, free: 6.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4479/0.5507, allocations: 81.07 MB / 398.1 MB, free: 6.703 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.551, allocations: 72.2 kB / 398.2 MB, free: 6.668 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06157/0.6126, allocations: 12.04 MB / 410.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6127, allocations: 0 / 410.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.429e-05/0.6127, allocations: 20 kB / 410.2 MB, free: 12.35 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.004007/0.6168, allocations: 1.047 MB / 411.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.6168, allocations: 8.031 kB / 411.3 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002242/0.6171, allocations: 104.6 kB / 411.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002719/0.6173, allocations: 86.97 kB / 411.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.6187, allocations: 498.5 kB / 411.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.487e-05/0.6188, allocations: 48.62 kB / 412 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.619, allocations: 62.69 kB / 412.1 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.6206, allocations: 0.5448 MB / 412.6 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.6206, allocations: 0 / 412.6 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.786e-05/0.6207, allocations: 23.44 kB / 412.6 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.6208, allocations: 16 kB / 412.6 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.6223, allocations: 0.5214 MB / 413.2 MB, free: 9.875 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006481/0.6288, allocations: 2.303 MB / 415.5 MB, free: 7.941 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.6301, allocations: 450.2 kB / 415.9 MB, free: 7.672 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006296/0.6307, allocations: 253.1 kB / 416.1 MB, free: 7.527 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.6308, allocations: 16.36 kB / 416.2 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008543/0.6317, allocations: 340.7 kB / 416.5 MB, free: 7.242 MB / 330.7 MB Notification: Performance of pre-optimization done (n=54): time 3.797e-06/0.6317, allocations: 0 / 416.5 MB, free: 7.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=94): time 0.1253/0.757, allocations: 13.48 MB / 430 MB, free: 10.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/0.7573, allocations: 145.3 kB / 430.1 MB, free: 10.81 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.7585, allocations: 423.8 kB / 430.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003838/0.7589, allocations: 43.58 kB / 430.6 MB, free: 10.45 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004881/0.7594, allocations: 358.5 kB / 430.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006096/0.76, allocations: 314.7 kB / 431.2 MB, free: 9.914 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.7603, allocations: 18.75 kB / 431.2 MB, free: 9.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000267/0.7605, allocations: 382.6 kB / 431.6 MB, free: 9.559 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002235/0.7628, allocations: 480.2 kB / 432.1 MB, free: 9.301 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002555/0.7654, allocations: 0.6569 MB / 432.7 MB, free: 8.789 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00246/0.7679, allocations: 0.546 MB / 433.3 MB, free: 8.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.768, allocations: 0 / 433.3 MB, free: 8.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.084/0.852, allocations: 4.804 MB / 438.1 MB, free: 4.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.8521, allocations: 66.39 kB / 438.2 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/0.8522, allocations: 4 kB / 438.2 MB, free: 4.152 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09316/0.9454, allocations: 6.923 MB / 445.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/0.9472, allocations: 187.4 kB / 445.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007306/0.9546, allocations: 2.656 MB / 447.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003096/0.9577, allocations: 226.2 kB / 448.1 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/0.9579, allocations: 47.09 kB / 448.2 MB, free: 11.03 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.0003792/0.9583, allocations: 162 kB / 448.4 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/0.9585, allocations: 75.16 kB / 448.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03924/0.9978, allocations: 4.669 MB / 453.1 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.507e-05/0.9978, allocations: 12.25 kB / 453.1 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.9979, allocations: 7.938 kB / 453.1 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.991e-05/0.9979, allocations: 7.984 kB / 453.1 MB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002414/1, allocations: 1.11 MB / 454.2 MB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/1, allocations: 0 / 454.2 MB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/1.002, allocations: 127.8 kB / 454.4 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.06338/1.065, allocations: 6.895 MB / 461.3 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002694/1.065, allocations: 23.97 kB / 461.3 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007486/1.073, allocations: 2.7 MB / 464 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.073, allocations: 0 / 464 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04081/1.114, allocations: 5.295 MB / 469.3 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003191/1.114, allocations: 148.1 kB / 469.4 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002642/1.114, allocations: 16 kB / 469.4 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002845/1.117, allocations: 215.8 kB / 469.6 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004216/1.118, allocations: 108.6 kB / 469.7 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001543/1.118, allocations: 31.97 kB / 469.8 MB, free: 5.871 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006016/1.118, allocations: 325.6 kB / 470.1 MB, free: 5.555 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.118, allocations: 3.938 kB / 470.1 MB, free: 5.551 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001178/1.12, allocations: 260 kB / 470.4 MB, free: 5.297 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.04154/1.161, allocations: 5.898 MB / 476.3 MB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006994/1.168, allocations: 1.497 MB / 477.7 MB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/1.168, allocations: 4.062 kB / 477.8 MB, free: 13.83 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004552/1.173, allocations: 0.8198 MB / 478.6 MB, free: 13.01 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/1.174, allocations: 110 kB / 478.7 MB, free: 12.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004909/1.179, allocations: 1.348 MB / 480 MB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006259/1.18, allocations: 0.9509 MB / 481 MB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005022/1.18, allocations: 54.08 kB / 481 MB, free: 10.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005278/1.181, allocations: 263.9 kB / 481.3 MB, free: 10.22 MB / 394.7 MB Notification: Performance of SimCode: time 1.794e-06/1.181, allocations: 0 / 481.3 MB, free: 10.22 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1227/1.303, allocations: 27.12 MB / 0.4965 GB, free: 15.16 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003182/1.304, allocations: 191 kB / 0.4967 GB, free: 14.93 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.969/5.273, allocations: 0 / 0.4967 GB, free: 14.93 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat does not exist to compare? outputFormat=mat