Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.456/2.456, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.114e-05/4.126e-05, allocations: 4 kB / 249.8 MB, free: 14.76 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3702, allocations: 44.5 MB / 294.3 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1485/0.5187, allocations: 72.48 MB / 366.8 MB, free: 9.336 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/0.5191, allocations: 75.95 kB / 366.9 MB, free: 9.262 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02082/0.5399, allocations: 4.281 MB / 371.1 MB, free: 4.969 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.54, allocations: 0 / 371.1 MB, free: 4.969 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.648e-05/0.54, allocations: 8 kB / 371.1 MB, free: 4.961 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.0009791/0.541, allocations: 0.5111 MB / 371.7 MB, free: 4.406 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.541, allocations: 8.031 kB / 371.7 MB, free: 4.398 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.5412, allocations: 31.62 kB / 371.7 MB, free: 4.367 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.5417, allocations: 268 kB / 372 MB, free: 4.066 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.5417, allocations: 12 kB / 372 MB, free: 4.055 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.989e-05/0.5418, allocations: 16 kB / 372 MB, free: 4.039 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005993/0.5424, allocations: 181.5 kB / 372.2 MB, free: 3.859 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006643/0.5431, allocations: 218.1 kB / 372.4 MB, free: 3.641 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.5431, allocations: 0 / 372.4 MB, free: 3.641 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/0.5432, allocations: 4 kB / 372.4 MB, free: 3.637 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.5432, allocations: 8 kB / 372.4 MB, free: 3.629 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002939/0.5461, allocations: 1.055 MB / 373.4 MB, free: 2.492 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007414/0.5469, allocations: 186.8 kB / 373.6 MB, free: 2.301 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000508/0.5474, allocations: 133.2 kB / 373.8 MB, free: 2.168 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.361e-05/0.5475, allocations: 11.94 kB / 373.8 MB, free: 2.156 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.5475, allocations: 30.56 kB / 373.8 MB, free: 2.117 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 3.046e-06/0.5475, allocations: 3.938 kB / 373.8 MB, free: 2.113 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.001724/0.5493, allocations: 294.9 kB / 374.1 MB, free: 1.812 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.5493, allocations: 51.41 kB / 374.1 MB, free: 1.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.5497, allocations: 203.9 kB / 374.3 MB, free: 1.547 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.5497, allocations: 25.7 kB / 374.4 MB, free: 1.516 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.5499, allocations: 211.5 kB / 374.6 MB, free: 1.305 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.6e-05/0.55, allocations: 59.11 kB / 374.6 MB, free: 1.246 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.665e-05/0.5501, allocations: 0 / 374.6 MB, free: 1.246 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.5503, allocations: 334.8 kB / 375 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.5504, allocations: 52 kB / 375 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.5507, allocations: 139 kB / 375.1 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.551, allocations: 75.91 kB / 375.2 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.551, allocations: 0 / 375.2 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00189/0.5529, allocations: 385.3 kB / 375.6 MB, free: 228 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/0.553, allocations: 8 kB / 375.6 MB, free: 220 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.553, allocations: 4 kB / 375.6 MB, free: 216 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002337/0.5554, allocations: 181.5 kB / 375.8 MB, free: 28 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006454/0.5561, allocations: 51.95 kB / 375.8 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007672/0.5638, allocations: 2.902 MB / 378.7 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005558/0.5644, allocations: 31.7 kB / 378.8 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.5645, allocations: 8 kB / 378.8 MB, free: 12.8 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.0002128/0.5647, allocations: 120.6 kB / 378.9 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002391/0.5671, allocations: 302.1 kB / 379.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.5673, allocations: 23.72 kB / 379.2 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.5674, allocations: 25.95 kB / 379.2 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.5674, allocations: 4 kB / 379.2 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5674, allocations: 7.875 kB / 379.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.5675, allocations: 3.984 kB / 379.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.5698, allocations: 0.6409 MB / 379.9 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.5698, allocations: 0 / 379.9 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.5701, allocations: 27.94 kB / 379.9 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001536/0.5717, allocations: 177.7 kB / 380.1 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.5717, allocations: 8 kB / 380.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004939/0.5767, allocations: 2.883 MB / 383 MB, free: 8.289 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.5768, allocations: 4.062 kB / 383 MB, free: 8.285 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.5787, allocations: 456.9 kB / 383.4 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.5788, allocations: 108.8 kB / 383.5 MB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.722e-05/0.5789, allocations: 8 kB / 383.5 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.5792, allocations: 11.98 kB / 383.6 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.631e-05/0.5793, allocations: 15.98 kB / 383.6 MB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.5793, allocations: 4 kB / 383.6 MB, free: 7.652 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002439/0.5796, allocations: 156.5 kB / 383.7 MB, free: 7.496 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.5796, allocations: 0 / 383.7 MB, free: 7.496 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008419/0.5805, allocations: 83.78 kB / 383.8 MB, free: 7.414 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.002333/0.5828, allocations: 1.003 MB / 384.8 MB, free: 6.383 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009886/0.5838, allocations: 379.3 kB / 385.2 MB, free: 5.992 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5839, allocations: 0 / 385.2 MB, free: 5.992 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005693/0.5844, allocations: 292.3 kB / 385.5 MB, free: 5.688 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.5849, allocations: 23 kB / 385.5 MB, free: 5.664 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.5864, allocations: 411.9 kB / 385.9 MB, free: 5.227 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.587, allocations: 0.7757 MB / 386.7 MB, free: 4.426 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001846/0.5872, allocations: 22.06 kB / 386.7 MB, free: 4.406 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.5874, allocations: 79.41 kB / 386.8 MB, free: 4.328 MB / 330.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5874, allocations: 0 / 386.8 MB, free: 4.328 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05425/0.6416, allocations: 4.698 MB / 391.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003367/0.642, allocations: 152.4 kB / 391.6 MB, free: 15.45 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.028/3.67, allocations: 0 / 391.6 MB, free: 15.45 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat does not exist to compare? outputFormat=mat