Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.058/2.058, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.622e-05/2.632e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2993, allocations: 44.5 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1319/0.4312, allocations: 72.34 MB / 366.6 MB, free: 9.504 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.4316, allocations: 83.94 kB / 366.7 MB, free: 9.422 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01485/0.4465, allocations: 3.538 MB / 370.2 MB, free: 5.871 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4465, allocations: 0 / 370.2 MB, free: 5.871 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.812e-05/0.4465, allocations: 8 kB / 370.2 MB, free: 5.863 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007811/0.4473, allocations: 482.5 kB / 370.7 MB, free: 5.348 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.4474, allocations: 12.03 kB / 370.7 MB, free: 5.336 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.106e-05/0.4475, allocations: 23.72 kB / 370.7 MB, free: 5.312 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.4479, allocations: 243.2 kB / 370.9 MB, free: 5.031 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.4479, allocations: 12 kB / 371 MB, free: 5.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/0.448, allocations: 12 kB / 371 MB, free: 5.008 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003978/0.4484, allocations: 136.9 kB / 371.1 MB, free: 4.875 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004329/0.4488, allocations: 162.4 kB / 371.3 MB, free: 4.707 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.4488, allocations: 0 / 371.3 MB, free: 4.707 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.4489, allocations: 0 / 371.3 MB, free: 4.707 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.4489, allocations: 4 kB / 371.3 MB, free: 4.703 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002006/0.4509, allocations: 0.8652 MB / 372.1 MB, free: 3.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005535/0.4515, allocations: 154.8 kB / 372.3 MB, free: 3.609 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.4518, allocations: 104.8 kB / 372.4 MB, free: 3.504 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.4519, allocations: 3.984 kB / 372.4 MB, free: 3.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.4519, allocations: 38.5 kB / 372.4 MB, free: 3.453 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 2.435e-06/0.4519, allocations: 0 / 372.4 MB, free: 3.453 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009443/0.4529, allocations: 204.6 kB / 372.6 MB, free: 3.246 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.4529, allocations: 51.41 kB / 372.7 MB, free: 3.184 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.4532, allocations: 173.6 kB / 372.8 MB, free: 3.008 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.4532, allocations: 25.7 kB / 372.9 MB, free: 2.977 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.4533, allocations: 167.7 kB / 373 MB, free: 2.809 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.794e-05/0.4534, allocations: 55.28 kB / 373.1 MB, free: 2.754 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.123e-05/0.4534, allocations: 0 / 373.1 MB, free: 2.754 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.4536, allocations: 326.8 kB / 373.4 MB, free: 2.426 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.4537, allocations: 40 kB / 373.4 MB, free: 2.387 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.4539, allocations: 89.94 kB / 373.5 MB, free: 2.277 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.454, allocations: 55.92 kB / 373.6 MB, free: 2.223 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.454, allocations: 0 / 373.6 MB, free: 2.223 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009952/0.455, allocations: 262.1 kB / 373.8 MB, free: 1.957 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.4551, allocations: 7.938 kB / 373.9 MB, free: 1.949 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4551, allocations: 4 kB / 373.9 MB, free: 1.945 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007632/0.4559, allocations: 100.8 kB / 374 MB, free: 1.844 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.4562, allocations: 39.92 kB / 374 MB, free: 1.805 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002517/0.4587, allocations: 1.595 MB / 375.6 MB, free: 96 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.4589, allocations: 15.78 kB / 375.6 MB, free: 80 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.459, allocations: 4 kB / 375.6 MB, free: 76 kB / 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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: 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002023/0.4592, allocations: 120.9 kB / 375.7 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008444/0.46, allocations: 210.1 kB / 375.9 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.4601, allocations: 19.8 kB / 376 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.243e-05/0.4602, allocations: 17.97 kB / 376 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.4602, allocations: 0 / 376 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.4602, allocations: 3.938 kB / 376 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4602, allocations: 0 / 376 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.4615, allocations: 0.528 MB / 376.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4616, allocations: 0 / 376.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.4618, allocations: 27.98 kB / 376.5 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007162/0.4625, allocations: 96.97 kB / 376.6 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.4625, allocations: 7.953 kB / 376.6 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002584/0.4651, allocations: 1.599 MB / 378.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.4652, allocations: 3.984 kB / 378.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.4662, allocations: 356.6 kB / 378.6 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.332e-05/0.4663, allocations: 92.86 kB / 378.7 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/0.4664, allocations: 8.047 kB / 378.7 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.4666, allocations: 8 kB / 378.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.4667, allocations: 15.94 kB / 378.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.4667, allocations: 4 kB / 378.7 MB, free: 12.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001869/0.4669, allocations: 144.3 kB / 378.9 MB, free: 12.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.845e-06/0.4669, allocations: 0 / 378.9 MB, free: 12.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006235/0.4676, allocations: 67.78 kB / 378.9 MB, free: 12.55 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 (10): * Single equations (assignments): 9 * 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: 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001479/0.4691, allocations: 0.8912 MB / 379.8 MB, free: 11.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005791/0.4697, allocations: 232.4 kB / 380 MB, free: 11.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4697, allocations: 0 / 380 MB, free: 11.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003319/0.47, allocations: 174 kB / 380.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.4704, allocations: 16.19 kB / 380.2 MB, free: 11.19 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.4729, allocations: 498.1 kB / 380.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.4733, allocations: 0.7518 MB / 381.5 MB, free: 9.898 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.4734, allocations: 17.84 kB / 381.5 MB, free: 9.883 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.4735, allocations: 67.36 kB / 381.5 MB, free: 9.816 MB / 330.7 MB Notification: Performance of SimCode: time 7.71e-07/0.4735, allocations: 0 / 381.5 MB, free: 9.816 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03919/0.5127, allocations: 3.64 MB / 385.2 MB, free: 6.188 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003219/0.5131, allocations: 149.5 kB / 385.3 MB, free: 5.992 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.447/2.96, allocations: 0 / 385.3 MB, free: 5.992 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat does not exist to compare? outputFormat=mat