Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.007/2.007, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.113e-05/5.126e-05, allocations: 8 kB / 292.3 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1228, allocations: 50.41 MB / 342.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4708/0.5936, allocations: 80.92 MB / 423.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.594, allocations: 81.42 kB / 423.7 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02718/0.6211, allocations: 5.782 MB / 429.4 MB, free: 7.922 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6212, allocations: 0 / 429.4 MB, free: 7.922 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.257e-05/0.6212, allocations: 8 kB / 429.4 MB, free: 7.914 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001412/0.6227, allocations: 0.563 MB / 430 MB, free: 7.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.6227, allocations: 12.03 kB / 430 MB, free: 7.309 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.676e-05/0.6228, allocations: 60.41 kB / 430.1 MB, free: 7.254 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.107e-05/0.6229, allocations: 27.72 kB / 430.1 MB, free: 7.227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004491/0.6234, allocations: 266.9 kB / 430.4 MB, free: 6.949 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.6234, allocations: 14 kB / 430.4 MB, free: 6.941 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-05/0.6235, allocations: 22.61 kB / 430.4 MB, free: 6.926 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005541/0.6241, allocations: 225.5 kB / 430.6 MB, free: 6.762 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.6241, allocations: 3.953 kB / 430.6 MB, free: 6.758 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.217e-05/0.6241, allocations: 15.12 kB / 430.6 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.6242, allocations: 4 kB / 430.6 MB, free: 6.742 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004629/0.6246, allocations: 150 kB / 430.8 MB, free: 6.652 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002618/0.6273, allocations: 1.027 MB / 431.8 MB, free: 5.703 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.6278, allocations: 138.2 kB / 432 MB, free: 5.605 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.6279, allocations: 53.3 kB / 432 MB, free: 5.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.628, allocations: 8 kB / 432 MB, free: 5.562 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000312/0.6283, allocations: 124.9 kB / 432.1 MB, free: 5.441 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.675e-06/0.6283, allocations: 0 / 432.1 MB, free: 5.441 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009896/0.6293, allocations: 235.5 kB / 432.4 MB, free: 5.238 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/0.6294, allocations: 110 kB / 432.5 MB, free: 5.109 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003626/0.6298, allocations: 235.6 kB / 432.7 MB, free: 4.918 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.6298, allocations: 33.45 kB / 432.7 MB, free: 4.883 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.63, allocations: 176.1 kB / 432.9 MB, free: 4.734 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.73e-05/0.6301, allocations: 41.77 kB / 432.9 MB, free: 4.699 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.953e-05/0.6301, allocations: 3.438 kB / 432.9 MB, free: 4.699 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.6302, allocations: 327.9 kB / 433.3 MB, free: 4.379 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.6304, allocations: 60.48 kB / 433.3 MB, free: 4.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.6306, allocations: 123.5 kB / 433.4 MB, free: 4.219 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.6309, allocations: 92.55 kB / 433.5 MB, free: 4.141 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.6309, allocations: 0 / 433.5 MB, free: 4.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001103/0.632, allocations: 332 kB / 433.9 MB, free: 3.855 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/0.632, allocations: 41.45 kB / 433.9 MB, free: 3.812 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.6321, allocations: 3.984 kB / 433.9 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002828/0.6324, allocations: 42.91 kB / 433.9 MB, free: 3.773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/0.6328, allocations: 43.91 kB / 434 MB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002457/0.6352, allocations: 1.623 MB / 435.6 MB, free: 2.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006121/0.6359, allocations: 55.69 kB / 435.7 MB, free: 2.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.6359, allocations: 11.98 kB / 435.7 MB, free: 2.027 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001304/0.6361, allocations: 124.2 kB / 435.8 MB, free: 1.906 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/0.6361, allocations: 27.78 kB / 435.8 MB, free: 1.879 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.493e-05/0.6362, allocations: 30.72 kB / 435.9 MB, free: 1.852 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.6362, allocations: 224 / 435.9 MB, free: 1.852 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6362, allocations: 0 / 435.9 MB, free: 1.852 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.6363, allocations: 7.938 kB / 435.9 MB, free: 1.844 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.6367, allocations: 288.9 kB / 436.1 MB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.6367, allocations: 0 / 436.1 MB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.6369, allocations: 27.97 kB / 436.2 MB, free: 1.531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001975/0.6372, allocations: 48.16 kB / 436.2 MB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.6372, allocations: 6.609 kB / 436.2 MB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.6392, allocations: 1.498 MB / 437.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.6392, allocations: 0 / 437.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009174/0.6401, allocations: 258.9 kB / 438 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.6403, allocations: 100.8 kB / 438.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.785e-05/0.6403, allocations: 3.938 kB / 438.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005082/0.6409, allocations: 39.97 kB / 438.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.641, allocations: 19.66 kB / 438.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.641, allocations: 11.48 kB / 438.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002917/0.6413, allocations: 182.3 kB / 438.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6413, allocations: 4 kB / 438.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005732/0.6419, allocations: 75.09 kB / 438.4 MB, free: 15.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00133/0.6433, allocations: 0.8014 MB / 439.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007625/0.6441, allocations: 312.9 kB / 439.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.6441, allocations: 0 / 439.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003979/0.6445, allocations: 184.9 kB / 439.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.645, allocations: 50.47 kB / 439.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.6461, allocations: 307.5 kB / 440 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.6465, allocations: 0.7521 MB / 440.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001896/0.6467, allocations: 30.05 kB / 440.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.6469, allocations: 74.77 kB / 440.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of SimCode: time 9.91e-07/0.6469, allocations: 0 / 440.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03702/0.6839, allocations: 5.532 MB / 446.4 MB, free: 7.508 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002988/0.6843, allocations: 187.2 kB / 446.6 MB, free: 7.285 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.548/3.232, allocations: 3.938 kB / 446.6 MB, free: 7.281 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat does not exist to compare? outputFormat=mat