Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmp",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.41/2.41, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.856e-05/2.879e-05, allocations: 3.375 kB / 249.8 MB, free: 5.277 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1006, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5335/0.6342, allocations: 73.65 MB / 368 MB, free: 7.238 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003849/0.6346, allocations: 82.08 kB / 368 MB, free: 7.234 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03676/0.6714, allocations: 5.046 MB / 373.1 MB, free: 22.6 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.6715, allocations: 0 / 373.1 MB, free: 22.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.993e-05/0.6715, allocations: 3.844 kB / 373.1 MB, free: 22.6 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001958/0.6735, allocations: 0.5405 MB / 373.6 MB, free: 22.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.963e-05/0.6736, allocations: 11.62 kB / 373.6 MB, free: 22.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.6738, allocations: 31.16 kB / 373.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006068/0.6744, allocations: 263.5 kB / 373.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.6745, allocations: 7.688 kB / 373.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.019e-05/0.6746, allocations: 15.44 kB / 373.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007237/0.6753, allocations: 136 kB / 374.1 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007098/0.6761, allocations: 158.2 kB / 374.2 MB, free: 21.87 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.6761, allocations: 4 kB / 374.2 MB, free: 21.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.879e-05/0.6762, allocations: 2.719 kB / 374.2 MB, free: 21.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.6762, allocations: 7.75 kB / 374.2 MB, free: 21.87 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003513/0.6797, allocations: 0.8368 MB / 375.1 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006162/0.6804, allocations: 126.6 kB / 375.2 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.6807, allocations: 53.89 kB / 375.3 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.756e-05/0.6807, allocations: 0 / 375.3 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004331/0.6812, allocations: 128.2 kB / 375.4 MB, free: 21.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.416e-06/0.6812, allocations: 0 / 375.4 MB, free: 21.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001548/0.6828, allocations: 213.3 kB / 375.6 MB, free: 21.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.6829, allocations: 110.2 kB / 375.7 MB, free: 21.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004909/0.6834, allocations: 202.5 kB / 375.9 MB, free: 21.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.974e-05/0.6835, allocations: 33.48 kB / 375.9 MB, free: 21.01 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.6837, allocations: 170 kB / 376.1 MB, free: 20.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.522e-05/0.6838, allocations: 42.89 kB / 376.1 MB, free: 20.86 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.6838, allocations: 0 / 376.1 MB, free: 20.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.684, allocations: 333.1 kB / 376.5 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.6843, allocations: 47.67 kB / 376.5 MB, free: 20.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.6846, allocations: 114 kB / 376.6 MB, free: 20.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.6849, allocations: 53.45 kB / 376.7 MB, free: 20.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.6849, allocations: 0 / 376.7 MB, free: 20.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001733/0.6866, allocations: 264.5 kB / 376.9 MB, free: 20.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.683e-05/0.6868, allocations: 33.45 kB / 377 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.6868, allocations: 1.594 kB / 377 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.688, allocations: 105.8 kB / 377.1 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005512/0.6886, allocations: 43.25 kB / 377.1 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003229/0.6918, allocations: 1.419 MB / 378.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008097/0.6927, allocations: 43.8 kB / 378.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.572e-05/0.6928, allocations: 7.812 kB / 378.6 MB, free: 19.11 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real 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 (18): * Single equations (assignments): 16 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002763/0.693, allocations: 122.9 kB / 378.7 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001351/0.6944, allocations: 209.2 kB / 378.9 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.059e-05/0.6945, allocations: 18.7 kB / 378.9 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.6946, allocations: 24.53 kB / 378.9 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.6947, allocations: 7.219 kB / 379 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.6947, allocations: 4 kB / 379 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.6947, allocations: 0 / 379 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005153/0.6952, allocations: 256 kB / 379.2 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.6953, allocations: 0 / 379.2 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/0.6957, allocations: 25.66 kB / 379.2 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001061/0.6968, allocations: 91.84 kB / 379.3 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.6968, allocations: 2.672 kB / 379.3 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003097/0.6999, allocations: 1.42 MB / 380.7 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.7, allocations: 0 / 380.7 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.7014, allocations: 239.1 kB / 381 MB, free: 17.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.7016, allocations: 103.4 kB / 381.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.7017, allocations: 0 / 381.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006121/0.7023, allocations: 32.88 kB / 381.1 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.7025, allocations: 21.81 kB / 381.1 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.7026, allocations: 10.59 kB / 381.1 MB, free: 17.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003465/0.7029, allocations: 161.8 kB / 381.3 MB, free: 17.22 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.32e-07/0.703, allocations: 0 / 381.3 MB, free: 17.22 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008829/0.7039, allocations: 66 kB / 381.4 MB, free: 17.21 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001911/0.7058, allocations: 0.7825 MB / 382.1 MB, free: 16.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009675/0.7068, allocations: 290.1 kB / 382.4 MB, free: 16.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.7068, allocations: 0 / 382.4 MB, free: 16.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004812/0.7073, allocations: 176.3 kB / 382.6 MB, free: 16.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005491/0.7079, allocations: 30.59 kB / 382.6 MB, free: 16.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.7096, allocations: 296.1 kB / 382.9 MB, free: 16.13 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000617/0.7102, allocations: 0.7459 MB / 383.7 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003188/0.7106, allocations: 24.2 kB / 383.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/0.7108, allocations: 66.59 kB / 383.8 MB, free: 15.42 MB / 314.7 MB Notification: Performance of SimCode: time 1.522e-06/0.7109, allocations: 0 / 383.8 MB, free: 15.42 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05857/0.7695, allocations: 4.497 MB / 388.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002889/0.7698, allocations: 152.8 kB / 388.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.117/3.886, allocations: 0 / 388.4 MB, free: 13.27 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp_res.mat does not exist to compare? outputFormat=mat