Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.02/2.02, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.227e-05/3.238e-05, allocations: 4 kB / 255.5 MB, free: 2.59 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0917/0.09176, allocations: 44.5 MB / 300 MB, free: 6.027 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4001/0.492, allocations: 74.46 MB / 374.4 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.4923, allocations: 74 kB / 374.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02341/0.5157, allocations: 4.909 MB / 379.4 MB, free: 11.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.5158, allocations: 1.156 kB / 379.4 MB, free: 11.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.786e-05/0.5158, allocations: 3.281 kB / 379.4 MB, free: 11.78 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001137/0.517, allocations: 0.5285 MB / 380 MB, free: 11.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.517, allocations: 11.42 kB / 380 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.682e-05/0.5171, allocations: 53.41 kB / 380 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.818e-05/0.5172, allocations: 29.56 kB / 380.1 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.5176, allocations: 250.4 kB / 380.3 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.5176, allocations: 12.22 kB / 380.3 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.261e-05/0.5177, allocations: 20.06 kB / 380.3 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.5182, allocations: 180 kB / 380.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.5182, allocations: 0 / 380.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.5182, allocations: 13.25 kB / 380.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.5183, allocations: 3.25 kB / 380.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003899/0.5187, allocations: 129.9 kB / 380.6 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/0.5208, allocations: 0.8553 MB / 381.5 MB, free: 10.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/0.5213, allocations: 126.9 kB / 381.6 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.5214, allocations: 54.19 kB / 381.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.5215, allocations: 1.438 kB / 381.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002819/0.5218, allocations: 121.9 kB / 381.8 MB, free: 10.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 2.205e-06/0.5218, allocations: 0 / 381.8 MB, free: 10.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009376/0.5227, allocations: 197.9 kB / 382 MB, free: 10.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.5228, allocations: 82.17 kB / 382.1 MB, free: 10.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.5231, allocations: 203.2 kB / 382.3 MB, free: 10.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.5232, allocations: 28.39 kB / 382.3 MB, free: 10.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.5233, allocations: 164.9 kB / 382.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.5234, allocations: 41.73 kB / 382.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.848e-05/0.5234, allocations: 1.125 kB / 382.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.026e-05/0.5235, allocations: 330.6 kB / 382.8 MB, free: 9.719 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.5236, allocations: 49.09 kB / 382.9 MB, free: 9.711 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.5238, allocations: 100.9 kB / 383 MB, free: 9.648 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.524, allocations: 82.52 kB / 383.1 MB, free: 9.609 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.524, allocations: 6.828 kB / 383.1 MB, free: 9.605 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001029/0.5251, allocations: 284.8 kB / 383.3 MB, free: 9.508 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.5251, allocations: 37.83 kB / 383.4 MB, free: 9.477 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.5251, allocations: 6.359 kB / 383.4 MB, free: 9.473 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006916/0.5258, allocations: 73.77 kB / 383.5 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004205/0.5263, allocations: 51.98 kB / 383.5 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.5279, allocations: 1.33 MB / 384.8 MB, free: 8.195 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005246/0.5284, allocations: 40.38 kB / 384.9 MB, free: 8.188 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.5285, allocations: 6.766 kB / 384.9 MB, free: 8.188 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 18 * 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.0001149/0.5286, allocations: 133.2 kB / 385 MB, free: 8.066 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/0.5287, allocations: 21.34 kB / 385 MB, free: 8.055 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.586e-05/0.5287, allocations: 20.2 kB / 385 MB, free: 8.047 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.5288, allocations: 1.375 kB / 385.1 MB, free: 8.047 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.5288, allocations: 1.375 kB / 385.1 MB, free: 8.047 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.5288, allocations: 6.703 kB / 385.1 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/0.5292, allocations: 280.7 kB / 385.3 MB, free: 7.848 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.5292, allocations: 3.938 kB / 385.3 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003683/0.5295, allocations: 40.22 kB / 385.4 MB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000625/0.5302, allocations: 77.48 kB / 385.5 MB, free: 7.828 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.5302, allocations: 4.75 kB / 385.5 MB, free: 7.828 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/0.5316, allocations: 1.338 MB / 386.8 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5316, allocations: 1.344 kB / 386.8 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.5327, allocations: 278.7 kB / 387.1 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003017/0.533, allocations: 97.28 kB / 387.2 MB, free: 22.35 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.432e-05/0.5331, allocations: 8.625 kB / 387.2 MB, free: 22.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/0.5334, allocations: 33.7 kB / 387.2 MB, free: 22.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.5336, allocations: 16.75 kB / 387.2 MB, free: 22.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.5336, allocations: 3.156 kB / 387.2 MB, free: 22.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002449/0.5338, allocations: 165.8 kB / 387.4 MB, free: 22.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5339, allocations: 0 / 387.4 MB, free: 22.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004611/0.5343, allocations: 62.16 kB / 387.4 MB, free: 22.26 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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.001444/0.5358, allocations: 0.8205 MB / 388.3 MB, free: 21.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005751/0.5364, allocations: 282.7 kB / 388.5 MB, free: 21.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5364, allocations: 0 / 388.5 MB, free: 21.47 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002763/0.5367, allocations: 164.7 kB / 388.7 MB, free: 21.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.537, allocations: 32.78 kB / 388.7 MB, free: 21.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.5382, allocations: 365.3 kB / 389.1 MB, free: 21.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.5385, allocations: 0.7464 MB / 389.8 MB, free: 20.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.5387, allocations: 19.62 kB / 389.9 MB, free: 20.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.5389, allocations: 59.38 kB / 389.9 MB, free: 20.43 MB / 330.7 MB Notification: Performance of SimCode: time 8.41e-07/0.5389, allocations: 0 / 389.9 MB, free: 20.43 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.5647, allocations: 4.692 MB / 394.6 MB, free: 19.94 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.565, allocations: 182 kB / 394.8 MB, free: 19.71 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.678/3.243, allocations: 3.938 kB / 394.8 MB, free: 19.71 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat does not exist to compare? outputFormat=mat