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.009/2.009, allocations: 194.9 MB / 208 MB, free: 3.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.985e-05/3.001e-05, allocations: 4 kB / 255.5 MB, free: 2.59 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08854/0.08859, allocations: 44.5 MB / 300 MB, free: 6.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4175/0.5061, allocations: 74.45 MB / 374.4 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.5065, allocations: 75.59 kB / 374.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02258/0.5291, allocations: 4.906 MB / 379.4 MB, free: 11.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.5291, allocations: 1.438 kB / 379.4 MB, free: 11.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.5291, allocations: 3.906 kB / 379.4 MB, free: 11.79 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.001098/0.5302, allocations: 0.5287 MB / 379.9 MB, free: 11.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.5303, allocations: 9.875 kB / 379.9 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.689e-05/0.5304, allocations: 59.14 kB / 380 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.859e-05/0.5305, allocations: 26.28 kB / 380 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.5308, allocations: 249.2 kB / 380.3 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.5309, allocations: 16.12 kB / 380.3 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.747e-05/0.5309, allocations: 15.34 kB / 380.3 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004845/0.5314, allocations: 179.7 kB / 380.5 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.5315, allocations: 5.219 kB / 380.5 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/0.5315, allocations: 6.531 kB / 380.5 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.5315, allocations: 8.75 kB / 380.5 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003865/0.5319, allocations: 134.4 kB / 380.6 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.5339, allocations: 0.8464 MB / 381.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004773/0.5344, allocations: 126.9 kB / 381.6 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.5346, allocations: 63.23 kB / 381.7 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.5346, allocations: 1.312 kB / 381.7 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002786/0.5349, allocations: 131 kB / 381.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 2.304e-06/0.5349, allocations: 0 / 381.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009288/0.5358, allocations: 200.2 kB / 382 MB, free: 10.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.5359, allocations: 81.66 kB / 382.1 MB, free: 10.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.5362, allocations: 203 kB / 382.3 MB, free: 10.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.5362, allocations: 27.58 kB / 382.3 MB, free: 10.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.797e-05/0.5363, allocations: 165.3 kB / 382.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.5364, allocations: 41.56 kB / 382.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.622e-05/0.5364, allocations: 1.781 kB / 382.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.902e-05/0.5365, allocations: 338.6 kB / 382.8 MB, free: 9.711 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.5367, allocations: 44.91 kB / 382.9 MB, free: 9.707 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.5368, allocations: 101.5 kB / 383 MB, free: 9.645 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.537, allocations: 83.94 kB / 383 MB, free: 9.605 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.537, allocations: 5.391 kB / 383 MB, free: 9.602 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0009703/0.538, allocations: 281.7 kB / 383.3 MB, free: 9.508 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.5381, allocations: 36.92 kB / 383.4 MB, free: 9.477 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.5381, allocations: 1.281 kB / 383.4 MB, free: 9.477 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006564/0.5388, allocations: 74.92 kB / 383.4 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/0.5392, allocations: 54.98 kB / 383.5 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/0.5407, allocations: 1.33 MB / 384.8 MB, free: 8.195 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004605/0.5411, allocations: 42.34 kB / 384.9 MB, free: 8.188 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.5412, allocations: 10.09 kB / 384.9 MB, free: 8.184 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.000105/0.5413, allocations: 127.7 kB / 385 MB, free: 8.066 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.5414, allocations: 20.44 kB / 385 MB, free: 8.055 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.692e-05/0.5414, allocations: 28.3 kB / 385 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.5415, allocations: 0 / 385 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.5415, allocations: 2.062 kB / 385 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.5415, allocations: 0 / 385 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.5418, allocations: 280.2 kB / 385.3 MB, free: 7.848 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5418, allocations: 0 / 385.3 MB, free: 7.848 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003453/0.5422, allocations: 41.34 kB / 385.4 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005964/0.5428, allocations: 77.58 kB / 385.4 MB, free: 7.832 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.5428, allocations: 2.859 kB / 385.4 MB, free: 7.832 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001547/0.5444, allocations: 1.335 MB / 386.8 MB, free: 22.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.5444, allocations: 3.938 kB / 386.8 MB, free: 22.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009804/0.5454, allocations: 285.8 kB / 387.1 MB, free: 22.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.276e-05/0.5455, allocations: 97.44 kB / 387.1 MB, free: 22.35 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.948e-05/0.5456, allocations: 4.625 kB / 387.2 MB, free: 22.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/0.5459, allocations: 26.73 kB / 387.2 MB, free: 22.35 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.546, allocations: 20.34 kB / 387.2 MB, free: 22.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.5461, allocations: 6.062 kB / 387.2 MB, free: 22.35 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002333/0.5463, allocations: 166.4 kB / 387.4 MB, free: 22.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5463, allocations: 4 kB / 387.4 MB, free: 22.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004384/0.5468, allocations: 62.34 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.001428/0.5482, allocations: 0.826 MB / 388.3 MB, free: 21.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006354/0.5489, allocations: 286.6 kB / 388.5 MB, free: 21.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5489, allocations: 1.219 kB / 388.5 MB, free: 21.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002861/0.5492, allocations: 165.5 kB / 388.7 MB, free: 21.35 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.5496, allocations: 35.7 kB / 388.7 MB, free: 21.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.5508, allocations: 370.6 kB / 389.1 MB, free: 21.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.5513, allocations: 0.7399 MB / 389.8 MB, free: 20.43 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.5515, allocations: 21.86 kB / 389.9 MB, free: 20.42 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.5516, allocations: 63.41 kB / 389.9 MB, free: 20.41 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5516, allocations: 0 / 389.9 MB, free: 20.41 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03743/0.5891, allocations: 4.698 MB / 394.6 MB, free: 19.93 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002641/0.5894, allocations: 191.1 kB / 394.8 MB, free: 19.7 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.608/3.197, allocations: 0 / 394.8 MB, free: 19.7 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