Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.027/2.027, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.614e-05/2.614e-05, allocations: 4 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3022, allocations: 44.5 MB / 294.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.4322, allocations: 72.47 MB / 366.7 MB, free: 9.422 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.4326, allocations: 79.95 kB / 366.8 MB, free: 9.344 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0175/0.4501, allocations: 4.273 MB / 371 MB, free: 5.059 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4501, allocations: 0 / 371 MB, free: 5.059 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.16e-05/0.4502, allocations: 8 kB / 371 MB, free: 5.051 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0008989/0.4511, allocations: 0.515 MB / 371.6 MB, free: 4.492 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.4511, allocations: 11.97 kB / 371.6 MB, free: 4.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.328e-05/0.4512, allocations: 35.62 kB / 371.6 MB, free: 4.445 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.4517, allocations: 260.1 kB / 371.9 MB, free: 4.152 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.4517, allocations: 12 kB / 371.9 MB, free: 4.141 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.364e-05/0.4518, allocations: 20 kB / 371.9 MB, free: 4.121 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005363/0.4523, allocations: 189.4 kB / 372.1 MB, free: 3.934 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005567/0.4529, allocations: 206.2 kB / 372.3 MB, free: 3.727 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.4529, allocations: 4 kB / 372.3 MB, free: 3.723 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.453, allocations: 0 / 372.3 MB, free: 3.723 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.453, allocations: 4 kB / 372.3 MB, free: 3.719 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/0.4555, allocations: 1.059 MB / 373.3 MB, free: 2.578 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006293/0.4562, allocations: 194 kB / 373.5 MB, free: 2.383 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004509/0.4566, allocations: 129.2 kB / 373.7 MB, free: 2.254 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.4567, allocations: 7.938 kB / 373.7 MB, free: 2.246 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.4567, allocations: 38.56 kB / 373.7 MB, free: 2.199 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 2.695e-06/0.4567, allocations: 0 / 373.7 MB, free: 2.199 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.001534/0.4583, allocations: 294.9 kB / 374 MB, free: 1.898 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.4583, allocations: 55.41 kB / 374.1 MB, free: 1.832 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.4586, allocations: 203.9 kB / 374.2 MB, free: 1.629 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.4587, allocations: 29.7 kB / 374.3 MB, free: 1.594 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.4588, allocations: 261.9 kB / 374.5 MB, free: 1.336 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.263e-05/0.4589, allocations: 63.11 kB / 374.6 MB, free: 1.273 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.44e-05/0.4589, allocations: 0 / 374.6 MB, free: 1.273 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4591, allocations: 322.8 kB / 374.9 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.4593, allocations: 48 kB / 375 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.4595, allocations: 147 kB / 375.1 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.4597, allocations: 71.97 kB / 375.2 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4597, allocations: 3.938 kB / 375.2 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001598/0.4613, allocations: 378.9 kB / 375.5 MB, free: 268 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.4614, allocations: 4 kB / 375.5 MB, free: 264 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.4614, allocations: 11.92 kB / 375.6 MB, free: 252 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/0.4628, allocations: 177.6 kB / 375.7 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.4632, allocations: 51.92 kB / 375.8 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004321/0.4675, allocations: 2.902 MB / 378.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.4678, allocations: 27.64 kB / 378.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.4679, allocations: 16 kB / 378.7 MB, free: 12.84 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.468, allocations: 112.6 kB / 378.8 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001417/0.4694, allocations: 306.8 kB / 379.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/0.4695, allocations: 19.81 kB / 379.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.204e-05/0.4696, allocations: 25.94 kB / 379.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-06/0.4696, allocations: 4 kB / 379.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.4696, allocations: 0 / 379.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4696, allocations: 0 / 379.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.4716, allocations: 0.6475 MB / 379.8 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.4716, allocations: 3.953 kB / 379.8 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.4719, allocations: 27.92 kB / 379.9 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001286/0.4732, allocations: 173.6 kB / 380 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.4732, allocations: 0 / 380 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004185/0.4774, allocations: 2.894 MB / 382.9 MB, free: 8.332 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.4774, allocations: 0 / 382.9 MB, free: 8.332 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.4791, allocations: 468.7 kB / 383.4 MB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.302e-05/0.4792, allocations: 96.88 kB / 383.5 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.4793, allocations: 0 / 383.5 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.4795, allocations: 15.98 kB / 383.5 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.4796, allocations: 15.92 kB / 383.5 MB, free: 7.707 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.4796, allocations: 8.25 kB / 383.5 MB, free: 7.699 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002058/0.4799, allocations: 160.5 kB / 383.7 MB, free: 7.539 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4799, allocations: 0 / 383.7 MB, free: 7.539 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006752/0.4805, allocations: 83.69 kB / 383.8 MB, free: 7.457 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001966/0.4825, allocations: 0.9954 MB / 384.8 MB, free: 6.434 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008073/0.4834, allocations: 380 kB / 385.1 MB, free: 6.043 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.4834, allocations: 4.125 kB / 385.1 MB, free: 6.039 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004826/0.4839, allocations: 291.4 kB / 385.4 MB, free: 5.734 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.4842, allocations: 28.66 kB / 385.4 MB, free: 5.703 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.4856, allocations: 441.7 kB / 385.9 MB, free: 5.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005233/0.4862, allocations: 0.7718 MB / 386.6 MB, free: 4.434 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.4863, allocations: 75.42 kB / 386.7 MB, free: 4.359 MB / 330.7 MB Notification: Performance of SimCode: time 7.42e-07/0.4864, allocations: 3.938 kB / 386.7 MB, free: 4.355 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.519/3.005, allocations: 6.07 MB / 392.8 MB, free: 14.28 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat does not exist to compare? outputFormat=mat