Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.252/2.252, allocations: 225.8 MB / 239.3 MB, free: 1.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.323e-05/4.326e-05, allocations: 4 kB / 292.8 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1137, allocations: 50.41 MB / 343.2 MB, free: 8.969 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5253/0.639, allocations: 78.85 MB / 422 MB, free: 7.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.6393, allocations: 76.23 kB / 422.1 MB, free: 7.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01672/0.6561, allocations: 4.218 MB / 426.3 MB, free: 7.289 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6561, allocations: 3.844 kB / 426.3 MB, free: 7.289 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.156e-05/0.6562, allocations: 7.906 kB / 426.3 MB, free: 7.285 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008688/0.657, allocations: 0.4909 MB / 426.8 MB, free: 6.883 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.6571, allocations: 7.625 kB / 426.8 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.187e-05/0.6572, allocations: 60.16 kB / 426.9 MB, free: 6.844 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.411e-05/0.6573, allocations: 31.09 kB / 426.9 MB, free: 6.828 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.6576, allocations: 245.1 kB / 427.1 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.6577, allocations: 19.62 kB / 427.2 MB, free: 6.605 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.6577, allocations: 21.59 kB / 427.2 MB, free: 6.605 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004613/0.6582, allocations: 197 kB / 427.4 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.6582, allocations: 352 / 427.4 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.6583, allocations: 16.55 kB / 427.4 MB, free: 6.566 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.6583, allocations: 3.906 kB / 427.4 MB, free: 6.566 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00038/0.6587, allocations: 152.5 kB / 427.5 MB, free: 6.559 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002217/0.6609, allocations: 0.9672 MB / 428.5 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005636/0.6615, allocations: 168.2 kB / 428.7 MB, free: 6.031 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.6618, allocations: 105.7 kB / 428.8 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.6619, allocations: 3.688 kB / 428.8 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.6619, allocations: 38.06 kB / 428.8 MB, free: 5.969 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 4.187e-06/0.6619, allocations: 0 / 428.8 MB, free: 5.969 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.000902/0.6628, allocations: 234.3 kB / 429 MB, free: 5.879 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.6629, allocations: 55.09 kB / 429.1 MB, free: 5.816 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.6632, allocations: 201.7 kB / 429.3 MB, free: 5.707 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.6632, allocations: 25.7 kB / 429.3 MB, free: 5.676 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.438e-05/0.6633, allocations: 171.5 kB / 429.5 MB, free: 5.539 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.672e-05/0.6633, allocations: 53.88 kB / 429.5 MB, free: 5.504 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.426e-05/0.6634, allocations: 3.625 kB / 429.5 MB, free: 5.504 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.964e-05/0.6634, allocations: 332.4 kB / 429.9 MB, free: 5.184 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.6636, allocations: 50.84 kB / 429.9 MB, free: 5.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.6637, allocations: 93.02 kB / 430 MB, free: 5.117 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.6639, allocations: 63.39 kB / 430.1 MB, free: 5.105 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6639, allocations: 0 / 430.1 MB, free: 5.105 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009493/0.6649, allocations: 287.9 kB / 430.4 MB, free: 5.012 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.665, allocations: 0.6185 MB / 431 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.665, allocations: 11.84 kB / 431 MB, free: 4.355 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003131/0.6654, allocations: 49.17 kB / 431 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.6657, allocations: 38.61 kB / 431.1 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.667, allocations: 0.658 MB / 431.7 MB, free: 19.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.6673, allocations: 34.67 kB / 431.8 MB, free: 19.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.6674, allocations: 8.469 kB / 431.8 MB, free: 19.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.6674, allocations: 3.875 kB / 431.8 MB, free: 19.77 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003963/0.6678, allocations: 160.4 kB / 431.9 MB, free: 19.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6678, allocations: 3.984 kB / 431.9 MB, free: 19.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001013/0.6679, allocations: 23.95 kB / 432 MB, free: 19.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.6682, allocations: 50.09 kB / 432 MB, free: 19.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.6694, allocations: 1.302 MB / 433.3 MB, free: 18.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.6696, allocations: 18.34 kB / 433.3 MB, free: 18.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.6696, allocations: 3.844 kB / 433.3 MB, free: 18.4 MB / 346.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: 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.0001343/0.6698, allocations: 119.8 kB / 433.4 MB, free: 18.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.105e-05/0.6699, allocations: 19.47 kB / 433.5 MB, free: 18.28 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.852e-05/0.6699, allocations: 23.58 kB / 433.5 MB, free: 18.26 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.6699, allocations: 7.812 kB / 433.5 MB, free: 18.26 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.67, allocations: 0 / 433.5 MB, free: 18.26 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.67, allocations: 0 / 433.5 MB, free: 18.26 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.6713, allocations: 0.5967 MB / 434.1 MB, free: 17.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.6713, allocations: 64 / 434.1 MB, free: 17.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.6715, allocations: 30.92 kB / 434.1 MB, free: 17.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000217/0.6718, allocations: 52.72 kB / 434.2 MB, free: 17.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.6718, allocations: 3.25 kB / 434.2 MB, free: 17.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003034/0.6748, allocations: 1.765 MB / 435.9 MB, free: 16.37 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.6749, allocations: 3.984 kB / 435.9 MB, free: 16.37 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.6759, allocations: 375.1 kB / 436.3 MB, free: 16.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.676, allocations: 111.3 kB / 436.4 MB, free: 16.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.6761, allocations: 0 / 436.4 MB, free: 16.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/0.6764, allocations: 26.22 kB / 436.4 MB, free: 16.06 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.6765, allocations: 15.58 kB / 436.5 MB, free: 16.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.6765, allocations: 10.94 kB / 436.5 MB, free: 16.05 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002011/0.6767, allocations: 157.4 kB / 436.6 MB, free: 15.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6767, allocations: 0 / 436.6 MB, free: 15.96 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007035/0.6775, allocations: 114.6 kB / 436.7 MB, free: 15.95 MB / 346.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.001368/0.6788, allocations: 0.9363 MB / 437.7 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.6802, allocations: 405.7 kB / 438.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.6803, allocations: 0 / 438.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008727/0.6811, allocations: 257.5 kB / 438.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.6816, allocations: 36.17 kB / 438.4 MB, free: 14.9 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004788/0.6864, allocations: 0.7213 MB / 439.1 MB, free: 14.56 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.6869, allocations: 0.7545 MB / 439.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002389/0.6871, allocations: 29.12 kB / 439.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.6872, allocations: 74.19 kB / 439.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of SimCode: time 1.232e-06/0.6873, allocations: 0 / 439.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.7141, allocations: 4.805 MB / 444.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/0.7143, allocations: 185.4 kB / 444.9 MB, free: 11.25 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.53/3.245, allocations: 3.938 kB / 444.9 MB, free: 11.24 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat does not exist to compare? outputFormat=mat