Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_Ideal_IdealTwoWaySwitches",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.466/2.466, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.874e-05/4.855e-05, allocations: 0 / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.141, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5373/0.6784, allocations: 88.62 MB / 499 MB, free: 15.35 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/0.6787, allocations: 75.95 kB / 499.1 MB, free: 15.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02084/0.6996, allocations: 4.742 MB / 0.492 GB, free: 10.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.6997, allocations: 0 / 0.492 GB, free: 10.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.33e-05/0.6997, allocations: 12 kB / 0.492 GB, free: 10.51 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001255/0.701, allocations: 0.5645 MB / 0.4926 GB, free: 9.902 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.701, allocations: 8.031 kB / 0.4926 GB, free: 9.895 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.941e-05/0.7011, allocations: 62.53 kB / 0.4926 GB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.7013, allocations: 35.62 kB / 0.4927 GB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.7017, allocations: 254.8 kB / 0.4929 GB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/0.7018, allocations: 24.52 kB / 0.4929 GB, free: 9.477 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.409e-05/0.7018, allocations: 30.84 kB / 0.493 GB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007511/0.7026, allocations: 291.5 kB / 0.4932 GB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.7026, allocations: 3.938 kB / 0.4932 GB, free: 9.148 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.802e-05/0.7027, allocations: 12 kB / 0.4933 GB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.7027, allocations: 4 kB / 0.4933 GB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006176/0.7033, allocations: 201.1 kB / 0.4934 GB, free: 8.934 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00355/0.7069, allocations: 1.292 MB / 0.4947 GB, free: 7.562 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009647/0.7079, allocations: 441.2 kB / 0.4951 GB, free: 7.086 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003638/0.7083, allocations: 145.3 kB / 0.4953 GB, free: 6.941 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.7083, allocations: 4.234 kB / 0.4953 GB, free: 6.938 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.7084, allocations: 30.8 kB / 0.4953 GB, free: 6.898 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 3.276e-06/0.7084, allocations: 7.938 kB / 0.4953 GB, free: 6.891 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.001609/0.71, allocations: 408.5 kB / 0.4957 GB, free: 6.484 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.7101, allocations: 59.23 kB / 0.4958 GB, free: 6.418 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.7104, allocations: 213.1 kB / 0.496 GB, free: 6.203 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.998e-05/0.7105, allocations: 33.7 kB / 0.496 GB, free: 6.164 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.7107, allocations: 172.1 kB / 0.4962 GB, free: 5.992 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.7108, allocations: 94.64 kB / 0.4962 GB, free: 5.898 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.7108, allocations: 4 kB / 0.4963 GB, free: 5.895 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.711, allocations: 330.8 kB / 0.4966 GB, free: 5.562 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.7112, allocations: 76.56 kB / 0.4966 GB, free: 5.484 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/0.7115, allocations: 107.4 kB / 0.4967 GB, free: 5.371 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.7118, allocations: 87.97 kB / 0.4968 GB, free: 5.285 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.7118, allocations: 0 / 0.4968 GB, free: 5.285 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001577/0.7134, allocations: 438.7 kB / 0.4972 GB, free: 4.844 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.7134, allocations: 4 kB / 0.4972 GB, free: 4.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.7135, allocations: 0 / 0.4972 GB, free: 4.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/0.715, allocations: 241.5 kB / 0.4975 GB, free: 4.598 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.7152, allocations: 23.98 kB / 0.4975 GB, free: 4.574 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005004/0.7203, allocations: 3.258 MB / 0.5007 GB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/0.7207, allocations: 31.73 kB / 0.5007 GB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.7208, allocations: 8 kB / 0.5007 GB, free: 1.008 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (booleanStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * 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: 2 {(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001617/0.7209, allocations: 129 kB / 0.5008 GB, free: 0.875 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-05/0.721, allocations: 31.61 kB / 0.5009 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.475e-05/0.7211, allocations: 38.81 kB / 0.5009 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.7211, allocations: 0 / 0.5009 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.7212, allocations: 4 kB / 0.5009 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.7212, allocations: 3.984 kB / 0.5009 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/0.7236, allocations: 0.851 MB / 0.5017 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.7236, allocations: 0 / 0.5017 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.7238, allocations: 16 kB / 0.5018 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001393/0.7252, allocations: 233.5 kB / 0.502 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.7252, allocations: 7.938 kB / 0.502 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00478/0.73, allocations: 3.27 MB / 0.5052 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.73, allocations: 0 / 0.5052 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.7316, allocations: 0.5114 MB / 0.5057 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/0.7318, allocations: 120.7 kB / 0.5058 GB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.457e-05/0.7319, allocations: 8 kB / 0.5058 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004413/0.7323, allocations: 35.92 kB / 0.5058 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.7324, allocations: 27.95 kB / 0.5059 GB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.7325, allocations: 12 kB / 0.5059 GB, free: 11.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002481/0.7328, allocations: 169.4 kB / 0.506 GB, free: 11.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.7328, allocations: 0 / 0.506 GB, free: 11.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006562/0.7334, allocations: 107.8 kB / 0.5061 GB, free: 11.07 MB / 426.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: 1 (booleanStep.y) * 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: 2 {(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00182/0.7353, allocations: 1.04 MB / 0.5072 GB, free: 9.996 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.7365, allocations: 499.6 kB / 0.5076 GB, free: 9.488 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7365, allocations: 0 / 0.5076 GB, free: 9.488 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008436/0.7374, allocations: 399.3 kB / 0.508 GB, free: 9.078 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.7379, allocations: 40.83 kB / 0.5081 GB, free: 9.039 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.7391, allocations: 397.1 kB / 0.5084 GB, free: 8.617 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.7395, allocations: 0.7718 MB / 0.5092 GB, free: 7.816 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001523/0.7397, allocations: 22.08 kB / 0.5092 GB, free: 7.797 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.7398, allocations: 75.41 kB / 0.5093 GB, free: 7.723 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/0.7398, allocations: 0 / 0.5093 GB, free: 7.723 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03542/0.7753, allocations: 6.414 MB / 0.5155 GB, free: 1.414 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003021/0.7756, allocations: 188.2 kB / 0.5157 GB, free: 1.191 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.523/3.299, allocations: 3.938 kB / 0.5157 GB, free: 1.188 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches_res.mat does not exist to compare? outputFormat=mat