Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 194.9 MB / 208.4 MB, free: 3.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.283e-05/3.295e-05, allocations: 4 kB / 255.4 MB, free: 3.094 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09013/0.09019, allocations: 44.51 MB / 299.9 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4822/0.5724, allocations: 72.99 MB / 372.9 MB, free: 12.53 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/0.5728, allocations: 77.31 kB / 373 MB, free: 12.53 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01615/0.5889, allocations: 3.59 MB / 376.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.589, allocations: 1 kB / 376.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.072e-05/0.589, allocations: 4.344 kB / 376.6 MB, free: 11.95 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.0008247/0.5898, allocations: 479.8 kB / 377.1 MB, free: 11.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.5899, allocations: 14.72 kB / 377.1 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.784e-05/0.59, allocations: 55.42 kB / 377.1 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.757e-05/0.5901, allocations: 25.67 kB / 377.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.5905, allocations: 245.6 kB / 377.4 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.5906, allocations: 15.91 kB / 377.4 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.712e-05/0.5906, allocations: 21.38 kB / 377.4 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005247/0.5912, allocations: 191.2 kB / 377.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.5912, allocations: 0 / 377.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.5912, allocations: 7.781 kB / 377.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.5913, allocations: 5.609 kB / 377.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004111/0.5917, allocations: 152.9 kB / 377.8 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002264/0.594, allocations: 0.9137 MB / 378.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005995/0.5946, allocations: 166.4 kB / 378.9 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.595, allocations: 104.1 kB / 379 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.595, allocations: 1.281 kB / 379 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.5951, allocations: 38.53 kB / 379 MB, free: 10.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 2.885e-06/0.5951, allocations: 4 kB / 379 MB, free: 10.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.001069/0.5962, allocations: 217.5 kB / 379.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.5962, allocations: 59.95 kB / 379.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.5966, allocations: 189.4 kB / 379.5 MB, free: 10.42 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.5966, allocations: 28.27 kB / 379.5 MB, free: 10.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.284e-05/0.5967, allocations: 228.9 kB / 379.7 MB, free: 10.2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/0.5968, allocations: 46.11 kB / 379.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.275e-05/0.5968, allocations: 3.688 kB / 379.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.398e-05/0.5969, allocations: 319.8 kB / 380.1 MB, free: 9.863 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.597, allocations: 46.06 kB / 380.1 MB, free: 9.859 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.5972, allocations: 98.61 kB / 380.2 MB, free: 9.797 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.5974, allocations: 60.94 kB / 380.3 MB, free: 9.793 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5974, allocations: 0 / 380.3 MB, free: 9.793 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00111/0.5985, allocations: 272.1 kB / 380.6 MB, free: 9.727 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.5986, allocations: 6.406 kB / 380.6 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.5986, allocations: 2.297 kB / 380.6 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008435/0.5995, allocations: 105.3 kB / 380.7 MB, free: 9.715 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.5998, allocations: 39.28 kB / 380.7 MB, free: 9.711 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/0.6026, allocations: 1.668 MB / 382.4 MB, free: 8.344 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.6029, allocations: 25.31 kB / 382.4 MB, free: 8.328 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.6029, allocations: 10.06 kB / 382.4 MB, free: 8.328 MB / 314.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.0001016/0.6031, allocations: 121 kB / 382.5 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.37e-05/0.6031, allocations: 17.59 kB / 382.5 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.744e-05/0.6032, allocations: 22.34 kB / 382.6 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.6032, allocations: 1.188 kB / 382.6 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.6032, allocations: 1.094 kB / 382.6 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.6033, allocations: 9.531 kB / 382.6 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.6047, allocations: 0.5704 MB / 383.1 MB, free: 7.871 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.6048, allocations: 1.266 kB / 383.1 MB, free: 7.871 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.605, allocations: 32.03 kB / 383.2 MB, free: 7.859 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007703/0.6058, allocations: 101.3 kB / 383.3 MB, free: 7.848 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.6059, allocations: 3.438 kB / 383.3 MB, free: 7.848 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002611/0.6085, allocations: 1.666 MB / 384.9 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.6085, allocations: 0 / 384.9 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.6099, allocations: 374.6 kB / 385.3 MB, free: 22.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.6101, allocations: 94.94 kB / 385.4 MB, free: 22.22 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.6102, allocations: 2.438 kB / 385.4 MB, free: 22.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002814/0.6105, allocations: 19.58 kB / 385.4 MB, free: 22.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.6106, allocations: 9.203 kB / 385.4 MB, free: 22.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.6106, allocations: 3.594 kB / 385.4 MB, free: 22.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002334/0.6108, allocations: 157.9 kB / 385.6 MB, free: 22.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6108, allocations: 0 / 385.6 MB, free: 22.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006247/0.6115, allocations: 72.41 kB / 385.7 MB, free: 22.12 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.001592/0.6131, allocations: 0.919 MB / 386.6 MB, free: 21.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000745/0.6139, allocations: 252.2 kB / 386.8 MB, free: 21.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6139, allocations: 0 / 386.8 MB, free: 21.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003687/0.6143, allocations: 179 kB / 387 MB, free: 21.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.6147, allocations: 34.22 kB / 387 MB, free: 21.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.6176, allocations: 0.5299 MB / 387.6 MB, free: 20.92 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.618, allocations: 0.7528 MB / 388.3 MB, free: 20.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.6181, allocations: 72 kB / 388.4 MB, free: 20.2 MB / 330.7 MB Notification: Performance of SimCode: time 1.583e-06/0.6182, allocations: 1.062 kB / 388.4 MB, free: 20.2 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.519/3.137, allocations: 4.122 MB / 392.5 MB, free: 19.97 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat does not exist to compare? outputFormat=mat