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.088/2.088, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.2e-05/3.221e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3131, allocations: 44.5 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1304/0.4436, allocations: 73.79 MB / 368 MB, free: 8.051 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.444, allocations: 75.95 kB / 368.1 MB, free: 7.977 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0225/0.4665, allocations: 4.862 MB / 373 MB, free: 3.102 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4665, allocations: 0 / 373 MB, free: 3.102 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.804e-05/0.4666, allocations: 4 kB / 373 MB, free: 3.098 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.001169/0.4678, allocations: 0.5244 MB / 373.5 MB, free: 2.516 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.4678, allocations: 12.03 kB / 373.5 MB, free: 2.504 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.509e-05/0.4679, allocations: 23.72 kB / 373.5 MB, free: 2.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.4683, allocations: 250.6 kB / 373.8 MB, free: 2.195 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.4684, allocations: 11.98 kB / 373.8 MB, free: 2.184 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-05/0.4685, allocations: 12 kB / 373.8 MB, free: 2.172 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003703/0.4688, allocations: 116.8 kB / 373.9 MB, free: 2.059 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/0.4693, allocations: 159.9 kB / 374.1 MB, free: 1.898 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.4693, allocations: 3.938 kB / 374.1 MB, free: 1.895 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.4693, allocations: 4 kB / 374.1 MB, free: 1.891 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.4694, allocations: 4 kB / 374.1 MB, free: 1.887 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.4714, allocations: 0.8062 MB / 374.9 MB, free: 1.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.4718, allocations: 118.8 kB / 375 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.472, allocations: 52.86 kB / 375.1 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.472, allocations: 3.984 kB / 375.1 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002766/0.4723, allocations: 121 kB / 375.2 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 2.184e-06/0.4723, allocations: 0 / 375.2 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008912/0.4732, allocations: 182.5 kB / 375.4 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.4733, allocations: 81.11 kB / 375.4 MB, free: 424 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.4736, allocations: 198 kB / 375.6 MB, free: 220 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.4736, allocations: 25.7 kB / 375.7 MB, free: 188 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.4738, allocations: 163.9 kB / 375.8 MB, free: 20 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.764e-05/0.4739, allocations: 43.45 kB / 375.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.65e-05/0.4739, allocations: 3.938 kB / 375.9 MB, free: 15.97 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.4741, allocations: 330.8 kB / 376.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.4742, allocations: 44.38 kB / 376.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.4744, allocations: 95.36 kB / 376.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.4746, allocations: 57.92 kB / 376.4 MB, free: 15.42 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4746, allocations: 0 / 376.4 MB, free: 15.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001067/0.4757, allocations: 242.2 kB / 376.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.187e-05/0.4758, allocations: 33.7 kB / 376.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.4758, allocations: 0 / 376.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006654/0.4765, allocations: 80.73 kB / 376.7 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/0.4769, allocations: 59.95 kB / 376.8 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.4786, allocations: 1.268 MB / 378.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004629/0.4791, allocations: 39.84 kB / 378.1 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.4792, allocations: 16.09 kB / 378.1 MB, free: 13.55 MB / 330.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.0001377/0.4793, allocations: 116.7 kB / 378.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008162/0.4801, allocations: 198.1 kB / 378.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.4802, allocations: 15.81 kB / 378.4 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.587e-05/0.4803, allocations: 17.84 kB / 378.4 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.4803, allocations: 0 / 378.4 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4803, allocations: 3.984 kB / 378.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4803, allocations: 0 / 378.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.4806, allocations: 242 kB / 378.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4806, allocations: 0 / 378.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/0.481, allocations: 43.95 kB / 378.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006009/0.4816, allocations: 72.75 kB / 378.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.4817, allocations: 7.984 kB / 378.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.4832, allocations: 1.272 MB / 380.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4832, allocations: 0 / 380.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.4842, allocations: 281.7 kB / 380.4 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.4844, allocations: 96.94 kB / 380.5 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.625e-05/0.4844, allocations: 4 kB / 380.5 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.4848, allocations: 28.03 kB / 380.5 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.4849, allocations: 15.98 kB / 380.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.4849, allocations: 7.984 kB / 380.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002182/0.4852, allocations: 152.7 kB / 380.7 MB, free: 10.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4852, allocations: 0 / 380.7 MB, free: 10.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004625/0.4857, allocations: 55.84 kB / 380.7 MB, free: 10.75 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.001416/0.4871, allocations: 0.8083 MB / 381.5 MB, free: 9.902 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005871/0.4877, allocations: 281 kB / 381.8 MB, free: 9.605 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4877, allocations: 0 / 381.8 MB, free: 9.605 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002677/0.488, allocations: 161.7 kB / 381.9 MB, free: 9.438 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.4884, allocations: 28.36 kB / 382 MB, free: 9.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.4895, allocations: 348.2 kB / 382.3 MB, free: 9.031 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.4899, allocations: 0.7399 MB / 383.1 MB, free: 8.266 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001645/0.4901, allocations: 22.08 kB / 383.1 MB, free: 8.246 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.4902, allocations: 63.34 kB / 383.1 MB, free: 8.184 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4903, allocations: 0 / 383.1 MB, free: 8.184 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04576/0.536, allocations: 4.024 MB / 387.2 MB, free: 4.176 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/0.5363, allocations: 141.9 kB / 387.3 MB, free: 3.984 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.609/3.146, allocations: 4 kB / 387.3 MB, free: 3.98 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