Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.968/1.968, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.077e-05/3.083e-05, allocations: 4 kB / 292.3 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1067, allocations: 50.4 MB / 342.7 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4791/0.5858, allocations: 81.7 MB / 424.4 MB, free: 12.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003688/0.5863, allocations: 78.39 kB / 424.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03652/0.6228, allocations: 6.29 MB / 430.7 MB, free: 6.758 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.6229, allocations: 0 / 430.7 MB, free: 6.758 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.924e-05/0.6229, allocations: 8 kB / 430.7 MB, free: 6.75 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001606/0.6245, allocations: 0.576 MB / 431.3 MB, free: 6.141 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.6246, allocations: 12.03 kB / 431.3 MB, free: 6.129 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/0.6247, allocations: 59.47 kB / 431.4 MB, free: 6.074 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.6249, allocations: 31.62 kB / 431.4 MB, free: 6.043 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005048/0.6254, allocations: 286.6 kB / 431.7 MB, free: 5.758 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.6254, allocations: 24.69 kB / 431.7 MB, free: 5.742 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.811e-05/0.6255, allocations: 22.31 kB / 431.7 MB, free: 5.727 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006515/0.6262, allocations: 263.6 kB / 432 MB, free: 5.539 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.6262, allocations: 3.938 kB / 432 MB, free: 5.535 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/0.6262, allocations: 10 kB / 432 MB, free: 5.535 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.6263, allocations: 8 kB / 432 MB, free: 5.527 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005832/0.6269, allocations: 171.6 kB / 432.2 MB, free: 5.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003308/0.6302, allocations: 1.212 MB / 433.4 MB, free: 4.344 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/0.6308, allocations: 134.8 kB / 433.5 MB, free: 4.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.6309, allocations: 73.98 kB / 433.6 MB, free: 4.199 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.631, allocations: 7.922 kB / 433.6 MB, free: 4.191 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003201/0.6313, allocations: 124.3 kB / 433.7 MB, free: 4.074 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 3.136e-06/0.6313, allocations: 3.938 kB / 433.7 MB, free: 4.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.001004/0.6324, allocations: 208.6 kB / 433.9 MB, free: 3.891 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.6324, allocations: 87.55 kB / 434 MB, free: 3.789 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/0.6328, allocations: 233 kB / 434.2 MB, free: 3.602 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.6329, allocations: 33.33 kB / 434.3 MB, free: 3.566 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.6331, allocations: 194.3 kB / 434.5 MB, free: 3.398 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.033e-05/0.6331, allocations: 45.77 kB / 434.5 MB, free: 3.359 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/0.6332, allocations: 7.25 kB / 434.5 MB, free: 3.355 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.6333, allocations: 333.6 kB / 434.8 MB, free: 3.027 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.6335, allocations: 56.92 kB / 434.9 MB, free: 2.992 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.6338, allocations: 139.9 kB / 435 MB, free: 2.848 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.634, allocations: 98.34 kB / 435.1 MB, free: 2.766 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.634, allocations: 0 / 435.1 MB, free: 2.766 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001133/0.6352, allocations: 337.1 kB / 435.5 MB, free: 2.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.807e-05/0.6352, allocations: 33.7 kB / 435.5 MB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.6352, allocations: 4 kB / 435.5 MB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001985/0.6354, allocations: 32.03 kB / 435.5 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004691/0.6359, allocations: 63.34 kB / 435.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/0.6378, allocations: 1.373 MB / 437 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006127/0.6384, allocations: 69.19 kB / 437 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.6385, allocations: 11.98 kB / 437 MB, free: 0.8398 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (25): * Single equations (assignments): 23 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.6386, allocations: 123.4 kB / 437.2 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/0.6387, allocations: 23.72 kB / 437.2 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.631e-05/0.6388, allocations: 26.83 kB / 437.2 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.6388, allocations: 4 kB / 437.2 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.6388, allocations: 3.984 kB / 437.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.6388, allocations: 3.953 kB / 437.2 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.6393, allocations: 309.3 kB / 437.5 MB, free: 376 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.6393, allocations: 0 / 437.5 MB, free: 376 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/0.6397, allocations: 35.97 kB / 437.6 MB, free: 340 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001305/0.6398, allocations: 36.34 kB / 437.6 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.6399, allocations: 7.125 kB / 437.6 MB, free: 304 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/0.6416, allocations: 1.359 MB / 439 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6416, allocations: 0 / 439 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.6427, allocations: 312.3 kB / 439.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.6429, allocations: 108.2 kB / 439.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.809e-05/0.6429, allocations: 7.609 kB / 439.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004617/0.6434, allocations: 31.97 kB / 439.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.6435, allocations: 23.48 kB / 439.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.6436, allocations: 4 kB / 439.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002856/0.6439, allocations: 190.2 kB / 439.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6439, allocations: 0 / 439.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005149/0.6444, allocations: 75.69 kB / 439.7 MB, free: 14.21 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * 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 (11): * Single equations (assignments): 8 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001536/0.646, allocations: 0.8486 MB / 440.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007025/0.6467, allocations: 309.5 kB / 440.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.6468, allocations: 4.25 kB / 440.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.6471, allocations: 166.8 kB / 441 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.6475, allocations: 43.89 kB / 441.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.6505, allocations: 0.576 MB / 441.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.6509, allocations: 0.7599 MB / 442.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001999/0.6511, allocations: 22.08 kB / 442.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.6513, allocations: 76.34 kB / 442.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of SimCode: time 1.322e-06/0.6513, allocations: 0 / 442.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03613/0.6874, allocations: 5.494 MB / 448 MB, free: 6.156 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003364/0.6878, allocations: 178.1 kB / 448.2 MB, free: 5.938 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.544/3.232, allocations: 0 / 448.2 MB, free: 5.938 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat does not exist to compare? outputFormat=mat